X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fl2%2Fl2_bridge_domain.robot;h=3d6f48328bc28cc07543a2d578b87c89edf9e391;hp=9c6c29dc7d0e90b0fec1398a5a19905c9cace3d4;hb=44e82a32bb10129d1f85d12e5141de2a17d5ff1a;hpb=aea0a78dd1b090010b6b1262b82a34a2d107a85b diff --git a/resources/libraries/robot/l2/l2_bridge_domain.robot b/resources/libraries/robot/l2/l2_bridge_domain.robot index 9c6c29dc7d..3d6f48328b 100644 --- a/resources/libraries/robot/l2/l2_bridge_domain.robot +++ b/resources/libraries/robot/l2/l2_bridge_domain.robot @@ -23,13 +23,14 @@ | Configure L2BD forwarding | | [Documentation] | Setup BD between 2 interfaces on VPP node and if learning | | ... | is off set static L2FIB entry on second interface -| | [Arguments] | ${node} | ${if1} | ${if2} | ${learn}=${TRUE} | ${mac}=${EMPTY} -| | Set Interface State | ${node} | ${if1} | up -| | Set Interface State | ${node} | ${if2} | up -| | Vpp Add L2 Bridge Domain | ${node} | ${1} | ${if1} | ${if2} | ${learn} +| | [Arguments] | ${dut_node} | ${if1} | ${if2} | ${learn}=${TRUE} +| | ... | ${mac}=${EMPTY} +| | Set Interface State | ${dut_node} | ${if1} | up +| | Set Interface State | ${dut_node} | ${if2} | up +| | Vpp Add L2 Bridge Domain | ${dut_node} | ${1} | ${if1} | ${if2} | ${learn} | | Run Keyword If | ${learn} == ${FALSE} -| | ... | Vpp Add L2fib Entry | ${node} | ${mac} | ${if2} | ${1} -| | All Vpp Interfaces Ready Wait | ${nodes} +| | ... | Vpp Add L2fib Entry | ${dut_node} | ${mac} | ${if2} | ${1} +| | Vpp Node Interfaces Ready Wait | ${dut_node} | Configure path for 3-node BD-SHG test | | [Documentation] | Compute path for bridge domain split-horizon group testing