aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2018-08-31 15:51:08 +0200
committerJan Gelety <jgelety@cisco.com>2018-09-05 09:02:22 +0200
commit0ad00a491e7c39f126abcd087bc2743dbdc3a1af (patch)
treee509cfcf7931296d0e4a3338cc6a9f7b1f077256 /resources/libraries/python
parentbe430a282810185c939c1fbbf3042036b814f38a (diff)
Add eth-ip4base-2memif[ndrpdr|mrr] perf tests for 2-node topology
- added also 3-node test cases for comparison Jira: CSIT-1261 Change-Id: I1bfcc184e925e969d4a610920c4e49af23047507 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/VatJsonUtil.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/libraries/python/VatJsonUtil.py b/resources/libraries/python/VatJsonUtil.py
index 8414838715..ef92a24f07 100644
--- a/resources/libraries/python/VatJsonUtil.py
+++ b/resources/libraries/python/VatJsonUtil.py
@@ -97,6 +97,7 @@ class VatJsonUtil(object):
if not interface_dict:
logger.trace('Interface {0} not found by MAC {1}'
.format(ifc, if_mac))
+ ifc['vpp_sw_index'] = None
continue
ifc['name'] = interface_dict["interface_name"]
ifc['vpp_sw_index'] = interface_dict["sw_if_index"]