span: add feature (rx only) (VPP-185)
Change-Id: I0f7cbf06b5a5acd745d13c9f5c761ea18132107b Signed-off-by: marek <mazavods@gmail.com> Signed-off-by: Damjan Marion <damarion@cisco.com> Signed-off-by: Pavel Kotucek <pkotucek@cisco.com> Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:

committed by
Damjan Marion

parent
7c8eda16d4
commit
f6e3dc4778
@ -401,3 +401,13 @@ class VppPapiProvider(object):
|
||||
dst_address
|
||||
)
|
||||
)
|
||||
|
||||
def sw_interface_span_enable_disable(self, sw_if_index_from, sw_if_index_to, enable=1):
|
||||
"""
|
||||
|
||||
:param sw_if_index_from:
|
||||
:param sw_if_index_to:
|
||||
:param enable
|
||||
|
||||
"""
|
||||
return self.api(vpp_papi.sw_interface_span_enable_disable, (sw_if_index_from, sw_if_index_to, enable ))
|
||||
|
Reference in New Issue
Block a user