aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/l2_xconnect.robot
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-02-17 06:59:08 -0800
committerFilip Tehlar <ftehlar@cisco.com>2016-02-17 07:01:28 -0800
commitda15035461569ea175aabbac1df735cd5598b0b3 (patch)
tree39cb6be4f0082c8032f8f455bdd2057a6403baea /resources/libraries/robot/l2_xconnect.robot
parentda23519d72dc9415b112f7bab1fd3617750fa79e (diff)
Refactor IPv4 utils
Change-Id: Iae12444efba33e2d37b5d7beb1620e859abd84d7 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'resources/libraries/robot/l2_xconnect.robot')
-rw-r--r--resources/libraries/robot/l2_xconnect.robot11
1 files changed, 5 insertions, 6 deletions
diff --git a/resources/libraries/robot/l2_xconnect.robot b/resources/libraries/robot/l2_xconnect.robot
index 2603863c91..f42c748970 100644
--- a/resources/libraries/robot/l2_xconnect.robot
+++ b/resources/libraries/robot/l2_xconnect.robot
@@ -17,7 +17,7 @@
| Library | resources.libraries.python.CrossConnectSetup
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.TrafficScriptExecutor
-| Library | resources.libraries.python.IPv4Util
+| Library | resources.libraries.python.InterfaceUtil.InterfaceUtil
| Variables | resources/libraries/python/constants.py
*** Keywords ***
@@ -52,8 +52,7 @@
| Interfaces on all DUTs are in "${state}" state
-| | Node "${nodes['DUT1']}" interface "${nodes['DUT1']['interfaces']['port1']['name']}" is in "${state}" state
-| | Node "${nodes['DUT1']}" interface "${nodes['DUT1']['interfaces']['port3']['name']}" is in "${state}" state
-| | Node "${nodes['DUT2']}" interface "${nodes['DUT2']['interfaces']['port1']['name']}" is in "${state}" state
-| | Node "${nodes['DUT2']}" interface "${nodes['DUT2']['interfaces']['port3']['name']}" is in "${state}" state
-
+| | Set interface state | ${nodes['DUT1']} | ${nodes['DUT1']['interfaces']['port1']['name']} | ${state}
+| | Set interface state | ${nodes['DUT1']} | ${nodes['DUT1']['interfaces']['port3']['name']} | ${state}
+| | Set interface state | ${nodes['DUT2']} | ${nodes['DUT2']['interfaces']['port1']['name']} | ${state}
+| | Set interface state | ${nodes['DUT2']} | ${nodes['DUT2']['interfaces']['port3']['name']} | ${state}