-# 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:
*** Settings ***
| Resource | resources/libraries/robot/performance.robot
-| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_LONG
-| ... | NIC_Intel-X710 | PERFTEST_BASE
+| ...
+| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC
+| ... | NIC_Intel-X710 | ETH | L2BDMACLRN | BASE
+| ...
| Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
| ... | L2 | Intel-X710
| 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-bridge
-| ... | 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-bridge
+| ...
| Documentation | *RFC2544: Pkt throughput L2BD test cases*
| ...
| ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology\
| ... | *[Ref] Applicable standard specifications:* RFC2544.
*** Variables ***
-#X710 bandwidth limit
+# X710 bandwidth limit
| ${s_limit} | ${10000000000}
*** Keywords ***
| | Find PDR using binary search and pps
| | ... | ${framesize} | ${binary_min} | ${binary_max} | 3-node-bridge
| | ... | ${min_rate} | ${max_rate} | ${threshold}
-| | ... | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
+| | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
*** Test Cases ***
-| TC01: 64B NDR binary search - DUT L2BD - 1thread 1core 1rxq
+| tc01-64B-1t1c-eth-l2bdbasemaclrn-ndrdisc
| | ... | ${64} | ${100000} | 1 | 1
-| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
+| | [Tags] | 1T1C | STHREAD | NDRDISC
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 1 thread, 1 phy core, 1 receive queue per NIC port.
| | ... | linerate, step 100kpps.
| | [Template] | L2 Bridge Domain NDR Binary Search
-| TC02: 64B PDR binary search - DUT L2BD - 1thread 1core 1rxq
+| tc02-64B-1t1c-eth-l2bdbasemaclrn-pdrdisc
| | ... | ${64} | ${100000} | 1 | 1
-| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
+| | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 1 thread, 1 phy core, 1 receive queue per NIC port.
| | ... | linerate, step 100kpps, LT=0.5%.
| | [Template] | L2 Bridge Domain PDR Binary Search
-| TC03: 1518B NDR binary search - DUT L2BD - 1thread 1core 1rxq
+| tc03-1518B-1t1c-eth-l2bdbasemaclrn-ndrdisc
| | ... | ${1518} | ${10000} | 1 | 1
-| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
+| | [Tags] | 1T1C | STHREAD | NDRDISC
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 1 thread, 1 phy core, 1 receive queue per NIC port.
| | ... | linerate, step 10kpps.
| | [Template] | L2 Bridge Domain NDR Binary Search
-| TC04: 1518B PDR binary search - DUT L2BD - 1thread 1core 1rxq
+| tc04-1518B-1t1c-eth-l2bdbasemaclrn-pdrdisc
| | ... | ${1518} | ${10000} | 1 | 1
-| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
+| | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 1 thread, 1 phy core, 1 receive queue per NIC port.
| | ... | linerate, step 10kpps, LT=0.5%.
| | [Template] | L2 Bridge Domain PDR Binary Search
-| TC05: 9000B NDR binary search - DUT L2BD - 1thread 1core 1rxq
+| tc05-9000B-1t1c-eth-l2bdbasemaclrn-ndrdisc
| | ... | ${9000} | ${10000} | 1 | 1
-| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
+| | [Tags] | 1T1C | STHREAD | NDRDISC
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 1 thread, 1 phy core, 1 receive queue per NIC port.
| | ... | linerate, step 10kpps.
| | [Template] | L2 Bridge Domain NDR Binary Search
-| TC06: 9000B PDR binary search - DUT L2BD - 1thread 1core 1rxq
+| tc06-9000B-1t1c-eth-l2bdbasemaclrn-pdrdisc
| | ... | ${9000} | ${10000} | 1 | 1
-| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
+| | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 1 thread, 1 phy core, 1 receive queue per NIC port.
| | ... | linerate, step 10kpps, LT=0.5%.
| | [Template] | L2 Bridge Domain PDR Binary Search
-| TC07: 64B NDR binary search - DUT L2BD - 2thread 2core 1rxq
+| tc07-64B-2t2c-eth-l2bdbasemaclrn-ndrdisc
| | ... | ${64} | ${100000} | 2 | 1
-| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
+| | [Tags] | 2T2C | MTHREAD | NDRDISC
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port.
| | ... | linerate, step 100kpps.
| | [Template] | L2 Bridge Domain NDR Binary Search
-| TC08: 64B PDR binary search - DUT L2BD - 2thread 2core 1rxq
+| tc08-64B-2t2c-eth-l2bdbasemaclrn-pdrdisc
| | ... | ${64} | ${100000} | 2 | 1
-| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
+| | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port.
| | ... | linerate, step 100kpps, LT=0.5%.
| | [Template] | L2 Bridge Domain PDR Binary Search
-| TC09: 1518B NDR binary search - DUT L2BD - 2thread 2core 1rxq
+| tc09-1518B-2t2c-eth-l2bdbasemaclrn-ndrdisc
| | ... | ${1518} | ${10000} | 2 | 1
-| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH
+| | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port.
| | ... | linerate, step 10kpps.
| | [Template] | L2 Bridge Domain NDR Binary Search
-| TC10: 1518B PDR binary search - DUT L2BD - 2thread 2core 1rxq
+| tc10-1518B-2t2c-eth-l2bdbasemaclrn-pdrdisc
| | ... | ${1518} | ${10000} | 2 | 1
-| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
+| | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port.
| | ... | linerate, step 100kpps, LT=0.5%.
| | [Template] | L2 Bridge Domain PDR Binary Search
-| TC11: 9000B NDR binary search - DUT L2BD - 2thread 2core 1rxq
+| tc11-9000B-2t2c-eth-l2bdbasemaclrn-ndrdisc
| | ... | ${9000} | ${10000} | 2 | 1
-| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH
+| | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port.
| | ... | linerate, step 10kpps.
| | [Template] | L2 Bridge Domain NDR Binary Search
-| TC12: 9000B PDR binary search - DUT L2BD - 2thread 2core 1rxq
+| tc12-9000B-2t2c-eth-l2bdbasemaclrn-pdrdisc
| | ... | ${9000} | ${10000} | 2 | 1
-| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
+| | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port.
| | ... | linerate, step 10kpps, LT=0.5%.
| | [Template] | L2 Bridge Domain PDR Binary Search
-| TC13: 64B NDR binary search - DUT L2BD - 4thread 4core 2rxq
+| tc13-64B-4t4c-eth-l2bdbasemaclrn-ndrdisc
| | ... | ${64} | ${100000} | 4 | 2
-| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
+| | [Tags] | 4T4C | MTHREAD | NDRDISC
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port.
| | ... | linerate, step 100kpps.
| | [Template] | L2 Bridge Domain NDR Binary Search
-| TC14: 64B PDR binary search - DUT L2BD - 4thread 4core 2rxq
+| tc14-64B-4t4c-eth-l2bdbasemaclrn-pdrdisc
| | ... | ${64} | ${100000} | 4 | 2
-| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
+| | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port.
| | ... | linerate, step 100kpps, LT=0.5%.
| | [Template] | L2 Bridge Domain PDR Binary Search
-| TC15: 1518B NDR binary search - DUT L2BD - 4thread 4core 2rxq
+| tc15-1518B-4t4c-eth-l2bdbasemaclrn-ndrdisc
| | ... | ${1518} | ${10000} | 4 | 2
-| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH
+| | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port.
| | ... | linerate, step 10kpps.
| | [Template] | L2 Bridge Domain NDR Binary Search
-| TC16: 1518B PDR binary search - DUT L2BD - 4thread 4core 2rxq
+| tc16-1518B-4t4c-eth-l2bdbasemaclrn-pdrdisc
| | ... | ${1518} | ${10000} | 4 | 2
-| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
+| | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port.
| | ... | linerate, step 10kpps, LT=0.5%.
| | [Template] | L2 Bridge Domain PDR Binary Search
-| TC17: 9000B NDR binary search - DUT L2BD - 4thread 4core 2rxq
+| tc17-9000B-4t4c-eth-l2bdbasemaclrn-ndrdisc
| | ... | ${9000} | ${10000} | 4 | 2
-| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH
+| | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port.
| | ... | linerate, step 10kpps.
| | [Template] | L2 Bridge Domain NDR Binary Search
-| TC18: 9000B PDR binary search - DUT L2BD - 4thread 4core 2rxq
+| tc18-9000B-4t4c-eth-l2bdbasemaclrn-pdrdisc
| | ... | ${9000} | ${10000} | 4 | 2
-| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
+| | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
| | [Documentation]
| | ... | [Cfg] DUT runs L2BD switching config with with\
| | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port.