diff options
author | Eyal Bari <ebari@cisco.com> | 2017-07-02 18:33:16 +0300 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2017-07-04 11:57:35 +0000 |
commit | c86e592f9a65e5098c9a70c38ee228252dbd32ce (patch) | |
tree | 8cfaaa2aed0f417f8ef5a187f69a23aaa9f85704 /test/vpp_papi_provider.py | |
parent | 130a75384f139f64a5fcf3d357a1fdc769503738 (diff) |
TEST:add L2BD arp term tests
Change-Id: I42414da9663ecfc8dfe5baf3e6615cf3b9b02e22
Signed-off-by: Eyal Bari <ebari@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r-- | test/vpp_papi_provider.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index 4f7e9feeec6..51c359e8bd1 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -411,6 +411,14 @@ class VppPapiProvider(object): 'arp_term': arp_term, 'is_add': is_add}) + def bd_ip_mac_add_del(self, bd_id, mac, ip, is_ipv6=0, is_add=1): + return self.api(self.papi.bd_ip_mac_add_del, + {'bd_id': bd_id, + 'is_add': is_add, + 'is_ipv6': is_ipv6, + 'ip_address': ip, + 'mac_address': mac}) + def l2fib_add_del(self, mac, bd_id, sw_if_index, is_add=1, static_mac=0, filter_mac=0, bvi_mac=0): """Create/delete L2 FIB entry. |