aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/l2_xconnect.robot
diff options
context:
space:
mode:
authorStefan Kobza <skobza@cisco.com>2016-02-12 15:28:57 +0100
committerStefan Kobza <skobza@cisco.com>2016-02-12 15:28:57 +0100
commite6cb3709bd670738471fff40ce13dcb5aff8692f (patch)
tree7e98c310b61f3396688d127f2fda6888cc1d9521 /resources/libraries/robot/l2_xconnect.robot
parentb92a827b1c7f48da4214e992e5503ebe1c182416 (diff)
Last bulk update of CSIT.
Change-Id: I815e4d54e74a49fd19a9927554ce5c37a2719f7e Signed-off-by: Stefan Kobza <skobza@cisco.com>
Diffstat (limited to 'resources/libraries/robot/l2_xconnect.robot')
-rw-r--r--resources/libraries/robot/l2_xconnect.robot11
1 files changed, 10 insertions, 1 deletions
diff --git a/resources/libraries/robot/l2_xconnect.robot b/resources/libraries/robot/l2_xconnect.robot
index 001062c616..2603863c91 100644
--- a/resources/libraries/robot/l2_xconnect.robot
+++ b/resources/libraries/robot/l2_xconnect.robot
@@ -17,6 +17,7 @@
| Library | resources.libraries.python.CrossConnectSetup
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.TrafficScriptExecutor
+| Library | resources.libraries.python.IPv4Util
| Variables | resources/libraries/python/constants.py
*** Keywords ***
@@ -46,5 +47,13 @@
| | ${dst_ip}= | Set Variable | 192.168.100.2
| | ${src_mac}= | Get Node Link Mac | ${node} | ${link1}
| | ${dst_mac}= | Get Node Link Mac | ${node} | ${link2}
-| | ${args}= | Traffic Script Gen Arg | ${src_port} | ${src_port} | ${src_mac} | ${dst_mac} | ${src_ip} | ${dst_ip}
+| | ${args}= | Traffic Script Gen Arg | ${dst_port} | ${src_port} | ${src_mac} | ${dst_mac} | ${src_ip} | ${dst_ip}
| | Run Traffic Script On Node | send_ip_icmp.py | ${node} | ${args}
+
+
+| 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
+