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 bdbcc3d27f1..db530d98113 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -465,6 +465,10 @@ class VppPapiProvider(object): return self.api(self.papi.create_loopback, {'mac_address': mac}) + def delete_loopback(self, sw_if_index): + return self.api(self.papi.delete_loopback, + {'sw_if_index': sw_if_index, }) + def ip_add_del_route( self, dst_address, @@ -904,8 +908,8 @@ class VppPapiProvider(object): """ :param is_add: :param mask: - :param match_n_vectors (Default value = 1): - :param table_index (Default value = 0xFFFFFFFF) + :param match_n_vectors: (Default value = 1): + :param table_index: (Default value = 0xFFFFFFFF) :param nbuckets: (Default value = 2) :param memory_size: (Default value = 2097152) :param skip_n_vectors: (Default value = 0) |