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

committed by
Ole Trøan

parent
df36f4963f
commit
053204ab03
@ -85,7 +85,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()
|
||||
|
||||
@ -127,7 +127,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