diff options
author | selias <samelias@cisco.com> | 2017-03-24 17:35:30 +0100 |
---|---|---|
committer | selias <samelias@cisco.com> | 2017-03-30 13:17:35 +0200 |
commit | 8c1bb6ac0c8253ee203d120c1a8f035c47293d9e (patch) | |
tree | 0341da480efc50e64c5448248571a599e77f4b63 /resources/libraries/python/InterfaceUtil.py | |
parent | d919da731b92e02ccc9cee207f9d138876b7b08e (diff) |
HC Test: address and cleanup test failures
Change-Id: If3c570dbc5036915fdc68ade7a9ccc45ad21299e
Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/libraries/python/InterfaceUtil.py')
-rw-r--r-- | resources/libraries/python/InterfaceUtil.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/libraries/python/InterfaceUtil.py b/resources/libraries/python/InterfaceUtil.py index 558e99b4e7..793f908a7a 100644 --- a/resources/libraries/python/InterfaceUtil.py +++ b/resources/libraries/python/InterfaceUtil.py @@ -260,7 +260,9 @@ class InterfaceUtil(object): Note: A single interface may have multiple IP addresses assigned. :rtype: list """ - sw_if_index = InterfaceUtil.get_sw_if_index(node, interface) + + sw_if_index = Topology.convert_interface_reference( + node, interface, "sw_if_index") with VatTerminal(node) as vat: response = vat.vat_terminal_exec_cmd_from_template( |