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>
This commit is contained in:
Ole Troan
2019-03-05 16:58:24 +01:00
parent fb6c75293c
commit 9a475373ed
15 changed files with 416 additions and 1272 deletions

View File

@ -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()