diff options
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r-- | test/vpp_papi_provider.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index 7e1a91cd707..842c21b810b 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -251,9 +251,10 @@ class VppPapiProvider(object): {'sw_if_index': sw_if_index, 'enable': is_enable}) - def sw_interface_ra_suppress(self, sw_if_index): + def sw_interface_ra_suppress(self, sw_if_index, suppress=1): return self.api(self.papi.sw_interface_ip6nd_ra_config, - {'sw_if_index': sw_if_index}) + {'sw_if_index': sw_if_index, + 'suppress': suppress}) def ip6_sw_interface_ra_config(self, sw_if_index, no, @@ -601,6 +602,9 @@ class VppPapiProvider(object): def ip_fib_dump(self): return self.api(self.papi.ip_fib_dump, {}) + def ip6_fib_dump(self): + return self.api(self.papi.ip6_fib_dump, {}) + def ip_neighbor_add_del(self, sw_if_index, mac_address, |