10.10. VM VHOST

10.10.1. 10ge2p1x710-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr suite

RFC2544: Pkt throughput L2BD test cases with vhost and vpp link bonding

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. 802.1q tagging is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with VPP link bonding (mode LACP, transmit policy l34) on link between DUT1 and DUT2 and L2 bridge-domain with MAC learning enabled. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running testpmd interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | DOT1Q | L2BDMACLRN | BASE | VHOST | 1VM
| ... | VHOST_1024 | LBOND | LBOND_VPP | LBOND_MODE_LACP | LBOND_LB_L34
| ... | LBOND_1L | VM_TESTPMD
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | lacp_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Link bonding config
| ${bond_mode}= | lacp
| ${lb_mode}= | l34
| ${bd_id1}= | 1
| ${bd_id2}= | 2
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.1.1. Local Template

[Cfg] DUT runs L2BD switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Add VLAN Strip Offload switch off between DUTs in 3-node single link topology
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 bridge domains with Vhost-User and VLAN with VPP link bonding in a 3-node circular topology  ${bd_id1}  ${bd_id2}  ${subid}  ${tag_rewrite}  ${bond_mode}  ${lb_mode}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=testpmd_io
 Then Find NDR and PDR intervals using optimized search

10.10.1.2. tc01-64B-1c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.1.3. tc02-64B-2c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.1.4. tc03-64B-4c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.1.5. tc04-1518B-1c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.1.6. tc05-1518B-2c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.1.7. tc06-1518B-4c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.1.8. tc07-9000B-1c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.1.9. tc08-9000B-2c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.1.10. tc09-9000B-4c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.1.11. tc10-IMIX-1c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.1.12. tc11-IMIX-2c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.1.13. tc12-IMIX-4c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.2. 10ge2p1x710-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr suite

RFC2544: Pkt throughput L2BD test cases with vhost and vpp link bonding

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. 802.1q tagging is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with VPP link bonding (mode LACP, transmit policy l34) on link between DUT1 and DUT2 and L2 bridge-domain with MAC learning enabled. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running VPP l2xc interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | DOT1Q | L2BDMACLRN | BASE | VHOST | 1VM
| ... | VHOST_1024 | LBOND | LBOND_VPP | LBOND_MODE_LACP | LBOND_LB_L34
| ... | LBOND_1L | NF_VPPL2XC
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | lacp_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Link bonding config
| ${bond_mode}= | lacp
| ${lb_mode}= | l34
| ${bd_id1}= | 1
| ${bd_id2}= | 2
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.2.1. Local Template

[Cfg] DUT runs L2BD switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Add VLAN Strip Offload switch off between DUTs in 3-node single link topology
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 bridge domains with Vhost-User and VLAN with VPP link bonding in a 3-node circular topology  ${bd_id1}  ${bd_id2}  ${subid}  ${tag_rewrite}  ${bond_mode}  ${lb_mode}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=vpp_chain_l2xc
 Then Find NDR and PDR intervals using optimized search

10.10.2.2. tc01-64B-1c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.2.3. tc02-64B-2c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.2.4. tc03-64B-4c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.2.5. tc04-1518B-1c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.2.6. tc05-1518B-2c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.2.7. tc06-1518B-4c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.2.8. tc07-9000B-1c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.2.9. tc08-9000B-2c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.2.10. tc09-9000B-4c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.2.11. tc10-IMIX-1c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.2.12. tc11-IMIX-2c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.2.13. tc12-IMIX-4c-1lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.3. 10ge2p1x710-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr suite

RFC2544: Pkt throughput L2XC test cases with vhost and vpp link bonding

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect. 802.1q tagging is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with VPP link bonding (mode LACP, transmit policy l34) on link between DUT1 and DUT2 and L2 cross- connect. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running testpmd interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | DOT1Q | L2XCFWD | BASE | VHOST | 1VM
| ... | VHOST_1024 | LBOND | LBOND_VPP | LBOND_MODE_LACP | LBOND_LB_L34
| ... | LBOND_1L | NF_TESTPMD
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | lacp_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Link bonding config
| ${bond_mode}= | lacp
| ${lb_mode}= | l34
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.3.1. Local Template

[Cfg] DUT runs L2XC switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Add VLAN Strip Offload switch off between DUTs in 3-node single link topology
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 xconnect with Vhost-User and VLAN with VPP link bonding in 3-node circular topology  ${subid}  ${tag_rewrite}  ${bond_mode}  ${lb_mode}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=testpmd_io
 Then Find NDR and PDR intervals using optimized search

10.10.3.2. tc01-64B-1c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.3.3. tc02-64B-2c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.3.4. tc03-64B-4c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.3.5. tc04-1518B-1c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.3.6. tc05-1518B-2c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.3.7. tc06-1518B-4c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.3.8. tc07-9000B-1c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.3.9. tc08-9000B-2c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.3.10. tc09-9000B-4c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.3.11. tc10-IMIX-1c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.3.12. tc11-IMIX-2c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.3.13. tc12-IMIX-4c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.4. 10ge2p1x710-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr suite

