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>
This commit is contained in:
Ole Troan
2016-12-06 23:00:38 +01:00
parent 7e3a875c94
commit 399ca1ca52
6 changed files with 9 additions and 15 deletions

View File

@ -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,