aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/InterfaceUtil.py
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2016-06-30 16:29:25 +0200
committerMatej Klotton <mklotton@cisco.com>2016-07-11 12:33:38 +0000
commitd5e00c67d229e6f6fd9461755423cee800a1635e (patch)
treea892530d93916bc75cd5b1403958a9f5eca76cf2 /resources/libraries/python/InterfaceUtil.py
parent3bb84bee3516c1e7326becfc3c2f70bf6e3f59ce (diff)
CSIT-184: Add Honeycomb sub-interface ipv4 tests
- add tests for sub-interface ipv4 support - add keywords and methods used in tests Change-Id: I98af193a4c4f0d3822eb9637f01acead37accb8c Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/libraries/python/InterfaceUtil.py')
-rw-r--r--resources/libraries/python/InterfaceUtil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/InterfaceUtil.py b/resources/libraries/python/InterfaceUtil.py
index ace4453e54..2e44e913aa 100644
--- a/resources/libraries/python/InterfaceUtil.py
+++ b/resources/libraries/python/InterfaceUtil.py
@@ -227,7 +227,7 @@ class InterfaceUtil(object):
Note: A single interface may have multiple IP addresses assigned.
:rtype: list
"""
- sw_if_index = Topology.get_interface_sw_index(node, interface)
+ sw_if_index = InterfaceUtil.get_sw_if_index(node, interface)
with VatTerminal(node) as vat:
response = vat.vat_terminal_exec_cmd_from_template(