X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fperf%2F10ge2p1x520-ethip4-ip4base-ipolicemarkbase-ndrdisc.robot;h=02cc4d71dbc231bc07c9b430610d0b2e205cc3f5;hb=fe29ca4b7e6c412c69f1c56404513a33236aa617;hp=03fd26d9e47898f127efde156379f62d45a45bac;hpb=3ef4ce6c9cc006d728a8acea20bc18aadc88acdc;p=csit.git diff --git a/tests/perf/10ge2p1x520-ethip4-ip4base-ipolicemarkbase-ndrdisc.robot b/tests/perf/10ge2p1x520-ethip4-ip4base-ipolicemarkbase-ndrdisc.robot index 03fd26d9e4..02cc4d71db 100644 --- a/tests/perf/10ge2p1x520-ethip4-ip4base-ipolicemarkbase-ndrdisc.robot +++ b/tests/perf/10ge2p1x520-ethip4-ip4base-ipolicemarkbase-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: @@ -14,21 +14,22 @@ *** Settings *** | Resource | resources/libraries/robot/performance.robot | Library | resources.libraries.python.Policer -| 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 | IP4FWD | BASE | DOT1Q +| ... | NIC_Intel-X520-DA2 | IP4FWD | BASE | DOT1Q +| ... | 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 policer test cases* | ... | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology @@ -53,13 +54,13 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544, RFC2698. *** Variables *** -#X520-DA2 bandwidth limit +# X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} | ${cir}= | ${100} | ${eir}= | ${150} *** Test Cases *** -| TC01: 64B NDR binary search - DUT IPv4 2r3c-ca policer - 1thread 1core 1rxq +| tc01-64B-1t1c-ethip4-ip4base-ipolicemarkbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 1 thread, 1 \ | | ... | phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 \ @@ -85,7 +86,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC02: 64B PDR binary search - DUT IPv4 2r3c-ca policer - 1thread 1core 1rxq +| tc02-64B-1t1c-ethip4-ip4base-ipolicemarkbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 1 thread, 1 \ | | ... | phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 \ @@ -110,10 +111,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 2r3c-ca policer - 1thread 1core 1rxq +| tc03-1518B-1t1c-ethip4-ip4base-ipolicemarkbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 1 thread, 1 \ | | ... | phy core, 1 receive queue per NIC port. [Ver] Find NDR for 1518 \ @@ -138,7 +139,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC04: 1518B PDR binary search - DUT IPv4 2r3c-ca policer - 1thread 1core 1rxq +| tc04-1518B-1t1c-ethip4-ip4base-ipolicemarkbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 1 thread, 1 \ | | ... | phy core, 1 receive queue per NIC port. [Ver] Find PDR for 1518 \ @@ -163,10 +164,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 2r3c-ca policer - 1thread 1core 1rxq +| tc05-9000B-1t1c-ethip4-ip4base-ipolicemarkbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 1 thread, 1 \ | | ... | phy core, 1 receive queue per NIC port. [Ver] Find NDR for 9000 \ @@ -190,7 +191,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC06: 9000B PDR binary search - DUT IPv4 2r3c-ca policer - 1thread 1core 1rxq +| tc06-9000B-1t1c-ethip4-ip4base-ipolicemarkbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 1 thread, 1 \ | | ... | phy core, 1 receive queue per NIC port. [Ver] Find PDR for 9000 \ @@ -214,10 +215,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 2r3c-ca policer - 2threads 2cores 1rxq +| tc07-64B-2t2c-ethip4-ip4base-ipolicemarkbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 2 threads, 2 \ | | ... | phy cores, 1 receive queue per NIC port. [Ver] Find NDR for 64 \ @@ -243,7 +244,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC08: 64B PDR binary search - DUT IPv4 2r3c-ca policer - 2threads 2cores 1rxq +| tc08-64B-2t2c-ethip4-ip4base-ipolicemarkbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 2 threads, 2 \ | | ... | phy cores, 1 receive queue per NIC port. [Ver] Find PDR for 64 \ @@ -268,10 +269,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 2r3c-ca policer - 2threads 2cores 1rxq +| tc09-1518B-2t2c-ethip4-ip4base-ipolicemarkbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 2 threads, 2 \ | | ... | phy cores, 1 receive queue per NIC port. [Ver] Find NDR for 1518 \ @@ -296,7 +297,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC10: 1518B PDR binary search - DUT IPv4 2r3c-ca policer - 2threads 2cores 1rxq +| tc10-1518B-2t2c-ethip4-ip4base-ipolicemarkbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 2 threads, 2 \ | | ... | phy cores, 1 receive queue per NIC port. [Ver] Find PDR for 1518 \ @@ -321,10 +322,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 2r3c-ca policer - 2threads 2cores 1rxq +| tc11-9000B-2t2c-ethip4-ip4base-ipolicemarkbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 2 threads, 2 \ | | ... | phy cores, 1 receive queue per NIC port. [Ver] Find NDR for 9000 \ @@ -348,7 +349,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC12: 9000B PDR binary search - DUT IPv4 2r3c-ca policer - 2threads 2cores 1rxq +| tc12-9000B-2t2c-ethip4-ip4base-ipolicemarkbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 2 threads, 2 \ | | ... | phy cores, 1 receive queue per NIC port. [Ver] Find PDR for 9000 \ @@ -372,10 +373,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 2r3c-ca policer - 4threads 4cores 2rxq +| tc13-64B-4t4c-ethip4-ip4base-ipolicemarkbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 4 threads, 4 \ | | ... | phy cores, 2 receive queue per NIC port. [Ver] Find NDR for 64 \ @@ -400,7 +401,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC14: 64B PDR binary search - DUT IPv4 2r3c-ca policer - 4threads 4cores 2rxq +| tc14-64B-4t4c-ethip4-ip4base-ipolicemarkbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 4 threads, 4 \ | | ... | phy cores, 2 receive queue per NIC port. [Ver] Find PDR for 64 \ @@ -425,10 +426,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 2r3c-ca policer - 4threads 4cores 2rxq +| tc15-1518B-4t4c-ethip4-ip4base-ipolicemarkbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 4 threads, 4 \ | | ... | phy cores, 2 receive queue per NIC port. [Ver] Find NDR for 1518 \ @@ -453,7 +454,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC16: 1518B PDR binary search - DUT IPv4 2r3c-ca policer - 4threads 4cores 2rxq +| tc16-1518B-4t4c-ethip4-ip4base-ipolicemarkbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 4 threads, 4 \ | | ... | phy cores, 2 receive queue per NIC port. [Ver] Find PDR for 1518 \ @@ -478,10 +479,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 2r3c-ca policer - 4threads 4cores 2rxq +| tc17-9000B-4t4c-ethip4-ip4base-ipolicemarkbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 4 threads, 4 \ | | ... | phy cores, 2 receive queue per NIC port. [Ver] Find NDR for 9000 \ @@ -505,7 +506,7 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC18: 9000B PDR binary search - DUT IPv4 2r3c-ca policer - 4threads 4cores 2rxq +| tc18-9000B-4t4c-ethip4-ip4base-ipolicemarkbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing and policer config with 4 threads, 4 \ | | ... | phy cores, 2 receive queue per NIC port. [Ver] Find PDR for 9000 \ @@ -529,5 +530,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}