summaryrefslogtreecommitdiffstats
path: root/test/vpp_papi_provider.py
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2016-12-06 23:00:38 +0100
committerOle Troan <ot@cisco.com>2016-12-06 23:48:43 +0100
commit399ca1ca5267861b56a81f64e689aa42b9a79620 (patch)
treee3028d077f469f877e9cb75a397fae5175cca64d /test/vpp_papi_provider.py
parent7e3a875c94b180ef4d9dc99a7fcc8a73c348969b (diff)
SPAN API: Fix various errors making SPAN break make tests.
- s/l2/span in span_api.c in foreach macro - Not installing .json from Makefile.am Change-Id: I2469fe01138d62e044b8262cdb5a6e3b009bb43e Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r--test/vpp_papi_provider.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index 8acfcaa699a..cd4601e3837 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -527,7 +527,7 @@ class VppPapiProvider(object):
)
def sw_interface_span_enable_disable(
- self, sw_if_index_from, sw_if_index_to, enable=1):
+ self, sw_if_index_from, sw_if_index_to, state=1):
"""
:param sw_if_index_from:
@@ -538,7 +538,7 @@ class VppPapiProvider(object):
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,
- 'enable' : enable })
+ 'state' : state })
def gre_tunnel_add_del(self,
src_address,