RFC2544: Pkt throughput L2XC test cases with vhost and vpp link bonding

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect. 802.1q tagging is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with VPP link bonding (mode LACP, transmit policy l34) on link between DUT1 and DUT2 and L2 cross- connect. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running VPP l2xc interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | DOT1Q | L2XCFWD | BASE | VHOST | 1VM
| ... | VHOST_1024 | LBOND | LBOND_VPP | LBOND_MODE_LACP | LBOND_LB_L34
| ... | LBOND_1L | NF_VPPL2XC
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | lacp_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Link bonding config
| ${bond_mode}= | lacp
| ${lb_mode}= | l34
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.4.1. Local Template

[Cfg] DUT runs L2XC switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Add VLAN Strip Offload switch off between DUTs in 3-node single link topology
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 xconnect with Vhost-User and VLAN with VPP link bonding in 3-node circular topology  ${subid}  ${tag_rewrite}  ${bond_mode}  ${lb_mode}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=vpp_chain_l2xc
 Then Find NDR and PDR intervals using optimized search

10.10.4.2. tc01-64B-1c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.4.3. tc02-64B-2c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.4.4. tc03-64B-4c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.4.5. tc04-1518B-1c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.4.6. tc05-1518B-2c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.4.7. tc06-1518B-4c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.4.8. tc07-9000B-1c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.4.9. tc08-9000B-2c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.4.10. tc09-9000B-4c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.4.11. tc10-IMIX-1c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.4.12. tc11-IMIX-2c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.4.13. tc12-IMIX-4c-1lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.5. 10ge2p1x710-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr suite

RFC2544: Pkt throughput L2BD test cases with vhost and vpp link bonding

[Top] Network Topologies: TG-DUT1=DUT2-TG 3-node circular topology with single links between TG and DUT nodes and double link between DUT nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. 802.1q tagging is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with VPP link bonding (mode LACP, transmit policy l34) on link between DUT1 and DUT2 and L2 bridge-domain with MAC learning enabled. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running testpmd interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_DOUBLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | DOT1Q | L2BDMACLRN | BASE | VHOST | 1VM
| ... | VHOST_1024 | LBOND | LBOND_VPP | LBOND_MODE_LACP | LBOND_LB_L34
| ... | LBOND_2L | VM_TESTPMD
| ...
| Suite Setup | Setup suite double link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | lacp_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Link bonding config
| ${bond_mode}= | lacp
| ${lb_mode}= | l34
| ${bd_id1}= | 1
| ${bd_id2}= | 2
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.5.1. Local Template

[Cfg] DUT runs L2BD switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Add VLAN Strip Offload switch off between DUTs in 3-node double link topology
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 bridge domains with Vhost-User and VLAN with VPP link bonding in a 3-node circular topology  ${bd_id1}  ${bd_id2}  ${subid}  ${tag_rewrite}  ${bond_mode}  ${lb_mode}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=testpmd_io
 Then Find NDR and PDR intervals using optimized search

10.10.5.2. tc01-64B-1c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.5.3. tc02-64B-2c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.5.4. tc03-64B-4c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.5.5. tc04-1518B-1c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.5.6. tc05-1518B-2c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.5.7. tc06-1518B-4c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.5.8. tc07-9000B-1c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.5.9. tc08-9000B-2c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.5.10. tc09-9000B-4c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.5.11. tc10-IMIX-1c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.5.12. tc11-IMIX-2c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.5.13. tc12-IMIX-4c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.6. 10ge2p1x710-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr suite

RFC2544: Pkt throughput L2BD test cases with vhost and vpp link bonding

[Top] Network Topologies: TG-DUT1=DUT2-TG 3-node circular topology with single links between TG and DUT nodes and double link between DUT nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. 802.1q tagging is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with VPP link bonding (mode LACP, transmit policy l34) on link between DUT1 and DUT2 and L2 bridge-domain with MAC learning enabled. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running VPP l2xc interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_DOUBLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | DOT1Q | L2BDMACLRN | BASE | VHOST | 1VM
| ... | VHOST_1024 | LBOND | LBOND_VPP | LBOND_MODE_LACP | LBOND_LB_L34
| ... | LBOND_2L | NF_VPPL2XC
| ...
| Suite Setup | Setup suite double link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | lacp_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Link bonding config
| ${bond_mode}= | lacp
| ${lb_mode}= | l34
| ${bd_id1}= | 1
| ${bd_id2}= | 2
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.6.1. Local Template

