diff options
author | Jan Gelety <jgelety@cisco.com> | 2017-06-29 09:05:00 +0200 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2017-08-01 17:41:27 +0200 |
commit | 0cd7a2d0d4e701ca61421c5de9b4b0460fdfa28a (patch) | |
tree | 2f41ec1781714c573f55123ead98a2bba2733560 /resources | |
parent | f67399101f4fa359de7f6e2b325be455d1438ee8 (diff) |
CSIT-699: Add l2bd+dot1q perf tests
Change-Id: I3d8cbb235918331b3c60147f7870a4aa90036748
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/libraries/robot/performance/performance_configuration.robot | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/resources/libraries/robot/performance/performance_configuration.robot b/resources/libraries/robot/performance/performance_configuration.robot index 6590ddadca..e40d3f6bcd 100644 --- a/resources/libraries/robot/performance/performance_configuration.robot +++ b/resources/libraries/robot/performance/performance_configuration.robot @@ -1077,6 +1077,43 @@ | | Add interface to bridge domain | ${dut1} | ${vhost_if2} | ${bd_id2} | | All Vpp Interfaces Ready Wait | ${nodes} +| Initialize L2 bridge domains with VLAN dot1q sub-interfaces in a 3-node circular topology +| | [Documentation] +| | ... | Setup L2 bridge domain topology with learning enabled with VLAN +| | ... | between DUTs by connecting physical and vlan interfaces on each DUT. +| | ... | All interfaces are brought up. +| | ... +| | ... | *Arguments:* +| | ... | - bd_id1 - Bridge domain ID. Type: integer +| | ... | - bd_id2 - Bridge domain ID. Type: integer +| | ... | - subid - ID of the sub-interface to be created. Type: string +| | ... | - tag_rewrite - Method of tag rewrite. Type: string +| | ... +| | ... | _NOTE:_ This KW uses following test case variables: +| | ... | - ${dut1} - DUT1 node. +| | ... | - ${dut2} - DUT2 node. +| | ... | - ${dut1_if2} - DUT1 interface towards DUT2. +| | ... | - ${dut2_if1} - DUT2 interface towards DUT1. +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Initialize L2 bridge domains with VLAN dot1q sub-interfaces +| | ... | in a 3-node circular topology \| 1 \| 2 \| 10 \| pop-1 \| +| | ... +| | [Arguments] | ${bd_id1} | ${bd_id2} | ${subid} | ${tag_rewrite} +| | ... +| | Set interfaces in path in 3-node circular topology up +| | Initialize VLAN dot1q sub-interfaces in 3-node circular topology +| | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid} +| | Configure L2 tag rewrite method on interfaces +| | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2} +| | ... | ${tag_rewrite} +| | Add interface to bridge domain | ${dut1} | ${dut1_if1} | ${bd_id1} +| | Add interface to bridge domain | ${dut1} | ${subif_index_1} | ${bd_id1} +| | Add interface to bridge domain | ${dut2} | ${subif_index_2} | ${bd_id2} +| | Add interface to bridge domain | ${dut2} | ${dut2_if2} | ${bd_id2} +| | All Vpp Interfaces Ready Wait | ${nodes} + | Initialize L2 bridge domains with Vhost-User and VLAN in a 3-node circular topology | | [Documentation] | | ... | Create two Vhost-User interfaces on all defined VPP nodes. Add each |