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