[Cfg] DUT runs L2BD switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Add VLAN Strip Offload switch off between DUTs in 3-node double link topology
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 bridge domains with Vhost-User and VLAN with VPP link bonding in a 3-node circular topology  ${bd_id1}  ${bd_id2}  ${subid}  ${tag_rewrite}  ${bond_mode}  ${lb_mode}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=vpp_chain_l2xc
 Then Find NDR and PDR intervals using optimized search

10.10.6.2. tc01-64B-1c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.6.3. tc02-64B-2c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.6.4. tc03-64B-4c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.6.5. tc04-1518B-1c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.6.6. tc05-1518B-2c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.6.7. tc06-1518B-4c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.6.8. tc07-9000B-1c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.6.9. tc08-9000B-2c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.6.10. tc09-9000B-4c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.6.11. tc10-IMIX-1c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.6.12. tc11-IMIX-2c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.6.13. tc12-IMIX-4c-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.7. 10ge2p1x710-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr suite

RFC2544: Pkt throughput L2XC test cases with vhost and vpp link bonding

[Top] Network Topologies: TG-DUT1=DUT2-TG 3-node circular topology with single links between TG and DUT nodes and double link between DUT nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect. 802.1q tagging is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with VPP link bonding (mode LACP, transmit policy l34) on link between DUT1 and DUT2 and L2 cross- connect. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running testpmd interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_DOUBLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | DOT1Q | L2XCFWD | BASE | VHOST | 1VM
| ... | VHOST_1024 | LBOND | LBOND_VPP | LBOND_MODE_LACP | LBOND_LB_L34
| ... | LBOND_2L | NF_TESTPMD
| ...
| Suite Setup | Setup suite double link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | lacp_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Link bonding config
| ${bond_mode}= | lacp
| ${lb_mode}= | l34
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.7.1. Local Template

[Cfg] DUT runs L2XC switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Add VLAN Strip Offload switch off between DUTs in 3-node double link topology
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 xconnect with Vhost-User and VLAN with VPP link bonding in 3-node circular topology  ${subid}  ${tag_rewrite}  ${bond_mode}  ${lb_mode}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=testpmd_io
 Then Find NDR and PDR intervals using optimized search

10.10.7.2. tc01-64B-1c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.7.3. tc02-64B-2c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.7.4. tc03-64B-4c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.7.5. tc04-1518B-1c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.7.6. tc05-1518B-2c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.7.7. tc06-1518B-4c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.7.8. tc07-9000B-1c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.7.9. tc08-9000B-2c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.7.10. tc09-9000B-4c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.7.11. tc10-IMIX-1c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.7.12. tc11-IMIX-2c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.7.13. tc12-IMIX-4c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.8. 10ge2p1x710-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr suite

RFC2544: Pkt throughput L2XC test cases with vhost and vpp link bonding

[Top] Network Topologies: TG-DUT1=DUT2-TG 3-node circular topology with single links between TG and DUT nodes and double link between DUT nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect. 802.1q tagging is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with VPP link bonding (mode LACP, transmit policy l34) on link between DUT1 and DUT2 and L2 cross- connect. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running VPP l2xc interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_DOUBLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | DOT1Q | L2XCFWD | BASE | VHOST | 1VM
| ... | VHOST_1024 | LBOND | LBOND_VPP | LBOND_MODE_LACP | LBOND_LB_L34
| ... | LBOND_2L | NF_VPPL2XC
| ...
| Suite Setup | Setup suite double link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | lacp_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Link bonding config
| ${bond_mode}= | lacp
| ${lb_mode}= | l34
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.8.1. Local Template

[Cfg] DUT runs L2XC switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Add VLAN Strip Offload switch off between DUTs in 3-node double link topology
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 xconnect with Vhost-User and VLAN with VPP link bonding in 3-node circular topology  ${subid}  ${tag_rewrite}  ${bond_mode}  ${lb_mode}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=vpp_chain_l2xc
 Then Find NDR and PDR intervals using optimized search

10.10.8.2. tc01-64B-1c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.8.3. tc02-64B-2c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.8.4. tc03-64B-4c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.8.5. tc04-1518B-1c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.8.6. tc05-1518B-2c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.8.7. tc06-1518B-4c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.8.8. tc07-9000B-1c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.8.9. tc08-9000B-2c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.8.10. tc09-9000B-4c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.8.11. tc10-IMIX-1c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.8.12. tc11-IMIX-2c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.8.13. tc12-IMIX-4c-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.9. 10ge2p1x710-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr suite

RFC2544: Pkt throughput L2BD with vhost and IEEE 802.1Q test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. IEEE802.1Q tagging is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge-domain and MAC learning enabled. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running testpmd interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets aregenerated by TG on links to DUTs. TG traffic profile contains two L3flow-groups (flow-group per direction, 254 flows per flow-group) withall packets containing Ethernet header, IPv4 header with IP protocol=61and static payload. MAC addresses are matching MAC addresses of the TGnode interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | DOT1Q | L2BDMACLRN | BASE | VHOST | 1VM
| ... | VHOST_1024 | NF_TESTPMD
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
| ${bd_id1}= | 1
| ${bd_id2}= | 2
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.9.1. Local Template

