summaryrefslogtreecommitdiffstats
path: root/vpp-api/python
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 /vpp-api/python
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 'vpp-api/python')
-rw-r--r--vpp-api/python/vpp_papi/vpp_papi.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/vpp-api/python/vpp_papi/vpp_papi.py b/vpp-api/python/vpp_papi/vpp_papi.py
index ffe159fda90..27d4315aae4 100644
--- a/vpp-api/python/vpp_papi/vpp_papi.py
+++ b/vpp-api/python/vpp_papi/vpp_papi.py
@@ -398,13 +398,11 @@ class VPP():
b = self.encode(msgdef, kwargs)
self.results_prepare(context)
+ self._write(b)
if multipart:
self.results[context]['m'] = True
self._control_ping(context)
-
- self._write(b)
-
self.results_wait(context)
r = self.results[context]['r']
self.results_clean(context)