aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_bond.py
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-03-05 16:58:24 +0100
committerOle Troan <ot@cisco.com>2019-03-06 21:13:05 +0100
commit9a475373ed9b1ff9952acc06353ddaa50c2c96bd (patch)
tree6fb046cc31165335863646cba0f4b453d4538b10 /test/test_bond.py
parentfb6c75293cb82501f80975c6a46365ab14d7a85a (diff)
test framework: vpp_papi_provider.py - further cleanup
Part of further cleanups of this file. Removed most wrappers that don't have conflicting signature with message API. Change-Id: I6acd93d20291feb7731eb35ab2eb8c9f22f4632c Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'test/test_bond.py')
-rw-r--r--test/test_bond.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_bond.py b/test/test_bond.py
index 9926d230564..c1dcb92cbb5 100644
--- a/test/test_bond.py
+++ b/test/test_bond.py
@@ -65,9 +65,9 @@ class TestBondInterface(VppTestCase):
bond0.add_vpp_config()
bond0.admin_up()
bond0_addr = socket.inet_pton(socket.AF_INET, "10.10.10.1")
- self.vapi.sw_interface_add_del_address(bond0.sw_if_index,
- bond0_addr,
- 24)
+ self.vapi.sw_interface_add_del_address(sw_if_index=bond0.sw_if_index,
+ address=bond0_addr,
+ address_length=24)
self.pg2.config_ip4()
self.pg2.resolve_arp()