[Cfg] Each DUT runs L2BD switching with VLAN and 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 bridge domains with Vhost-User and VLAN in circular topology  ${bd_id1}  ${bd_id2}  ${subid}  ${tag_rewrite}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=testpmd_io
 Then Find NDR and PDR intervals using optimized search

10.10.9.2. tc01-64B-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.9.3. tc02-64B-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.9.4. tc03-64B-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.9.5. tc04-1518B-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.9.6. tc05-1518B-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.9.7. tc06-1518B-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.9.8. tc07-9000B-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.9.9. tc08-9000B-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.9.10. tc09-9000B-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.9.11. tc10-IMIX-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.9.12. tc11-IMIX-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.9.13. tc12-IMIX-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.10. 10ge2p1x710-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr suite

RFC2544: Pkt throughput L2BD with vhost abd IEEE 802.1Q test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. IEEE802.1Q tagging is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge-domain and MAC learning enabled. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running VPP l2xc interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets aregenerated by TG on links to DUTs. TG traffic profile contains two L3flow-groups (flow-group per direction, 254 flows per flow-group) withall packets containing Ethernet header, IPv4 header with IP protocol=61and static payload. MAC addresses are matching MAC addresses of the TGnode interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | DOT1Q | L2BDMACLRN | BASE | VHOST | 1VM
| ... | VHOST_1024 | NF_VPPL2XC
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
| ${bd_id1}= | 1
| ${bd_id2}= | 2
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.10.1. Local Template

[Cfg] Each DUT runs L2BD switching with VLAN and 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 bridge domains with Vhost-User and VLAN in circular topology  ${bd_id1}  ${bd_id2}  ${subid}  ${tag_rewrite}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=vpp_chain_l2xc
 Then Find NDR and PDR intervals using optimized search

10.10.10.2. tc01-64B-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.10.3. tc02-64B-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.10.4. tc03-64B-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.10.5. tc04-1518B-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.10.6. tc05-1518B-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.10.7. tc06-1518B-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.10.8. tc07-9000B-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.10.9. tc08-9000B-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.10.10. tc09-9000B-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.10.11. tc10-IMIX-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.10.12. tc11-IMIX-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.10.13. tc12-IMIX-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.11. 10ge2p1x710-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr suite

RFC2544: Pkt throughput L2XC test cases with vhost

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect. 802.1q tagging is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross- connect. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running testpmd interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | DOT1Q | L2XCFWD | BASE | VHOST | 1VM | VHOST_1024
| ... | NF_TESTPMD
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.11.1. Local Template

[Cfg] DUT runs L2XC switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology  ${subid}  ${tag_rewrite}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=testpmd_io
 Then Find NDR and PDR intervals using optimized search

10.10.11.2. tc01-64B-1c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.11.3. tc02-64B-2c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.11.4. tc03-64B-4c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.11.5. tc04-1518B-1c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.11.6. tc05-1518B-2c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.11.7. tc06-1518B-4c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.11.8. tc07-9000B-1c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.11.9. tc08-9000B-2c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.11.10. tc09-9000B-4c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.11.11. tc10-IMIX-1c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.11.12. tc11-IMIX-2c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.11.13. tc12-IMIX-4c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.12. 10ge2p1x710-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr suite

RFC2544: Pkt throughput L2XC test cases with vhost

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect. 802.1q tagging is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross- connect. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running VPP l2xc interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | DOT1Q | L2XCFWD | BASE | VHOST | 1VM | VHOST_1024
| ... | NF_VPPL2XC
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.12.1. Local Template

[Cfg] DUT runs L2XC switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology  ${subid}  ${tag_rewrite}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=vpp_chain_l2xc
 Then Find NDR and PDR intervals using optimized search

10.10.12.2. tc01-64B-1c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.12.3. tc02-64B-2c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.12.4. tc03-64B-4c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.12.5. tc04-1518B-1c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.12.6. tc05-1518B-2c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.12.7. tc06-1518B-4c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.12.8. tc07-9000B-1c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.12.9. tc08-9000B-2c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.12.10. tc09-9000B-4c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.12.11. tc10-IMIX-1c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.12.12. tc11-IMIX-2c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.12.13. tc12-IMIX-4c-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.13. 10ge2p1x710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr suite

RFC2544: Pkt throughput L2BD test cases with vhost

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge- domain and MAC learning enabled. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running testpmd interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | L2BDMACLRN | BASE | VHOST | 1VM | VHOST_1024
| ... | NF_TESTPMD
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.13.1. Local Template

