CSIT-524: Traffic generator using python profiles
[csit.git] / tests / perf / 10ge2p1x520-dot1ad-l2xcbase-ndrchk.robot
index f97335d..517905d 100644 (file)
@@ -52,6 +52,8 @@
 | ${inner_vlan_id}= | 200
 | ${type_subif}= | two_tags
 | ${tag_rewrite}= | pop-2
+# Traffic profile:
+| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254
 
 *** Test Cases ***
 | tc01-64B-1t1c-dot1ad-l2xcbase-ndrchk
@@ -59,7 +61,7 @@
 | | ... | [Cfg] DUT runs L2XC with 802.1ad config with 1 thread, 1 phy core, \
 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte
 | | ... | frames using single trial throughput test at 2x 4.0mpps.
-| | [Tags] | 1T1C | STHREAD
+| | [Tags] | 64B | 1T1C | STHREAD
 | | ${framesize}= | Set Variable | ${64}
 | | ${rate}= | Set Variable | 4.0mpps
 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
-| | ... | ${framesize} | 3-node-xconnect
+| | ... | ${framesize} | ${traffic_profile}
 
 | tc02-1514B-1t1c-dot1ad-l2xcbase-ndrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC with 802.1ad config with 1 thread, 1 phy core, \
 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 1514 Byte
 | | ... | frames using single trial throughput test at 2x 810635pps.
-| | [Tags] | 1T1C | STHREAD
+| | [Tags] | 1514B | 1T1C | STHREAD
 | | ${framesize}= | Set Variable | ${1514}
 | | ${rate}= | Set Variable | 810635pps
 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
-| | ... | ${framesize} | 3-node-xconnect
+| | ... | ${framesize} | ${traffic_profile}
 
 | tc03-9000B-1t1c-dot1ad-l2xcbase-ndrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC with 802.1ad config with 1 thread, 1 phy core, \
 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte
 | | ... | frames using single trial throughput test at 2x 138458pps.
-| | [Tags] | 1T1C | STHREAD
+| | [Tags] | 9000B | 1T1C | STHREAD
 | | ${framesize}= | Set Variable | ${9000}
 | | ${rate}= | Set Variable | 138458pps
 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
-| | ... | ${framesize} | 3-node-xconnect
+| | ... | ${framesize} | ${traffic_profile}
 
 | tc04-64B-2t2c-dot1ad-l2xcbase-ndrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC with 802.1ad config with 2 thread, 2 phy core, \
 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte
 | | ... | frames using single trial throughput test at 2x 8.5mpps.
-| | [Tags] | 2T2C | MTHREAD
+| | [Tags] | 64B | 2T2C | MTHREAD
 | | ${framesize}= | Set Variable | ${64}
 | | ${rate}= | Set Variable | 8.5mpps
 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
-| | ... | ${framesize} | 3-node-xconnect
+| | ... | ${framesize} | ${traffic_profile}
 
 | tc05-1514B-2t2c-dot1ad-l2xcbase-ndrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC with 802.1ad config with 2 thread, 2 phy core, \
 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 1514 Byte
 | | ... | frames using single trial throughput test at 2x 810635pps.
-| | [Tags] | 2T2C | MTHREAD
+| | [Tags] | 1514B | 2T2C | MTHREAD
 | | ${framesize}= | Set Variable | ${1514}
 | | ${rate}= | Set Variable | 810635pps
 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
-| | ... | ${framesize} | 3-node-xconnect
+| | ... | ${framesize} | ${traffic_profile}
 
 | tc06-9000B-2t2c-dot1ad-l2xcbase-ndrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC with 802.1ad config with 2 thread, 2 phy core, \
 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte
 | | ... | frames using single trial throughput test at 2x 138458pps.
-| | [Tags] | 2T2C | MTHREAD
+| | [Tags] | 9000B | 2T2C | MTHREAD
 | | ${framesize}= | Set Variable | ${9000}
 | | ${rate}= | Set Variable | 138458pps
 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
-| | ... | ${framesize} | 3-node-xconnect
+| | ... | ${framesize} | ${traffic_profile}
 
 | tc07-64B-4t4c-dot1ad-l2xcbase-ndrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC with 802.1ad config with 4 thread, 4 phy core, \
 | | ... | 2 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte
 | | ... | frames using single trial throughput test at 2x 8.6mpps.
-| | [Tags] | 4T4C | MTHREAD
+| | [Tags] | 64B | 4T4C | MTHREAD
 | | ${framesize}= | Set Variable | ${64}
 | | ${rate}= | Set Variable | 8.6mpps
 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
-| | ... | ${framesize} | 3-node-xconnect
+| | ... | ${framesize} | ${traffic_profile}
 
 | tc08-1514B-4t4c-dot1ad-l2xcbase-ndrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC with 802.1ad config with 4 thread, 4 phy core, \
 | | ... | 2 receive queue per NIC port. [Ver] Verify ref-NDR for 1514 Byte
 | | ... | frames using single trial throughput test at 2x 810635pps.
-| | [Tags] | 4T4C | MTHREAD
+| | [Tags] | 1514B | 4T4C | MTHREAD
 | | ${framesize}= | Set Variable | ${1514}
 | | ${rate}= | Set Variable | 810635pps
 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
-| | ... | ${framesize} | 3-node-xconnect
+| | ... | ${framesize} | ${traffic_profile}
 
 | tc09-9000B-4t4c-dot1ad-l2xcbase-ndrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC with 802.1ad config with 4 thread, 4 phy core, \
 | | ... | 2 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte
 | | ... | frames using single trial throughput test at 2x 138458pps.
-| | [Tags] | 4T4C | MTHREAD
+| | [Tags] | 9000B | 4T4C | MTHREAD
 | | ${framesize}= | Set Variable | ${9000}
 | | ${rate}= | Set Variable | 138458pps
 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
-| | ... | ${framesize} | 3-node-xconnect
+| | ... | ${framesize} | ${traffic_profile}