diff options
author | Ole Troan <ot@cisco.com> | 2019-03-11 19:23:25 +0100 |
---|---|---|
committer | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-03-11 21:57:19 +0000 |
commit | a5b2eec0535f9025319a752891d77ff9948ae0df (patch) | |
tree | 08c801cb85ab9639e00e5f565e613b817b3924e4 /test/test_memif.py | |
parent | 2d9b427a5b20dcec3d2212a3a8a47c29b4acdd46 (diff) |
vpp_papi_provider: Remove more wrapper functions.
Split this work up into pieces.
Please don't add new wrappers to vpp_papi_provider.py.
Change-Id: I0f8f2afc4cd2bba07ea70ddecea2d7319f7b2e10
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'test/test_memif.py')
-rw-r--r-- | test/test_memif.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_memif.py b/test/test_memif.py index 1f98e3f2215..d89e06bfb4b 100644 --- a/test/test_memif.py +++ b/test/test_memif.py @@ -250,8 +250,9 @@ class TestMemif(VppTestCase): dst_addr = socket.inet_pton(socket.AF_INET, self.pg0._local_ip4_subnet) dst_addr_len = 24 next_hop_addr = socket.inet_pton(socket.AF_INET, memif.ip4_addr) - self.remote_test.vapi.ip_add_del_route( - dst_addr, dst_addr_len, next_hop_addr) + self.remote_test.vapi.ip_add_del_route(dst_address=dst_addr, + dst_address_length=dst_addr_len, + next_hop_address=next_hop_addr) # create ICMP echo-request from local pg to remote memif packet_num = 10 |