[Cfg] DUT runs L2BD switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize layer interface  count=${nf_chains}
  And Initialize L2 bridge domains for multiple chains with Vhost-User  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=testpmd_io
 Then Find NDR and PDR intervals using optimized search

10.10.13.2. tc01-64B-1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.13.3. tc02-64B-2c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.13.4. tc03-64B-4c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.13.5. tc04-1518B-1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.13.6. tc05-1518B-2c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.13.7. tc06-1518B-4c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.13.8. tc07-9000B-1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.13.9. tc08-9000B-2c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.13.10. tc09-9000B-4c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.13.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.13.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.13.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.14. 10ge2p1x710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr suite

RFC2544: Pkt throughput L2BD test cases with vhost

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge- domain and MAC learning enabled. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running VPP l2xc interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | L2BDMACLRN | BASE | VHOST | 1VM | VHOST_1024
| ... | NF_VPPL2XC
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.14.1. Local Template

[Cfg] DUT runs L2BD switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize layer interface  count=${nf_chains}
  And Initialize L2 bridge domains for multiple chains with Vhost-User  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=vpp_chain_l2xc
 Then Find NDR and PDR intervals using optimized search

10.10.14.2. tc01-64B-1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.14.3. tc02-64B-2c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.14.4. tc03-64B-4c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.14.5. tc04-1518B-1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.14.6. tc05-1518B-2c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.14.7. tc06-1518B-4c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.14.8. tc07-9000B-1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.14.9. tc08-9000B-2c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.14.10. tc09-9000B-4c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.14.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.14.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.14.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.15. 10ge2p1x710-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr suite

RFC2544: Pkt throughput L2XC test cases with vhost

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross- connect. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running testpmd interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | L2XCFWD | BASE | VHOST | 1VM | VHOST_1024
| ... | NF_TESTPMD
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.15.1. Local Template

[Cfg] DUT runs L2XC switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 xconnect with Vhost-User  nf_nodes=${nf_nodes}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=testpmd_io
 Then Find NDR and PDR intervals using optimized search

10.10.15.2. tc01-64B-1c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.15.3. tc02-64B-2c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.15.4. tc03-64B-4c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.15.5. tc04-1518B-1c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.15.6. tc05-1518B-2c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.15.7. tc06-1518B-4c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.15.8. tc07-9000B-1c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.15.9. tc08-9000B-2c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.15.10. tc09-9000B-4c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.15.11. tc10-IMIX-1c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.15.12. tc11-IMIX-2c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.15.13. tc12-IMIX-4c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.16. 10ge2p1x710-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr suite

RFC2544: Pkt throughput L2XC test cases with vhost

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross- connect. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running VPP l2xc interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | L2XCFWD | BASE | VHOST | 1VM | VHOST_1024
| ... | NF_VPPL2XC
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.16.1. Local Template

[Cfg] DUT runs L2XC switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 xconnect with Vhost-User  nf_nodes=${nf_nodes}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=vpp_chain_l2xc
 Then Find NDR and PDR intervals using optimized search

10.10.16.2. tc01-64B-1c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.16.3. tc02-64B-2c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.16.4. tc03-64B-4c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.16.5. tc04-1518B-1c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.16.6. tc05-1518B-2c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.16.7. tc06-1518B-4c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.16.8. tc07-9000B-1c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.16.9. tc08-9000B-2c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.16.10. tc09-9000B-4c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.16.11. tc10-IMIX-1c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.16.12. tc11-IMIX-2c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.16.13. tc12-IMIX-4c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.17. 10ge2p1x710-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr suite

RFC2544: Pkt throughput IPv4 test cases with vhost

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and two static IPv4 /24 route entries. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running testpmd interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | BASE | VHOST | 1VM | VHOST_1024
| ... | NF_TESTPMD
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src253

10.10.17.1. Local Template

[Cfg] DUT runs IPv4 routing 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize IPv4 forwarding with vhost in 3-node circular topology  nf_nodes=${nf_nodes}  testpmd_mac=${TRUE}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=testpmd_mac
 Then Find NDR and PDR intervals using optimized search

10.10.17.2. tc01-64B-1c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.17.3. tc02-64B-2c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.17.4. tc03-64B-4c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.17.5. tc04-1518B-1c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.17.6. tc05-1518B-2c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.17.7. tc06-1518B-4c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.17.8. tc07-9000B-1c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.17.9. tc08-9000B-2c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.17.10. tc09-9000B-4c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.17.11. tc10-IMIX-1c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.17.12. tc11-IMIX-2c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.17.13. tc12-IMIX-4c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.18. 10ge2p1x710-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr suite

RFC2544: Pkt throughput IPv4 test cases with vhost

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and two static IPv4 /24 route entries. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running VPP ip4 interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | BASE | VHOST | 1VM | VHOST_1024
| ... | NF_VPPIP4
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src253

10.10.18.1. Local Template

