API: Cleanup APIs interface.api
Use of consistent API types for interface.api Change-Id: Ieb54cebb4ac96b432a3f0b41596718aa2f34885b Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
This commit is contained in:

committed by
Ole Trøan

parent
4ba4edd150
commit
e63325e3ca
@ -81,7 +81,7 @@ class TestLoopbackInterfaceCRUD(VppTestCase):
|
||||
# create
|
||||
loopbacks = self.create_loopback_interfaces(20)
|
||||
for i in loopbacks:
|
||||
i.local_ip4_prefix_len = 32
|
||||
i.local_ip4_prefix.len = 32
|
||||
i.config_ip4()
|
||||
i.admin_up()
|
||||
|
||||
@ -123,7 +123,7 @@ class TestLoopbackInterfaceCRUD(VppTestCase):
|
||||
# create
|
||||
loopbacks = self.create_loopback_interfaces(20)
|
||||
for i in loopbacks:
|
||||
i.local_ip4_prefix_len = 32
|
||||
i.local_ip4_prefix.len = 32
|
||||
i.config_ip4()
|
||||
i.admin_up()
|
||||
|
||||
|
Reference in New Issue
Block a user