X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FInterfaceUtil.py;h=38b476ed52444fb9c14bfd51ef103a7003f2df0b;hp=bc8bf94a9b2b68af2308d923a8362007aa494303;hb=f36857344062402e41419ee37abfec76bf8ad2ff;hpb=bfde681c3d8ae0008ecec131a18d3a2560a046ae 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))