[Cfg] DUT runs IPv4 routing 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize IPv4 forwarding with vhost in 3-node circular topology  nf_nodes=${nf_nodes}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=vpp_chain_ip4_noarp
 Then Find NDR and PDR intervals using optimized search

10.10.18.2. tc01-64B-1c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.18.3. tc02-64B-2c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.18.4. tc03-64B-4c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.18.5. tc04-1518B-1c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.18.6. tc05-1518B-2c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.18.7. tc06-1518B-4c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.18.8. tc07-9000B-1c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.18.9. tc08-9000B-2c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.18.10. tc09-9000B-4c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.18.11. tc10-IMIX-1c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.18.12. tc11-IMIX-2c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.18.13. tc12-IMIX-4c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.19. 10ge2p1x710-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr suite

RFC2544: Pkt throughput L2BD test cases with VXLANoIPv4 and vhost

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. Eth-IPv4-VXLAN-Eth-IPv4 is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge- domain and MAC learning enabled. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running testpmd interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC7348.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | L2BDMACLRN | ENCAP | VXLAN | L2OVRLAY | IP4UNRLAY
| ... | VHOST | 1VM | VHOST_1024 | NF_TESTPMD
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${50}
| ${bd_id1}= | 1
| ${bd_id2}= | 2
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.19.1. Local Template

[Cfg] DUT runs L2BD switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 bridge domains with Vhost-User and VXLANoIPv4 in 3-node circular topology  ${bd_id1}  ${bd_id2}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_chains}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=testpmd_io
 Then Find NDR and PDR intervals using optimized search

10.10.19.2. tc01-64B-1c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.19.3. tc02-64B-2c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.19.4. tc03-64B-4c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.19.5. tc04-1518B-1c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.19.6. tc05-1518B-2c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.19.7. tc06-1518B-4c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.19.8. tc07-9000B-1c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.19.9. tc08-9000B-2c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.19.10. tc09-9000B-4c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.19.11. tc10-IMIX-1c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.19.12. tc11-IMIX-2c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.19.13. tc12-IMIX-4c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.20. 10ge2p1x710-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr suite

RFC2544: Pkt throughput L2BD test cases with VXLANoIPv4 and vhost

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. Eth-IPv4-VXLAN-Eth-IPv4 is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge- domain and MAC learning enabled. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running VPP l2xc interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC7348.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | L2BDMACLRN | ENCAP | VXLAN | L2OVRLAY | IP4UNRLAY
| ... | VHOST | 1VM | VHOST_1024 | NF_VPPL2XC
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${50}
| ${bd_id1}= | 1
| ${bd_id2}= | 2
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.10.20.1. Local Template

[Cfg] DUT runs L2BD switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 bridge domains with Vhost-User and VXLANoIPv4 in 3-node circular topology  ${bd_id1}  ${bd_id2}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_chains}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=vpp_chain_l2xc
 Then Find NDR and PDR intervals using optimized search

10.10.20.2. tc01-64B-1c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.20.3. tc02-64B-2c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.20.4. tc03-64B-4c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.20.5. tc04-1518B-1c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.20.6. tc05-1518B-2c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.20.7. tc06-1518B-4c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.20.8. tc07-9000B-1c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.20.9. tc08-9000B-2c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.20.10. tc09-9000B-4c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.20.11. tc10-IMIX-1c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.20.12. tc11-IMIX-2c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.20.13. tc12-IMIX-4c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.21. 2n1l-10ge2p1x710-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr suite

RFC2544: Pkt throughput L2BD with vhost abd IEEE 802.1Q test cases

[Top] Network Topologies: TG-DUT1-TG 2-node circular topology withsingle links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. IEEE802.1Q tagging is applied on link between DUT1-if2 and TG-if2. [Cfg] DUT configuration: DUT1 is configured with L2 bridge-domain andMAC learning enabled. Qemu VNFs are connected to VPP viavhost-user interfaces. Guest is running testpmd interconnecting vhost-user interfaces, rxd/txd=1024. DUT1 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 254 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of NFs nodesinterfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | DOT1Q | L2BDMACLRN | BASE | VHOST | 1VM
| ... | VHOST_1024 | NF_TESTPMD
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
| ${bd_id1}= | 1
| ${bd_id2}= | 2
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-2n-dot1qip4asym-ip4src254

10.10.21.1. Local Template

[Cfg] Each DUT runs L2BD switching with VLAN and 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 bridge domains with Vhost-User and VLAN in circular topology  ${bd_id1}  ${bd_id2}  ${subid}  ${tag_rewrite}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=testpmd_io
 Then Find NDR and PDR intervals using optimized search

