FIX: use int of sw_if_index in call of sw_interface_set_flags api 18/22518/2
authorJan Gelety <jgelety@cisco.com>
Thu, 3 Oct 2019 17:42:34 +0000 (19:42 +0200)
committerJan Gelety <jgelety@cisco.com>
Fri, 4 Oct 2019 09:27:51 +0000 (09:27 +0000)
commit3691bd34143ff6e725c3be5cfee7d2539f84169f
treebf7bc5a635aad10894952bf904576c44fe4bc042
parentae3d6241590b521cfec350dfa73c78f043466938
FIX: use int of sw_if_index in call of sw_interface_set_flags api

- it will avoid situation that corresponding port is not up and
  its sw_if_index value in topology file is None that is interpreted
  as 0 in vpp api so it set flag for local0 interface

Change-Id: I9145077d787ddde50a29bcd4091035e95077f946
Signed-off-by: Jan Gelety <jgelety@cisco.com>
resources/libraries/python/InterfaceUtil.py