diff options
Diffstat (limited to 'resources/libraries/python')
-rw-r--r-- | resources/libraries/python/InterfaceUtil.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |