From f5ec27c189231b0c5b8399b39edbf47b462d894e Mon Sep 17 00:00:00 2001 From: pmikus Date: Tue, 19 Jul 2016 06:32:54 +0100 Subject: CSIT-323 L2dp - Cross-connect - baseline vhost-user - Add test cases for vhost-user testing with NIC(X520)-to-VM(testpmd,virtio) Change-Id: Ie810ea06622ed8a37d3552f7bb8e38ebe9f04c2a Signed-off-by: pmikus --- resources/libraries/robot/performance.robot | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'resources') 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 -- cgit 1.2.3-korg