X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fperformance.robot;h=e9ec9487721b5e0c13b2d7dd851f8977050f3700;hp=22b119d440e31ae4cd4fbfe4f05c234264b6c475;hb=f5ec27c189231b0c5b8399b39edbf47b462d894e;hpb=2cc12f02a38483ea88303f2682ae5d0535fdd576 diff --git a/resources/libraries/robot/performance.robot b/resources/libraries/robot/performance.robot index 22b119d440..e9ec948772 100644 --- a/resources/libraries/robot/performance.robot +++ b/resources/libraries/robot/performance.robot @@ -723,6 +723,32 @@ | | ... | 172.16.0.2 | 172.16.0.1 | | L2 setup xconnect on DUT | ${dut2} | ${dut2_if2} | ${dut2s_vxlan} +| L2 xconnect with Vhost-User initialized in a 3-node circular topology +| | [Documentation] +| | ... | Create two Vhost-User interfaces on all defined VPP nodes. Cross +| | ... | connect each Vhost interface with one physical interface. +| | ... +| | ... | *Arguments:* +| | ... | - sock1 - Socket path for first Vhost-User interface. Type: string +| | ... | - sock2 - Socket path for second Vhost-User interface. Type: string +| | ... +| | ... | *Example:* +| | ... +| | ... | \| L2 xconnect with Vhost-User initialized in a 3-node \ +| | ... | circular topology \| /tmp/sock1 \| /tmp/sock2 \| +| | [Arguments] | ${sock1} | ${sock2} +| | VPP Vhost interfaces for L2BD forwarding are setup | ${dut1} +| | ... | ${sock1} +| | ... | ${sock2} +| | L2 setup xconnect on DUT | ${dut1} | ${dut1_if1} | ${vhost_if1} +| | L2 setup xconnect on DUT | ${dut1} | ${dut1_if2} | ${vhost_if2} +| | VPP Vhost interfaces for L2BD forwarding are setup | ${dut2} +| | ... | ${sock1} +| | ... | ${sock2} +| | L2 setup xconnect on DUT | ${dut2} | ${dut2_if1} | ${vhost_if1} +| | L2 setup xconnect on DUT | ${dut2} | ${dut2_if2} | ${vhost_if2} +| | All Vpp Interfaces Ready Wait | ${nodes} + | L2 bridge domain initialized in a 3-node circular topology | | [Documentation] | | ... | Setup L2 DB topology by adding two interfaces on each DUT into BD