change interface up calls to explicit keywords
[csit.git] / resources / libraries / robot / ipv6.robot
index 6cd6640..78a8eda 100644 (file)
@@ -19,6 +19,7 @@
 | Library | resources/libraries/python/TrafficScriptExecutor.py
 | Library | resources/libraries/python/NodePath.py
 | Library | resources/libraries/python/Routing.py
+| Library | resources/libraries/python/InterfaceUtil.py
 | Library | resources.libraries.python.topology.Topology
 | Resource | resources/libraries/robot/default.robot
 | Resource | resources/libraries/robot/counters.robot
 | | [Documentation] | Setup IPv6 address on all DUTs
 | | [Arguments] | ${nodes} | ${nodes_addr}
 | | Setup all DUTs before test
-| | Nodes Setup Ipv6 Addresses | ${nodes} | ${nodes_addr}
-| | Sleep | 10
+| | ${interfaces}= | Nodes Set Ipv6 Addresses | ${nodes} | ${nodes_addr}
+| | :FOR | ${interface} | IN | @{interfaces}
+| | | Set Interface State | @{interface} | up
+| | All Vpp Interfaces Ready Wait | ${nodes}
 
 | Clear ipv6 on all dut in topology
 | | [Documentation] | Remove IPv6 address on all DUTs