diff options
author | selias <samuel.elias@pantheon.tech> | 2016-03-01 10:56:40 +0100 |
---|---|---|
committer | Stefan Kobza <skobza@cisco.com> | 2016-03-07 17:22:34 +0100 |
commit | 8120dcdc84da7ff1dee097240bc1ecf18914397c (patch) | |
tree | e4b2743e885cb0d72eaba56d6187678258f3095c /resources/libraries/robot/bridge_domain.robot | |
parent | 4fc12a553db78ff2ad293e7a87845b365a53d736 (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/bridge_domain.robot')
-rw-r--r-- | resources/libraries/robot/bridge_domain.robot | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/libraries/robot/bridge_domain.robot b/resources/libraries/robot/bridge_domain.robot index 819331f1a7..fe7553a394 100644 --- a/resources/libraries/robot/bridge_domain.robot +++ b/resources/libraries/robot/bridge_domain.robot @@ -20,6 +20,8 @@ | | [Documentation] | Setup BD between 2 interfaces on VPP node and if learning | | ... | is off set static L2FIB entry on second interface | | [Arguments] | ${node} | ${if1} | ${if2} | ${learn}=${TRUE} | ${mac}=${EMPTY} +| | Set Interface State | ${node} | ${if1} | up +| | Set Interface State | ${node} | ${if2} | up | | Vpp Add L2 Bridge Domain | ${node} | ${1} | ${if1} | ${if2} | ${learn} | | Run Keyword If | ${learn} == ${FALSE} | | ... | Vpp Add L2fib Entry | ${node} | ${mac} | ${if2} | ${1} |