10.10.21.2. tc01-64B-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.21.3. tc02-64B-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.21.4. tc03-64B-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.21.5. tc04-1518B-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.21.6. tc05-1518B-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.21.7. tc06-1518B-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.21.8. tc07-9000B-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.21.9. tc08-9000B-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.21.10. tc09-9000B-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.21.11. tc10-IMIX-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.21.12. tc11-IMIX-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.21.13. tc12-IMIX-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.22. 2n1l-10ge2p1x710-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr suite

RFC2544: Pkt throughput L2BD with vhost and IEEE 802.1Q test cases

[Top] Network Topologies: TG-DUT1-TG 2-node circular topology withsingle links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. IEEE802.1Q tagging is applied on link between DUT1-if2 and TG-if2. [Cfg] DUT configuration: DUT1 is configured with L2 bridge-domain andMAC learning enabled. Qemu VNFs are connected to VPP viavhost-user interfaces. Guest is running VPP l2xc interconnecting vhost-user interfaces, rxd/txd=1024. DUT1 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 254 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of NFs nodesinterfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | DOT1Q | L2BDMACLRN | BASE | VHOST | 1VM
| ... | VHOST_1024 | NF_VPPL2XC
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
| ${bd_id1}= | 1
| ${bd_id2}= | 2
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-2n-dot1qip4asym-ip4src254

10.10.22.1. Local Template

[Cfg] Each DUT runs L2BD switching with VLAN and 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 bridge domains with Vhost-User and VLAN in circular topology  ${bd_id1}  ${bd_id2}  ${subid}  ${tag_rewrite}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=vpp_chain_l2xc
 Then Find NDR and PDR intervals using optimized search

10.10.22.2. tc01-64B-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.22.3. tc02-64B-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.22.4. tc03-64B-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.22.5. tc04-1518B-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.22.6. tc05-1518B-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.22.7. tc06-1518B-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.22.8. tc07-9000B-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.22.9. tc08-9000B-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.22.10. tc09-9000B-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.22.11. tc10-IMIX-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.22.12. tc11-IMIX-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.22.13. tc12-IMIX-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.23. 2n1l-10ge2p1x710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr suite

RFC2544: Pkt throughput L2BD test cases with vhost

[Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge- domain and MAC learning enabled. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running testpmd interconnecting vhost-user interfaces, rxd/txd=1024. DUT1 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | L2BDMACLRN | BASE | VHOST | 1VM | VHOST_1024
| ... | NF_TESTPMD
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-2n-ethip4-ip4src254

10.10.23.1. Local Template

[Cfg] DUT runs L2BD switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize layer interface  count=${nf_chains}
  And Initialize L2 bridge domains for multiple chains with Vhost-User  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=testpmd_io
 Then Find NDR and PDR intervals using optimized search

10.10.23.2. tc01-64B-1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.23.3. tc02-64B-2c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.23.4. tc03-64B-4c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.23.5. tc04-1518B-1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.23.6. tc05-1518B-2c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.23.7. tc06-1518B-4c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.23.8. tc07-9000B-1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.23.9. tc08-9000B-2c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.23.10. tc09-9000B-4c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.23.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.23.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.23.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.24. 2n1l-10ge2p1x710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr suite

RFC2544: Pkt throughput L2BD test cases with vhost

[Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge- domain and MAC learning enabled. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running VPP l2xc interconnecting vhost-user interfaces, rxd/txd=1024. DUT1 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | L2BDMACLRN | BASE | VHOST | 1VM | VHOST_1024
| ... | NF_VPPL2XC
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-2n-ethip4-ip4src254

10.10.24.1. Local Template

[Cfg] DUT runs L2BD switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize layer interface  count=${nf_chains}
  And Initialize L2 bridge domains for multiple chains with Vhost-User  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=vpp_chain_l2xc
 Then Find NDR and PDR intervals using optimized search

10.10.24.2. tc01-64B-1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.24.3. tc02-64B-2c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.24.4. tc03-64B-4c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.24.5. tc04-1518B-1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.24.6. tc05-1518B-2c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.24.7. tc06-1518B-4c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.24.8. tc07-9000B-1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.24.9. tc08-9000B-2c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.24.10. tc09-9000B-4c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.24.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.24.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.24.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.25. 2n1l-10ge2p1x710-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr suite

RFC2544: Pkt throughput L2XC test cases with vhost

[Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 cross- connect. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running testpmd interconnecting vhost-user interfaces, rxd/txd=1024. DUT1 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | L2XCFWD | BASE | VHOST | 1VM | VHOST_1024
| ... | NF_TESTPMD
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-2n-ethip4-ip4src254

10.10.25.1. Local Template

[Cfg] DUT runs L2XC switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 xconnect with Vhost-User  nf_nodes=${nf_nodes}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=testpmd_io
 Then Find NDR and PDR intervals using optimized search

10.10.25.2. tc01-64B-1c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.25.3. tc02-64B-2c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.25.4. tc03-64B-4c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.25.5. tc04-1518B-1c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.25.6. tc05-1518B-2c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.25.7. tc06-1518B-4c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.25.8. tc07-9000B-1c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.25.9. tc08-9000B-2c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.25.10. tc09-9000B-4c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.25.11. tc10-IMIX-1c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.25.12. tc11-IMIX-2c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.25.13. tc12-IMIX-4c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.26. 2n1l-10ge2p1x710-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr suite

RFC2544: Pkt throughput L2XC test cases with vhost

[Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 cross- connect. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running VPP l2xc interconnecting vhost-user interfaces, rxd/txd=1024. DUT1 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | L2XCFWD | BASE | VHOST | 1VM | VHOST_1024
| ... | NF_VPPL2XC
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-2n-ethip4-ip4src254

10.10.26.1. Local Template

[Cfg] DUT runs L2XC switching 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize L2 xconnect with Vhost-User  nf_nodes=${nf_nodes}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=vpp_chain_l2xc
 Then Find NDR and PDR intervals using optimized search

10.10.26.2. tc01-64B-1c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.26.3. tc02-64B-2c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.26.4. tc03-64B-4c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.26.5. tc04-1518B-1c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.26.6. tc05-1518B-2c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.26.7. tc06-1518B-4c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.26.8. tc07-9000B-1c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.26.9. tc08-9000B-2c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.26.10. tc09-9000B-4c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.26.11. tc10-IMIX-1c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.26.12. tc11-IMIX-2c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.26.13. tc12-IMIX-4c-eth-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.27. 2n1l-10ge2p1x710-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr suite

RFC2544: Pkt throughput IPv4 test cases with vhost

[Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. [Cfg] DUT configuration: DUT1 is configured with IPv4 routing and two static IPv4 /24 route entries. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running testpmd interconnecting vhost-user interfaces, rxd/txd=1024. DUT1 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | BASE | VHOST | 1VM | VHOST_1024
| ... | NF_TESTPMD
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-2n-ethip4-ip4src253

10.10.27.1. Local Template

[Cfg] DUT runs IPv4 routing 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize IPv4 forwarding with vhost in 2-node circular topology  nf_nodes=${nf_nodes}  testpmd_mac=${TRUE}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=testpmd_mac
 Then Find NDR and PDR intervals using optimized search

10.10.27.2. tc01-64B-1c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.27.3. tc02-64B-2c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.27.4. tc03-64B-4c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.27.5. tc04-1518B-1c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.27.6. tc05-1518B-2c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.27.7. tc06-1518B-4c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.27.8. tc07-9000B-1c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.27.9. tc08-9000B-2c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.27.10. tc09-9000B-4c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.27.11. tc10-IMIX-1c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.27.12. tc11-IMIX-2c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.27.13. tc12-IMIX-4c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.10.28. 2n1l-10ge2p1x710-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr suite

RFC2544: Pkt throughput IPv4 test cases with vhost

[Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. [Cfg] DUT configuration: DUT1 is configured with IPv4 routing and two static IPv4 /24 route entries. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running VPP ip4 interconnecting vhost-user interfaces, rxd/txd=1024. DUT1 is tested with ${nic_name}. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | BASE | VHOST | 1VM | VHOST_1024
| ... | NF_VPPIP4
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | vhost
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${nf_dtcr}= | ${1}
| ${nf_dtc}= | ${1}
| ${nf_chains}= | ${1}
| ${nf_nodes}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-sl-2n-ethip4-ip4src253

10.10.28.1. Local Template

[Cfg] DUT runs IPv4 routing 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


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize IPv4 forwarding with vhost in 2-node circular topology  nf_nodes=${nf_nodes}
  And Configure chains of NFs connected via vhost-user  nf_chains=${nf_chains}  nf_nodes=${nf_nodes}  jumbo=${jumbo}  use_tuned_cfs=${False}  auto_scale=${True}  vnf=vpp_chain_ip4_noarp
 Then Find NDR and PDR intervals using optimized search

10.10.28.2. tc01-64B-1c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${64}  phy_cores=${1}

10.10.28.3. tc02-64B-2c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${64}  phy_cores=${2}

10.10.28.4. tc03-64B-4c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${64}  phy_cores=${4}

10.10.28.5. tc04-1518B-1c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${1518}  phy_cores=${1}

10.10.28.6. tc05-1518B-2c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${1518}  phy_cores=${2}

10.10.28.7. tc06-1518B-4c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${1518}  phy_cores=${4}

10.10.28.8. tc07-9000B-1c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${9000}  phy_cores=${1}

10.10.28.9. tc08-9000B-2c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${9000}  phy_cores=${2}

10.10.28.10. tc09-9000B-4c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=${9000}  phy_cores=${4}

10.10.28.11. tc10-IMIX-1c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.10.28.12. tc11-IMIX-2c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.10.28.13. tc12-IMIX-4c-ethip4-ip4base-eth-2vhostvr1024-1vm-vppip4-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}