X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FVatJsonUtil.py;h=ef92a24f07d9e7d6ecc1a43afdf85bf5f4207dd1;hb=0490e94aefea47f6bac0b00339cf832c196b7f09;hp=841483871566f12ffcf03e821e5cad31a808d5c2;hpb=b5782684055409315412d94d1de2e5f78cffac4d;p=csit.git 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"]