diff options
author | Jan Gelety <jgelety@cisco.com> | 2019-11-12 05:27:43 +0100 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2019-11-28 18:26:21 +0100 |
commit | d68951ac245150eeefa6e0f4156e4c1b5c9e9325 (patch) | |
tree | 487554a7547218d27f0a61ec02b70502c32cdcb4 /tests/vpp/perf/lb | |
parent | ed0258a440cfad7023d643f717ab78ac568dc59b (diff) |
Python3: resources and libraries
Change-Id: I1392c06b1d64f62b141d24c0d42a8e36913b15e2
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'tests/vpp/perf/lb')
4 files changed, 28 insertions, 28 deletions
diff --git a/tests/vpp/perf/lb/2n1l-10ge2p1x710-ethip4-loadbalancer-l3dsr-ndrpdr.robot b/tests/vpp/perf/lb/2n1l-10ge2p1x710-ethip4-loadbalancer-l3dsr-ndrpdr.robot index 16e6e6011c..5839544779 100644 --- a/tests/vpp/perf/lb/2n1l-10ge2p1x710-ethip4-loadbalancer-l3dsr-ndrpdr.robot +++ b/tests/vpp/perf/lb/2n1l-10ge2p1x710-ethip4-loadbalancer-l3dsr-ndrpdr.robot @@ -13,19 +13,19 @@ *** Settings *** | Resource | resources/libraries/robot/shared/default.robot -| ... +| | Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | ... | NIC_Intel-X710 | ETH | IP4 | LOADBALANCER_L3DSR | DRV_VFIO_PCI -| ... +| | Suite Setup | Setup suite single link | performance | Suite Teardown | Tear down suite | performance | Test Setup | Setup test | Test Teardown | Tear down test | performance -| ... +| | Test Template | Local Template -| ... +| | Documentation | *RFC2544: Pkt throughput loadbalancer l3dsr test cases* -| ... +| | ... | *[Top] Network Topologies:* TG-DUT1-TG 2-node circular topology\ | ... | with single links between nodes. | ... | *[Enc] Packet Encapsulations:* Eth-IPv4-UDP for LoadBalancer l3dsr. @@ -60,17 +60,17 @@ | | ... | [Cfg] DUT runs LoadBalancer l3dsr config.\ | | ... | Each DUT uses ${phy_cores} physical core(s) for worker threads. | | ... | [Ver] Measure NDR and PDR values using MLRsearch algorithm.\ -| | ... +| | | | ... | *Arguments:* | | ... | - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). | | ... | Type: integer, string | | ... | - phy_cores - Number of physical cores. Type: integer | | ... | - rxq - Number of RX queues, default value: ${None}. Type: integer -| | ... +| | | | [Arguments] | ${frame_size} | ${phy_cores} | ${rxq}=${None} -| | ... +| | | | Set Test Variable | \${frame_size} -| | ... +| | | | Given Set Max Rate And Jumbo | | And Add worker threads to all DUTs | ${phy_cores} | ${rxq} | | And Pre-initialize layer driver | ${nic_driver} diff --git a/tests/vpp/perf/lb/2n1l-10ge2p1x710-ethip4-loadbalancer-maglev-ndrpdr.robot b/tests/vpp/perf/lb/2n1l-10ge2p1x710-ethip4-loadbalancer-maglev-ndrpdr.robot index e5d421ff86..ffa61c1c81 100644 --- a/tests/vpp/perf/lb/2n1l-10ge2p1x710-ethip4-loadbalancer-maglev-ndrpdr.robot +++ b/tests/vpp/perf/lb/2n1l-10ge2p1x710-ethip4-loadbalancer-maglev-ndrpdr.robot @@ -13,19 +13,19 @@ *** Settings *** | Resource | resources/libraries/robot/shared/default.robot -| ... +| | Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | ... | NIC_Intel-X710 | ETH | IP4 | LOADBALANCER_MAGLEV | DRV_VFIO_PCI -| ... +| | Suite Setup | Setup suite single link | performance | Suite Teardown | Tear down suite | performance | Test Setup | Setup test | Test Teardown | Tear down test | performance -| ... +| | Test Template | Local Template -| ... +| | Documentation | *RFC2544: Pkt throughput loadbalancer maglev test cases* -| ... +| | ... | *[Top] Network Topologies:* TG-DUT1-TG 2-node circular topology\ | ... | with single links between nodes. | ... | *[Enc] Packet Encapsulations:* Eth-IPv4-UDP for LoadBalancer maglev. @@ -60,17 +60,17 @@ | | ... | [Cfg] DUT runs LoadBalancer maglev config.\ | | ... | Each DUT uses ${phy_cores} physical core(s) for worker threads. | | ... | [Ver] Measure NDR and PDR values using MLRsearch algorithm.\ -| | ... +| | | | ... | *Arguments:* | | ... | - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). | | ... | Type: integer, string | | ... | - phy_cores - Number of physical cores. Type: integer | | ... | - rxq - Number of RX queues, default value: ${None}. Type: integer -| | ... +| | | | [Arguments] | ${frame_size} | ${phy_cores} | ${rxq}=${None} -| | ... +| | | | Set Test Variable | \${frame_size} -| | ... +| | | | Given Set Max Rate And Jumbo | | And Add worker threads to all DUTs | ${phy_cores} | ${rxq} | | And Pre-initialize layer driver | ${nic_driver} diff --git a/tests/vpp/perf/lb/2n1l-10ge2p1x710-ethip4-loadbalancer-nat4-ndrpdr.robot b/tests/vpp/perf/lb/2n1l-10ge2p1x710-ethip4-loadbalancer-nat4-ndrpdr.robot index 8b7bd42d4a..d67d99fb0f 100644 --- a/tests/vpp/perf/lb/2n1l-10ge2p1x710-ethip4-loadbalancer-nat4-ndrpdr.robot +++ b/tests/vpp/perf/lb/2n1l-10ge2p1x710-ethip4-loadbalancer-nat4-ndrpdr.robot @@ -13,19 +13,19 @@ *** Settings *** | Resource | resources/libraries/robot/shared/default.robot -| ... +| | Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | ... | NIC_Intel-X710 | ETH | IP4 | LOADBALANCER_NAT4 | DRV_VFIO_PCI -| ... +| | Suite Setup | Setup suite single link | performance | Suite Teardown | Tear down suite | performance | Test Setup | Setup test | Test Teardown | Tear down test | performance -| ... +| | Test Template | Local Template -| ... +| | Documentation | *RFC2544: Pkt throughput loadbalancer nat4 test cases* -| ... +| | ... | *[Top] Network Topologies:* TG-DUT1-TG 2-node circular topology\ | ... | with single links between nodes. | ... | *[Enc] Packet Encapsulations:* Eth-IPv4-UDP for LoadBalancer nat4. @@ -60,17 +60,17 @@ | | ... | [Cfg] DUT runs LoadBalancer nat4 config.\ | | ... | Each DUT uses ${phy_cores} physical core(s) for worker threads. | | ... | [Ver] Measure NDR and PDR values using MLRsearch algorithm.\ -| | ... +| | | | ... | *Arguments:* | | ... | - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). | | ... | Type: integer, string | | ... | - phy_cores - Number of physical cores. Type: integer | | ... | - rxq - Number of RX queues, default value: ${None}. Type: integer -| | ... +| | | | [Arguments] | ${frame_size} | ${phy_cores} | ${rxq}=${None} -| | ... +| | | | Set Test Variable | \${frame_size} -| | ... +| | | | Given Set Max Rate And Jumbo | | And Add worker threads to all DUTs | ${phy_cores} | ${rxq} | | And Pre-initialize layer driver | ${nic_driver} diff --git a/tests/vpp/perf/lb/regenerate_testcases.py b/tests/vpp/perf/lb/regenerate_testcases.py index 645d3ada65..2ea7010c28 100755 --- a/tests/vpp/perf/lb/regenerate_testcases.py +++ b/tests/vpp/perf/lb/regenerate_testcases.py @@ -15,4 +15,4 @@ from resources.libraries.python.autogen.Regenerator import Regenerator -Regenerator().regenerate_glob("*.robot") +Regenerator().regenerate_glob(u"*.robot") |