X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Finterfaces.robot;h=330cc79b2300f593f678263026805279822f728b;hp=649ee63253c2750f5c60f2bcac21f7e31e38ebfd;hb=4a7f950c10ca9bcf86e5ccbc3d49a3d7e3cb9809;hpb=87ec18ad91a63e7925005057ccbb7a7570347376 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}