diff options
author | Ole Troan <ot@cisco.com> | 2019-03-04 23:55:43 +0100 |
---|---|---|
committer | Ole Troan <ot@cisco.com> | 2019-03-04 23:55:43 +0100 |
commit | e1ade684eb5a7e5743abfda47488165452cc5b64 (patch) | |
tree | 63b4e3ccc361904b42e0020bfc16b4d110cd0095 /test/test_ip6.py | |
parent | fd06084a9e86c5f67c4b1dc37e78a95a9bacf2a4 (diff) |
test framework: Fix wrapper functions to match API message names.
In preparation to remove the wrappers in vpp_papi_provider.py, ensure
names used in tests match the actual API message names.
Change-Id: I230ca4eb75aa727ff68d702e085a2edbbc6b6d19
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'test/test_ip6.py')
-rw-r--r-- | test/test_ip6.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_ip6.py b/test/test_ip6.py index 5a5ba51f0ed..f75fb4ee431 100644 --- a/test/test_ip6.py +++ b/test/test_ip6.py @@ -1345,7 +1345,7 @@ class IPv6NDProxyTest(TestIPv6ND): # # Add proxy support for the host # - self.vapi.ip6_nd_proxy( + self.vapi.ip6nd_proxy_add_del( inet_pton(AF_INET6, self.pg0._remote_hosts[2].ip6), self.pg1.sw_if_index) @@ -1412,7 +1412,7 @@ class IPv6NDProxyTest(TestIPv6ND): ICMPv6NDOptSrcLLAddr( lladdr=self.pg0._remote_hosts[2].mac)) - self.vapi.ip6_nd_proxy( + self.vapi.ip6nd_proxy_add_del( inet_pton(AF_INET6, self.pg0._remote_hosts[3].ip6), self.pg2.sw_if_index) @@ -1452,11 +1452,11 @@ class IPv6NDProxyTest(TestIPv6ND): # # remove the proxy configs # - self.vapi.ip6_nd_proxy( + self.vapi.ip6nd_proxy_add_del( inet_pton(AF_INET6, self.pg0._remote_hosts[2].ip6), self.pg1.sw_if_index, is_del=1) - self.vapi.ip6_nd_proxy( + self.vapi.ip6nd_proxy_add_del( inet_pton(AF_INET6, self.pg0._remote_hosts[3].ip6), self.pg2.sw_if_index, is_del=1) |