X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fl2%2Fl2_patch.robot;h=7d4a527fe326eaf0af53a94d794ad1ef0fe80296;hb=2896038b90897258842a5b8fe9582d84fe532644;hp=f59f924e28726b5121638d72a0d55d64a004f0a8;hpb=ac6cc22910ea0d3bda42c227d799f2d4e89bc9d0;p=csit.git diff --git a/resources/libraries/robot/l2/l2_patch.robot b/resources/libraries/robot/l2/l2_patch.robot index f59f924e28..7d4a527fe3 100644 --- a/resources/libraries/robot/l2/l2_patch.robot +++ b/resources/libraries/robot/l2/l2_patch.robot @@ -12,13 +12,17 @@ # limitations under the License. *** Settings *** -| Library | resources.libraries.python.L2Util | Library | resources.libraries.python.InterfaceUtil +| Library | resources.libraries.python.L2Util *** Keywords *** -| Configure L2 patch -| | [Documentation] | Setup Bidirectional L2 patch on DUT -| | [Arguments] | ${node} | ${if1} | ${if2} | -| | Set Interface State | ${node} | ${if1} | up -| | Set Interface State | ${node} | ${if2} | up -| | Vpp Setup Bidirectional L2 patch | ${node} | ${if1} | ${if2} +| Initialize L2 patch +| | [Documentation] +| | ... | Setup L2 patch topology by cross connecting two interfaces on +| | ... | each DUT. Interfaces are brought up. +| | +| | Set interfaces in path up +| | FOR | ${dut} | IN | @{duts} +| | | VPP Setup Bidirectional L2 patch +| | | ... | ${nodes['${dut}']} | ${${dut}_if1} | ${${dut}_if2} +| | END