From f36857344062402e41419ee37abfec76bf8ad2ff Mon Sep 17 00:00:00 2001 From: Matus Fabian Date: Fri, 19 Feb 2016 11:58:27 +0100 Subject: Removed link-up/link-down from if state setup Change-Id: Ic30102159dc53c2dfc8827bb3a78d040cc336166 Signed-off-by: Matus Fabian --- resources/libraries/python/InterfaceUtil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resources/libraries') 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)) -- cgit 1.2.3-korg