diff options
Diffstat (limited to 'resources/libraries/python')
-rw-r--r-- | resources/libraries/python/InterfaceUtil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/InterfaceUtil.py b/resources/libraries/python/InterfaceUtil.py index bc8bf94a9b..38b476ed52 100644 --- a/resources/libraries/python/InterfaceUtil.py +++ b/resources/libraries/python/InterfaceUtil.py @@ -37,9 +37,9 @@ class InterfaceUtil(object): """ if node['type'] == NodeType.DUT: if state == 'up': - state = 'admin-up link-up' + state = 'admin-up' elif state == 'down': - state = 'admin-down link-down' + state = 'admin-down' else: raise Exception('Unexpected interface state: {}'.format(state)) |