diff options
author | Eyal Bari <ebari@cisco.com> | 2017-07-16 09:34:53 +0300 |
---|---|---|
committer | Eyal Bari <ebari@cisco.com> | 2017-07-24 08:21:52 +0300 |
commit | 001fd406df771f1cf73ca0dea440c8bde309e077 (patch) | |
tree | bfa98f32f5cba2d5fe06e2bc39a03b4d6ce98112 /test/vpp_papi_provider.py | |
parent | beb0b2e346c63e21ffe892ae0e04b67bb10fba5e (diff) |
SPAN:add l2 mirror
added span feature nodes for l2-input / l2-output
Change-Id: Ib6e0ce60d0811901b6edd70209e6a4c4a35cd8ff
Signed-off-by: Eyal Bari <ebari@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r-- | test/vpp_papi_provider.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index 11e16e49b8f..204d9e31f7d 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -847,17 +847,20 @@ class VppPapiProvider(object): ) def sw_interface_span_enable_disable( - self, sw_if_index_from, sw_if_index_to, state=1): + self, sw_if_index_from, sw_if_index_to, state=1, is_l2=0): """ :param sw_if_index_from: :param sw_if_index_to: :param state: + :param is_l2: """ return self.api(self.papi.sw_interface_span_enable_disable, {'sw_if_index_from': sw_if_index_from, 'sw_if_index_to': sw_if_index_to, - 'state': state}) + 'state': state, + 'is_l2': is_l2, + }) def gre_tunnel_add_del(self, src_address, |