diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2019-10-24 13:52:42 +0200 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2020-03-09 13:46:29 +0000 |
commit | 145e330f019920b5ef77f4e8b3fa70de3228710d (patch) | |
tree | 7eede6c2dfa7a3f0568071c9f1bbf6aa8319fb71 /test/vpp_papi_provider.py | |
parent | 262971e7830413c58b9b45965f799f540e634437 (diff) |
l2: API cleanup
Use consistent API types.
Type: fix
Change-Id: I7ac7cd00606101864fa3422e7b9ea2f1143665dd
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r-- | test/vpp_papi_provider.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index bf3f17d2c51..832fd8ff93c 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -126,7 +126,7 @@ defaultmapping = { 'want_bfd_events': {'enable_disable': 1, }, 'want_igmp_events': {'enable': 1, }, 'want_interface_events': {'enable_disable': 1, }, - 'want_l2_macs_events': {'enable_disable': 1, }, + 'want_l2_macs_events': {'enable_disable': 1, 'pid': os.getpid(), }, } @@ -374,15 +374,6 @@ class VppPapiProvider(object): {'enable_disable': enable_disable, 'pid': os.getpid(), }) - def want_l2_macs_events(self, enable_disable=1, scan_delay=0, - max_macs_in_event=0, learn_limit=0): - return self.api(self.papi.want_l2_macs_events, - {'enable_disable': enable_disable, - 'scan_delay': scan_delay, - 'max_macs_in_event': max_macs_in_event, - 'learn_limit': learn_limit, - 'pid': os.getpid(), }) - def sw_interface_set_mac_address(self, sw_if_index, mac): return self.api(self.papi.sw_interface_set_mac_address, {'sw_if_index': sw_if_index, |