X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FInterfaceUtil.py;fp=resources%2Flibraries%2Fpython%2FInterfaceUtil.py;h=1d1d669556c7f75c86bf209b84fe47107da89854;hp=b25e70bd6e2ca66413b1d369ca0526666094d120;hb=3691bd34143ff6e725c3be5cfee7d2539f84169f;hpb=ae3d6241590b521cfec350dfa73c78f043466938 diff --git a/resources/libraries/python/InterfaceUtil.py b/resources/libraries/python/InterfaceUtil.py index b25e70bd6e..1d1d669556 100644 --- a/resources/libraries/python/InterfaceUtil.py +++ b/resources/libraries/python/InterfaceUtil.py @@ -193,7 +193,7 @@ class InterfaceUtil(object): err_msg = 'Failed to set interface state on host {host}'.format( host=node['host']) args = dict( - sw_if_index=sw_if_index, + sw_if_index=int(sw_if_index), flags=flags) with PapiSocketExecutor(node) as papi_exec: papi_exec.add(cmd, **args).get_reply(err_msg)