X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fl2%2Fl2_patch.robot;h=196d9e5d7e4b3c5a64d690583d65938511f5f398;hp=f59f924e28726b5121638d72a0d55d64a004f0a8;hb=051d26619bb495ec66a3e8214dabbef35c7176a6;hpb=ac6cc22910ea0d3bda42c227d799f2d4e89bc9d0 diff --git a/resources/libraries/robot/l2/l2_patch.robot b/resources/libraries/robot/l2/l2_patch.robot index f59f924e28..196d9e5d7e 100644 --- a/resources/libraries/robot/l2/l2_patch.robot +++ b/resources/libraries/robot/l2/l2_patch.robot @@ -12,13 +12,16 @@ # 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}