aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/ipv4.robot
diff options
context:
space:
mode:
authorselias <samuel.elias@pantheon.tech>2016-03-01 10:56:40 +0100
committerStefan Kobza <skobza@cisco.com>2016-03-07 17:22:34 +0100
commit8120dcdc84da7ff1dee097240bc1ecf18914397c (patch)
treee4b2743e885cb0d72eaba56d6187678258f3095c /resources/libraries/robot/ipv4.robot
parent4fc12a553db78ff2ad293e7a87845b365a53d736 (diff)
change interface up calls to explicit keywords
Remove implicit "set interface state" calls from ipv4 and ipv6 test keywords. Use robot keyword instead. Change-Id: I535a7a967910e77dded39eb167fb9c164187566e Signed-off-by: selias <samuel.elias@pantheon.tech>
Diffstat (limited to 'resources/libraries/robot/ipv4.robot')
-rw-r--r--resources/libraries/robot/ipv4.robot4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/libraries/robot/ipv4.robot b/resources/libraries/robot/ipv4.robot
index d122932c89..4c76644c54 100644
--- a/resources/libraries/robot/ipv4.robot
+++ b/resources/libraries/robot/ipv4.robot
@@ -26,7 +26,9 @@
| Setup IPv4 adresses on all DUT nodes in topology
| | [Documentation] | Setup IPv4 address on all DUTs in topology
| | [Arguments] | ${nodes} | ${nodes_addr}
-| | VPP nodes setup ipv4 addresses | ${nodes} | ${nodes_addr}
+| | ${interfaces}= | VPP nodes set ipv4 addresses | ${nodes} | ${nodes_addr}
+| | :FOR | ${interface} | IN | @{interfaces}
+| | | Set Interface State | @{interface} | up
| Routes are set up for IPv4 testing
| | [Documentation] | Setup routing on all VPP nodes required for IPv4 tests