X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fperf%2F10ge2p1x520-ethip4udp-ip4scale1000-udpsrcscale15-snat-ndrpdrdisc.robot;h=aff299f4334fec962a6b0349f5fa079a2f35db48;hb=refs%2Fchanges%2F68%2F6968%2F13;hp=12a1b81bc22cc1f2fe140cd30da3dfc5e3e031b6;hpb=043b2564cd0bfbcb3b00c782fb8d317e752ac210;p=csit.git diff --git a/tests/perf/10ge2p1x520-ethip4udp-ip4scale1000-udpsrcscale15-snat-ndrpdrdisc.robot b/tests/perf/10ge2p1x520-ethip4udp-ip4scale1000-udpsrcscale15-snat-ndrpdrdisc.robot index 12a1b81bc2..aff299f433 100644 --- a/tests/perf/10ge2p1x520-ethip4udp-ip4scale1000-udpsrcscale15-snat-ndrpdrdisc.robot +++ b/tests/perf/10ge2p1x520-ethip4udp-ip4scale1000-udpsrcscale15-snat-ndrpdrdisc.robot @@ -20,11 +20,11 @@ | ... | NIC_Intel-X520-DA2 | ETH | IP4FWD | FEATURE | SNAT | SRC_USER_1000 | ... | SCALE | ... -| Suite Setup | 3-node Performance Suite Setup with DUT's NIC model +| Suite Setup | Set up 3-node performance topology with DUT's NIC model | ... | L3 | Intel-X520-DA2 -| Suite Teardown | 3-node Performance Suite Teardown +| Suite Teardown | Tear down 3-node performance topology | ... -| Test Setup | Performance test setup +| Test Setup | Set up performance test | ... | Documentation | *SNAT performance test cases* | ... @@ -63,6 +63,8 @@ *** Variables *** # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} +# Traffic profile: +| ${traffic_profile} | trex-sl-3n-ethip4udp-1000u15p *** Test Cases *** | tc01-64B-1t1c-ethip4udp-ip4scale1000-udpsrcscale15-snat-ndrdisc @@ -73,8 +75,8 @@ | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\ | | ... | linerate, step 100kpps. | | ... -| | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps -| | ... | ${framesize} | 3-node-IPv4-SNAT-1000u-15p +| | [Teardown] | Run keywords | Tear down performance discovery test | ${min_rate}pps +| | ... | ${framesize} | ${traffic_profile} | | ... | AND | Show SNAT verbose | ${dut1} | | ... | AND | Show SNAT verbose | ${dut2} | | ... @@ -86,15 +88,15 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs +| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | And Add PCI devices to DUTs in 3-node single link topology +| | And Add no multi seg to all DUTs | | And Add SNAT to all DUTs | | And Apply startup configuration on all VPP DUTs -| | When SNAT is initialized in a 3-node circular topology +| | When Initialize SNAT in 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-SNAT-1000u-15p | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc02-64B-1t1c-ethip4udp-ip4scale1000-udpsrcscale15-snat-pdrdisc | | [Documentation] @@ -104,8 +106,8 @@ | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\ | | ... | linerate, step 100kpps. | | ... -| | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize} -| | ... | 3-node-IPv4-SNAT-1000u-15p +| | [Teardown] | Tear down performance discovery test | ${min_rate}pps | ${framesize} +| | ... | ${traffic_profile} | | ... | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ... @@ -115,15 +117,15 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs +| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | And Add PCI devices to DUTs in 3-node single link topology +| | And Add no multi seg to all DUTs | | And Add SNAT to all DUTs | | And Apply startup configuration on all VPP DUTs -| | When SNAT is initialized in a 3-node circular topology +| | When Initialize SNAT in 3-node circular topology | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-SNAT-1000u-15p | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc03-1518B-1t1c-ethip4udp-ip4scale1000-udpsrcscale15-snat-ndrdisc @@ -134,8 +136,8 @@ | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\ | | ... | linerate, step 100kpps. | | ... -| | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps -| | ... | ${framesize} | 3-node-IPv4-SNAT-1000u-15p +| | [Teardown] | Run keywords | Tear down performance discovery test | ${min_rate}pps +| | ... | ${framesize} | ${traffic_profile} | | ... | AND | Show SNAT verbose | ${dut1} | | ... | AND | Show SNAT verbose | ${dut2} | | ... @@ -147,15 +149,15 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs +| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | And Add PCI devices to DUTs in 3-node single link topology +| | And Add no multi seg to all DUTs | | And Add SNAT to all DUTs | | And Apply startup configuration on all VPP DUTs -| | When SNAT is initialized in a 3-node circular topology +| | When Initialize SNAT in 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-SNAT-1000u-15p | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc04-1518B-1t1c-ethip4udp-ip4scale1000-udpsrcscale15-snat-pdrdisc | | [Documentation] @@ -165,8 +167,8 @@ | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\ | | ... | linerate, step 100kpps. | | ... -| | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize} -| | ... | 3-node-IPv4-SNAT-1000u-15p +| | [Teardown] | Tear down performance discovery test | ${min_rate}pps | ${framesize} +| | ... | ${traffic_profile} | | ... | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ... @@ -176,15 +178,15 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs +| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | And Add PCI devices to DUTs in 3-node single link topology +| | And Add no multi seg to all DUTs | | And Add SNAT to all DUTs | | And Apply startup configuration on all VPP DUTs -| | When SNAT is initialized in a 3-node circular topology +| | When Initialize SNAT in 3-node circular topology | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-SNAT-1000u-15p | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc05-IMIX-1t1c-ethip4udp-ip4scale1000-udpsrcscale15-snat-ndrdisc @@ -195,8 +197,8 @@ | | ... | [Ver] Find NDR for IMIX frames using binary search start at 10GE\ | | ... | linerate, step 100kpps. | | ... -| | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps -| | ... | ${framesize} | 3-node-IPv4-SNAT-1000u-15p +| | [Teardown] | Run keywords | Tear down performance discovery test | ${min_rate}pps +| | ... | ${framesize} | ${traffic_profile} | | ... | AND | Show SNAT verbose | ${dut1} | | ... | AND | Show SNAT verbose | ${dut2} | | ... @@ -208,15 +210,15 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs +| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | And Add PCI devices to DUTs in 3-node single link topology +| | And Add no multi seg to all DUTs | | And Add SNAT to all DUTs | | And Apply startup configuration on all VPP DUTs -| | When SNAT is initialized in a 3-node circular topology +| | When Initialize SNAT in 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-SNAT-1000u-15p | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc06-IMIX-1t1c-ethip4udp-ip4scale1000-udpsrcscale15-snat-pdrdisc | | [Documentation] @@ -226,8 +228,8 @@ | | ... | [Ver] Find PDR for IMIX frames using binary search start at 10GE\ | | ... | linerate, step 100kpps. | | ... -| | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize} -| | ... | 3-node-IPv4-SNAT-1000u-15p +| | [Teardown] | Tear down performance discovery test | ${min_rate}pps | ${framesize} +| | ... | ${traffic_profile} | | ... | | [Tags] | IMIX | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ... @@ -237,13 +239,13 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs +| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | And Add PCI devices to DUTs in 3-node single link topology +| | And Add no multi seg to all DUTs | | And Add SNAT to all DUTs | | And Apply startup configuration on all VPP DUTs -| | When SNAT is initialized in a 3-node circular topology +| | When Initialize SNAT in 3-node circular topology | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-SNAT-1000u-15p | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type}