diff options
author | Jan Gelety <jgelety@cisco.com> | 2016-04-19 00:07:13 +0200 |
---|---|---|
committer | Stefan Kobza <skobza@cisco.com> | 2016-04-22 14:58:14 +0000 |
commit | 4a7f950c10ca9bcf86e5ccbc3d49a3d7e3cb9809 (patch) | |
tree | ff0181ea36fd5760240c299f74e2412f16bc5926 /resources/libraries/robot/interfaces.robot | |
parent | 87ec18ad91a63e7925005057ccbb7a7570347376 (diff) |
Bridge domain tests and user keywords refactor.
- BD tests changed to behavior-driven-test style
- added documentation to BD tests
- added documentation and examples to BD user KWs
Change-Id: Ifad45df3ef0bb55f5295363a264fe5f4e54f5762
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/robot/interfaces.robot')
-rw-r--r-- | resources/libraries/robot/interfaces.robot | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/resources/libraries/robot/interfaces.robot b/resources/libraries/robot/interfaces.robot index 649ee63253..330cc79b23 100644 --- a/resources/libraries/robot/interfaces.robot +++ b/resources/libraries/robot/interfaces.robot @@ -33,3 +33,21 @@ | | # Ethernet MTU is physical layer MTU minus size of Ethernet header and FCS | | ${eth_mtu}= | Evaluate | ${mtu} - 14 - 4 | | Set Interface Ethernet MTU | ${tg_node} | ${tg_port} | ${eth_mtu} + +| Interfaces on all VPP nodes in the path are up +| | [Documentation] | Wait until all interfaces of the given VPP node +| | ... | with admin-up state are in link-up state. +| | ... +| | ... | *Arguments:* +| | ... | - @{node_list} - DUT nodes. Type: list +| | ... +| | ... | *Return:* +| | ... | - No value returned +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Interfaces on all VPP nodes in the path are up \ +| | ... | \| ${nodes['DUT1']} \| ${nodes['DUT2']} \| +| | [Arguments] | @{node_list} +| | :FOR | ${node} | IN | @{node_list} +| | | VPP Node Interfaces Ready Wait | ${node} |