X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fperf%2F10ge2p1x520-ethip4-ip4base-ndrdisc.robot;h=2b009b27779092e61c5e114b37d8f5632cb71b53;hb=0b4ceb8d40f0b667eb6083298a4f133b8ae9adaa;hp=8cd61a5a7d9f78d2c87b806e0cd3395b3ef22f5b;hpb=3ef4ce6c9cc006d728a8acea20bc18aadc88acdc;p=csit.git diff --git a/tests/perf/10ge2p1x520-ethip4-ip4base-ndrdisc.robot b/tests/perf/10ge2p1x520-ethip4-ip4base-ndrdisc.robot index 8cd61a5a7d..2b009b2777 100644 --- a/tests/perf/10ge2p1x520-ethip4-ip4base-ndrdisc.robot +++ b/tests/perf/10ge2p1x520-ethip4-ip4base-ndrdisc.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2016 Cisco and/or its affiliates. +# Copyright (c) 2017 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -16,21 +16,22 @@ | Library | resources.libraries.python.topology.Topology | Library | resources.libraries.python.NodePath | Library | resources.libraries.python.InterfaceUtil -| Library | resources.libraries.python.IPv4Setup.Dut | ${nodes['DUT1']} | WITH NAME | dut1_v4 -| Library | resources.libraries.python.IPv4Setup.Dut | ${nodes['DUT2']} | WITH NAME | dut2_v4 +| Library | resources.libraries.python.IPv4Setup.Dut | ${nodes['DUT1']} +| ... | WITH NAME | dut1_v4 +| Library | resources.libraries.python.IPv4Setup.Dut | ${nodes['DUT2']} +| ... | WITH NAME | dut2_v4 +| ... | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC -| ... | NIC_Intel-X520-DA2 | ETH | IP4FWD | BASE +| ... | NIC_Intel-X520-DA2 | ETH | IP4FWD | BASE +| ... | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model | ... | L3 | Intel-X520-DA2 | Suite Teardown | 3-node Performance Suite Teardown -| Test Setup | Setup all DUTs before test -| Test Teardown | Run Keywords -| ... | Run Keyword If Test Failed -| ... | Traffic should pass with no loss | 10 -| ... | ${min_rate}pps | ${framesize} | 3-node-IPv4 -| ... | fail_on_loss=${False} -| ... | AND | Remove startup configuration of VPP from all DUTs -| ... | AND | Show vpp trace dump on all DUTs +| ... +| Test Setup | Performance test setup +| Test Teardown | Performance test teardown | ${min_rate}pps | ${framesize} +| ... | 3-node-IPv4 +| ... | Documentation | *RFC2544: Pkt throughput IPv4 routing test cases* | ... | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology @@ -54,11 +55,11 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** -#X520-DA2 bandwidth limit +# X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} *** Test Cases *** -| TC01: 64B NDR binary search - DUT IPv4 - 1thread 1core 1rxq +| tc01-64B-1t1c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames @@ -80,7 +81,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC02: 64B PDR binary search - DUT IPv4 - 1thread 1core 1rxq +| tc02-64B-1t1c-ethip4-ip4base-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames @@ -101,10 +102,10 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC03: 1518B NDR binary search - DUT IPv4 - 1thread 1core 1rxq +| tc03-1518B-1t1c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames @@ -126,7 +127,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC04: 1518B PDR binary search - DUT IPv4 - 1thread 1core 1rxq +| tc04-1518B-1t1c-ethip4-ip4base-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames @@ -147,10 +148,10 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC05: 9000B NDR binary search - DUT IPv4 - 1thread 1core 1rxq +| tc05-9000B-1t1c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames @@ -171,7 +172,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC06: 9000B PDR binary search - DUT IPv4 - 1thread 1core 1rxq +| tc06-9000B-1t1c-ethip4-ip4base-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames @@ -191,10 +192,10 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC07: 64B NDR binary search - DUT IPv4 - 2threads 2cores 1rxq +| tc07-64B-2t2c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames @@ -216,7 +217,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC08: 64B PDR binary search - DUT IPv4 - 2threads 2cores 1rxq +| tc08-64B-2t2c-ethip4-ip4base-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames @@ -237,10 +238,10 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC09: 1518B NDR binary search - DUT IPv4 - 2threads 2cores 1rxq +| tc09-1518B-2t2c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames @@ -262,7 +263,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC10: 1518B PDR binary search - DUT IPv4 - 2threads 2cores 1rxq +| tc10-1518B-2t2c-ethip4-ip4base-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames @@ -283,10 +284,10 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC11: 9000B NDR binary search - DUT IPv4 - 2threads 2cores 1rxq +| tc11-9000B-2t2c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames @@ -307,7 +308,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC12: 9000B PDR binary search - DUT IPv4 - 2threads 2cores 1rxq +| tc12-9000B-2t2c-ethip4-ip4base-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames @@ -327,10 +328,10 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC13: 64B NDR binary search - DUT IPv4 - 4threads 4cores 2rxq +| tc13-64B-4t4c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \ | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte frames @@ -352,7 +353,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC14: 64B PDR binary search - DUT IPv4 - 4threads 4cores 2rxq +| tc14-64B-4t4c-ethip4-ip4base-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \ | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte frames @@ -373,10 +374,10 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC15: 1518B NDR binary search - DUT IPv4 - 4threads 4cores 2rxq +| tc15-1518B-4t4c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \ | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames @@ -398,7 +399,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC16: 1518B PDR binary search - DUT IPv4 - 4threads 4cores 2rxq +| tc16-1518B-4t4c-ethip4-ip4base-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \ | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames @@ -419,10 +420,10 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC17: 9000B NDR binary search - DUT IPv4 - 4threads 4cores 2rxq +| tc17-9000B-4t4c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \ | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames @@ -443,7 +444,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC18: 9000B PDR binary search - DUT IPv4 - 4threads 4cores 2rxq +| tc18-9000B-4t4c-ethip4-ip4base-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \ | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames @@ -463,10 +464,10 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC19: IMIX_v4_1 NDR binary search - DUT IPv4 - 1thread 1core 1rxq +| tc19-IMIX-1t1c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 frame size @@ -489,7 +490,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC20: IMIX_v4_1 PDR binary search - DUT IPv4 - 1thread 1core 1rxq +| tc20-IMIX-1t1c-ethip4-ip4base-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for IMIX_v4_1 frame size @@ -511,5 +512,5 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type}