10.7. l2

10.7.1. 10ge2p1x710-avf-dot1q-l2bdbasemaclrn-ndrpdr suite

RFC2544: Pkt throughput L2BD with 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 bridgedomain and MAC learning enabled. DUT1 and DUT2 are tested with ${nic_name} with VF enabled. [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 | BASE | DOT1Q | L2BDMACLRN | DRV_AVF
| ...
| Suite Setup | Setup suite single link | performance_avf
| Suite Teardown | Tear down suite | performance | vifs
| Test Setup | Setup test
| Test Teardown | Tear down test | performance
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | avf_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
# Bridge domain IDs
| ${bd_id1}= | 1
| ${bd_id2}= | 2
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.7.1.1. Local Template

[Cfg] Each DUT runs L2BD config 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 DPDK no PCI to all DUTs
  And Set Max Rate And Jumbo
  And Apply startup configuration on all VPP DUTs
 When Initialize AVF interfaces
  And Initialize L2 bridge domains with VLAN dot1q sub-interfaces in circular topology  ${bd_id1}  ${bd_id2}  ${subid}  ${tag_rewrite}
 Then Find NDR and PDR intervals using optimized search

10.7.1.2. tc01-64B-1c-avf-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.1.3. tc02-64B-2c-avf-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.1.4. tc03-64B-4c-avf-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.1.5. tc04-1518B-1c-avf-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.1.6. tc05-1518B-2c-avf-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.1.7. tc06-1518B-4c-avf-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.1.8. tc07-9000B-1c-avf-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.1.9. tc08-9000B-2c-avf-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.1.10. tc09-9000B-4c-avf-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.1.11. tc10-IMIX-1c-avf-dot1q-l2bdbasemaclrn-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.1.12. tc11-IMIX-2c-avf-dot1q-l2bdbasemaclrn-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.1.13. tc12-IMIX-4c-avf-dot1q-l2bdbasemaclrn-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.2. 10ge2p1x710-avf-eth-l2bdbasemaclrn-ndrpdr suite

RFC2544: Pkt throughput L2BD test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 bridge-domain. [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge-domain and MAC learning enabled. DUT1 and DUT2 tested with ${nic_name}with VF enabled. [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 the TG nodeinterfaces. [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 | DRV_AVF
| ...
| Suite Setup | Setup suite single link | performance_avf
| Suite Teardown | Tear down suite | performance | vifs
| Test Setup | Setup test
| Test Teardown | Tear down test | performance
| ...
| Test Template | Local template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | avf_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.7.2.1. Local template

[Cfg] DUT runs L2BD config with ${phy_cores} phy core(s). [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 DPDK no PCI to all DUTs
  And Set Max Rate And Jumbo
  And Apply startup configuration on all VPP DUTs
 When Initialize AVF interfaces
  And Initialize layer interface
  And Initialize L2 bridge domain
 Then Find NDR and PDR intervals using optimized search

10.7.2.2. tc01-64B-1c-avf-eth-l2bdbasemaclrn-ndrpdr


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

10.7.2.3. tc02-64B-2c-avf-eth-l2bdbasemaclrn-ndrpdr


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

10.7.2.4. tc03-64B-4c-avf-eth-l2bdbasemaclrn-ndrpdr


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

10.7.2.5. tc04-1518B-1c-avf-eth-l2bdbasemaclrn-ndrpdr


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

10.7.2.6. tc05-1518B-2c-avf-eth-l2bdbasemaclrn-ndrpdr


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

10.7.2.7. tc06-1518B-4c-avf-eth-l2bdbasemaclrn-ndrpdr


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

10.7.2.8. tc07-9000B-1c-avf-eth-l2bdbasemaclrn-ndrpdr


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

10.7.2.9. tc08-9000B-2c-avf-eth-l2bdbasemaclrn-ndrpdr


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

10.7.2.10. tc09-9000B-4c-avf-eth-l2bdbasemaclrn-ndrpdr


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

10.7.2.11. tc10-IMIX-1c-avf-eth-l2bdbasemaclrn-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.2.12. tc11-IMIX-2c-avf-eth-l2bdbasemaclrn-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.2.13. tc12-IMIX-4c-avf-eth-l2bdbasemaclrn-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.3. 10ge2p1x710-avf-eth-l2patch-ndrpdr suite

RFC2544: Pkt throughput L2patch test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 patch. [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 patchDUT1 and DUT2 tested with ${nic_name} with VF enabled.[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 | L2PATCH | BASE | DRV_AVF
| ...
| Suite Setup | Setup suite single link | performance_avf
| Suite Teardown | Tear down suite | performance | vifs
| Test Setup | Setup test
| Test Teardown | Tear down test | performance
| ...
| Test Template | Local template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | avf_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.7.3.1. Local template

[Cfg] DUT runs L2 patch config with ${phy_cores} phy core(s). [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 DPDK no PCI to all DUTs
  And Set Max Rate And Jumbo
  And Apply startup configuration on all VPP DUTs
 When Initialize AVF interfaces
  And Initialize L2 patch
 Then Find NDR and PDR intervals using optimized search

10.7.3.2. tc01-64B-1c-avf-eth-l2patch-ndrpdr


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

10.7.3.3. tc02-64B-2c-avf-eth-l2patch-ndrpdr


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

10.7.3.4. tc03-64B-4c-avf-eth-l2patch-ndrpdr


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

10.7.3.5. tc04-1518B-1c-avf-eth-l2patch-ndrpdr


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

10.7.3.6. tc05-1518B-2c-avf-eth-l2patch-ndrpdr


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

10.7.3.7. tc06-1518B-4c-avf-eth-l2patch-ndrpdr


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

10.7.3.8. tc07-9000B-1c-avf-eth-l2patch-ndrpdr


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

10.7.3.9. tc08-9000B-2c-avf-eth-l2patch-ndrpdr


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

10.7.3.10. tc09-9000B-4c-avf-eth-l2patch-ndrpdr


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

10.7.3.11. tc10-IMIX-1c-avf-eth-l2patch-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.3.12. tc11-IMIX-2c-avf-eth-l2patch-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.3.13. tc12-IMIX-4c-avf-eth-l2patch-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.4. 10ge2p1x710-avf-eth-l2xcbase-ndrpdr suite

RFC2544: Pkt throughput L2XC test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross-connect. [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross-connect. DUT1 and DUT2 tested with ${nic_name} with VFenabled.[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 profilecontains two L3 flow-groups (flow-group per direction, 254 flows perflow-group) with all packets containing Ethernet header, IPv4 headerwith IP protocol=61 and static payload. MAC addresses are matching MACaddresses 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 | L2XCBASE | DRV_AVF
| ...
| Suite Setup | Setup suite single link | performance_avf
| Suite Teardown | Tear down suite | performance | vifs
| Test Setup | Setup test
| Test Teardown | Tear down test | performance
| ...
| Test Template | Local template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | avf_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.7.4.1. Local template

[Cfg] DUT runs L2XC config with ${phy_cores} phy core(s). [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 DPDK no PCI to all DUTs
  And Set Max Rate And Jumbo
  And Apply startup configuration on all VPP DUTs
 When Initialize AVF interfaces
  And Initialize L2 Xconnect In 3-node Circular Topology
 Then Find NDR and PDR intervals using optimized search

10.7.4.2. tc01-64B-1c-avf-eth-l2xcbase-ndrpdr


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

10.7.4.3. tc02-64B-2c-avf-eth-l2xcbase-ndrpdr


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

10.7.4.4. tc03-64B-4c-avf-eth-l2xcbase-ndrpdr


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

10.7.4.5. tc04-1518B-1c-avf-eth-l2xcbase-ndrpdr


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

10.7.4.6. tc05-1518B-2c-avf-eth-l2xcbase-ndrpdr


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

10.7.4.7. tc06-1518B-4c-avf-eth-l2xcbase-ndrpdr


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

10.7.4.8. tc07-9000B-1c-avf-eth-l2xcbase-ndrpdr


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

10.7.4.9. tc08-9000B-2c-avf-eth-l2xcbase-ndrpdr


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

10.7.4.10. tc09-9000B-4c-avf-eth-l2xcbase-ndrpdr


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

10.7.4.11. tc10-IMIX-1c-avf-eth-l2xcbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.4.12. tc11-IMIX-2c-avf-eth-l2xcbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.4.13. tc12-IMIX-4c-avf-eth-l2xcbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.5. 10ge2p1x710-dot1ad-l2xcbase-ndrpdr suite

RFC2544: Pkt throughput L2XC with 802.1ad test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 xconnect. 802.1ad tagging is applied on link between DUT1 and DUT2 with inner 4B vlan tag (id=100) and outer 4B vlan tag (id=200). [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross- connect. DUT1 and DUT2 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
| Resource | resources/libraries/robot/l2/tagging.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | L2XCFWD | BASE | DOT1AD
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${8}
| ${subid}= | 10
| ${outer_vlan_id}= | 100
| ${inner_vlan_id}= | 200
| ${type_subif}= | two_tags
| ${tag_rewrite}= | pop-2
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.7.5.1. Local Template

[Cfg] DUT runs L2XC forwarding 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
  And Set interfaces in path up
 When Initialize VLAN sub-interfaces in 3-node circular topology  ${dut1}  ${dut1_if2}  ${dut2}  ${dut2_if1}  ${subid}  ${outer_vlan_id}  ${inner_vlan_id}  ${type_subif}
  And Configure L2 tag rewrite method on interfaces  ${dut1}  ${subif_index_1}  ${dut2}  ${subif_index_2}  ${tag_rewrite}
  And Configure L2XC  ${dut1}  ${dut1_if1}  ${subif_index_1}
  And Configure L2XC  ${dut2}  ${dut2_if2}  ${subif_index_2}
 Then Find NDR and PDR intervals using optimized search

10.7.5.2. tc01-64B-1c-dot1ad-l2xcbase-ndrpdr


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

10.7.5.3. tc02-64B-2c-dot1ad-l2xcbase-ndrpdr


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

10.7.5.4. tc03-64B-4c-dot1ad-l2xcbase-ndrpdr


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

10.7.5.5. tc04-1518B-1c-dot1ad-l2xcbase-ndrpdr


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

10.7.5.6. tc05-1518B-2c-dot1ad-l2xcbase-ndrpdr


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

10.7.5.7. tc06-1518B-4c-dot1ad-l2xcbase-ndrpdr


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

10.7.5.8. tc07-9000B-1c-dot1ad-l2xcbase-ndrpdr


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

10.7.5.9. tc08-9000B-2c-dot1ad-l2xcbase-ndrpdr


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

10.7.5.10. tc09-9000B-4c-dot1ad-l2xcbase-ndrpdr


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

10.7.5.11. tc10-IMIX-1c-dot1ad-l2xcbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.5.12. tc11-IMIX-2c-dot1ad-l2xcbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.5.13. tc12-IMIX-4c-dot1ad-l2xcbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.6. 10ge2p1x710-dot1q-l2bdbasemaclrn-ndrpdr suite

RFC2544: Pkt throughput L2BD with 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 bridgedomain and MAC learning enabled. DUT1 and DUT2 are testedwith ${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 | BASE | DOT1Q | L2BDMACLRN
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
# Bridge domain IDs
| ${bd_id1}= | 1
| ${bd_id2}= | 2
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.7.6.1. Local Template

[Cfg] Each DUT runs L2BD config 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 VLAN dot1q sub-interfaces in circular topology  ${bd_id1}  ${bd_id2}  ${subid}  ${tag_rewrite}
 Then Find NDR and PDR intervals using optimized search

10.7.6.2. tc01-64B-1c-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.6.3. tc02-64B-2c-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.6.4. tc03-64B-4c-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.6.5. tc04-1518B-1c-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.6.6. tc05-1518B-2c-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.6.7. tc06-1518B-4c-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.6.8. tc07-9000B-1c-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.6.9. tc08-9000B-2c-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.6.10. tc09-9000B-4c-dot1q-l2bdbasemaclrn-ndrpdr


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

10.7.6.11. tc10-IMIX-1c-dot1q-l2bdbasemaclrn-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.6.12. tc11-IMIX-2c-dot1q-l2bdbasemaclrn-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.6.13. tc12-IMIX-4c-dot1q-l2bdbasemaclrn-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.7. 10ge2p1x710-dot1q-l2xcbase-ndrpdr suite

RFC2544: Pkt throughput L2XC with 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 cross connect. IEEE802.1Q tagging is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross-connect. DUT1 and DUT2 are 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
| Resource | resources/libraries/robot/l2/tagging.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | L2XCFWD | BASE | DOT1Q
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.7.7.1. Local Template

[Cfg] Each DUT runs L2XC config 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 VLAN dot1q sub-interfaces in circular topology  ${dut1}  ${dut1_if2}  ${dut2}  ${dut2_if1}  ${subid}
  And Configure L2 tag rewrite method on interfaces  ${dut1}  ${subif_index_1}  ${dut2}  ${subif_index_2}  ${tag_rewrite}
  And Configure L2XC  ${dut1}  ${dut1_if1}  ${subif_index_1}
  And Configure L2XC  ${dut2}  ${dut2_if2}  ${subif_index_2}
 Then Find NDR and PDR intervals using optimized search

10.7.7.2. tc01-64B-1c-dot1q-l2xcbase-ndrpdr


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

10.7.7.3. tc02-64B-2c-dot1q-l2xcbase-ndrpdr


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

10.7.7.4. tc03-64B-4c-dot1q-l2xcbase-ndrpdr


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

10.7.7.5. tc04-1518B-1c-dot1q-l2xcbase-ndrpdr


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

10.7.7.6. tc05-1518B-2c-dot1q-l2xcbase-ndrpdr


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

10.7.7.7. tc06-1518B-4c-dot1q-l2xcbase-ndrpdr


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

10.7.7.8. tc07-9000B-1c-dot1q-l2xcbase-ndrpdr


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

10.7.7.9. tc08-9000B-2c-dot1q-l2xcbase-ndrpdr


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

10.7.7.10. tc09-9000B-4c-dot1q-l2xcbase-ndrpdr


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

10.7.7.11. tc10-IMIX-1c-dot1q-l2xcbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.7.12. tc11-IMIX-2c-dot1q-l2xcbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.7.13. tc12-IMIX-4c-dot1q-l2xcbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.8. 10ge2p1x710-eth-l2bdbasemaclrn-iacl10sf-100flows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | IACL | ACL10 | 100_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 10
| ${flows_per_dir}= | 100
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u10p-conc

10.7.8.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.8.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl10sf-100flows-ndrpdr


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

10.7.8.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl10sf-100flows-ndrpdr


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

10.7.8.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl10sf-100flows-ndrpdr


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

10.7.8.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl10sf-100flows-ndrpdr


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

10.7.8.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl10sf-100flows-ndrpdr


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

10.7.8.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl10sf-100flows-ndrpdr


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

10.7.8.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl10sf-100flows-ndrpdr


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

10.7.8.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl10sf-100flows-ndrpdr


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

10.7.8.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl10sf-100flows-ndrpdr


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

10.7.8.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl10sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.8.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl10sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.8.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl10sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.9. 10ge2p1x710-eth-l2bdbasemaclrn-iacl10sf-100kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | IACL | ACL10 | 100K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 10
| ${flows_per_dir}= | 100k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-100u1000p-conc

10.7.9.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.9.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl10sf-100kflows-ndrpdr


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

10.7.9.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl10sf-100kflows-ndrpdr


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

10.7.9.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl10sf-100kflows-ndrpdr


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

10.7.9.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl10sf-100kflows-ndrpdr


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

10.7.9.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl10sf-100kflows-ndrpdr


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

10.7.9.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl10sf-100kflows-ndrpdr


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

10.7.9.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl10sf-100kflows-ndrpdr


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

10.7.9.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl10sf-100kflows-ndrpdr


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

10.7.9.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl10sf-100kflows-ndrpdr


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

10.7.9.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl10sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.9.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl10sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.9.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl10sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.10. 10ge2p1x710-eth-l2bdbasemaclrn-iacl10sf-10kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | IACL | ACL10 | 10K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 10
| ${flows_per_dir}= | 10k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u1000p-conc

10.7.10.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.10.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl10sf-10kflows-ndrpdr


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

10.7.10.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl10sf-10kflows-ndrpdr


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

10.7.10.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl10sf-10kflows-ndrpdr


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

10.7.10.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl10sf-10kflows-ndrpdr


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

10.7.10.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl10sf-10kflows-ndrpdr


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

10.7.10.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl10sf-10kflows-ndrpdr


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

10.7.10.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl10sf-10kflows-ndrpdr


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

10.7.10.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl10sf-10kflows-ndrpdr


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

10.7.10.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl10sf-10kflows-ndrpdr


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

10.7.10.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl10sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.10.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl10sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.10.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl10sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.11. 10ge2p1x710-eth-l2bdbasemaclrn-iacl10sl-100flows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | IACL | ACL10 | 100_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 10
| ${flows_per_dir}= | 100
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u10p-conc

10.7.11.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.11.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl10sl-100flows-ndrpdr


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

10.7.11.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl10sl-100flows-ndrpdr


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

10.7.11.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl10sl-100flows-ndrpdr


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

10.7.11.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl10sl-100flows-ndrpdr


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

10.7.11.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl10sl-100flows-ndrpdr


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

10.7.11.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl10sl-100flows-ndrpdr


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

10.7.11.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl10sl-100flows-ndrpdr


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

10.7.11.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl10sl-100flows-ndrpdr


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

10.7.11.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl10sl-100flows-ndrpdr


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

10.7.11.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl10sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.11.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl10sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.11.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl10sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.12. 10ge2p1x710-eth-l2bdbasemaclrn-iacl10sl-100kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | IACL | ACL10 | 100K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 10
| ${flows_per_dir}= | 100k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-100u1000p-conc

10.7.12.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.12.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl10sl-100kflows-ndrpdr


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

10.7.12.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl10sl-100kflows-ndrpdr


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

10.7.12.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl10sl-100kflows-ndrpdr


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

10.7.12.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl10sl-100kflows-ndrpdr


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

10.7.12.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl10sl-100kflows-ndrpdr


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

10.7.12.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl10sl-100kflows-ndrpdr


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

10.7.12.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl10sl-100kflows-ndrpdr


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

10.7.12.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl10sl-100kflows-ndrpdr


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

10.7.12.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl10sl-100kflows-ndrpdr


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

10.7.12.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl10sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.12.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl10sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.12.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl10sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.13. 10ge2p1x710-eth-l2bdbasemaclrn-iacl10sl-10kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | IACL | ACL10 | 10K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 10
| ${flows_per_dir}= | 10k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u1000p-conc

10.7.13.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.13.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl10sl-10kflows-ndrpdr


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

10.7.13.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl10sl-10kflows-ndrpdr


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

10.7.13.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl10sl-10kflows-ndrpdr


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

10.7.13.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl10sl-10kflows-ndrpdr


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

10.7.13.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl10sl-10kflows-ndrpdr


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

10.7.13.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl10sl-10kflows-ndrpdr


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

10.7.13.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl10sl-10kflows-ndrpdr


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

10.7.13.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl10sl-10kflows-ndrpdr


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

10.7.13.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl10sl-10kflows-ndrpdr


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

10.7.13.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl10sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.13.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl10sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.13.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl10sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.14. 10ge2p1x710-eth-l2bdbasemaclrn-iacl1sf-100flows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | IACL | ACL1 | 100_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 1
| ${flows_per_dir}= | 100
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u10p-conc

10.7.14.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.14.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl1sf-100flows-ndrpdr


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

10.7.14.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl1sf-100flows-ndrpdr


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

10.7.14.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl1sf-100flows-ndrpdr


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

10.7.14.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl1sf-100flows-ndrpdr


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

10.7.14.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl1sf-100flows-ndrpdr


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

10.7.14.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl1sf-100flows-ndrpdr


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

10.7.14.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl1sf-100flows-ndrpdr


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

10.7.14.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl1sf-100flows-ndrpdr


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

10.7.14.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl1sf-100flows-ndrpdr


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

10.7.14.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl1sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.14.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl1sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.14.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl1sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.15. 10ge2p1x710-eth-l2bdbasemaclrn-iacl1sf-100kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | IACL | ACL1 | 100K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 1
| ${flows_per_dir}= | 100k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-100u1000p-conc

10.7.15.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.15.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl1sf-100kflows-ndrpdr


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

10.7.15.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl1sf-100kflows-ndrpdr


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

10.7.15.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl1sf-100kflows-ndrpdr


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

10.7.15.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl1sf-100kflows-ndrpdr


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

10.7.15.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl1sf-100kflows-ndrpdr


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

10.7.15.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl1sf-100kflows-ndrpdr


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

10.7.15.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl1sf-100kflows-ndrpdr


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

10.7.15.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl1sf-100kflows-ndrpdr


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

10.7.15.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl1sf-100kflows-ndrpdr


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

10.7.15.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl1sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.15.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl1sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.15.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl1sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.16. 10ge2p1x710-eth-l2bdbasemaclrn-iacl1sf-10kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | IACL | ACL1 | 10K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 1
| ${flows_per_dir}= | 10k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u1000p-conc

10.7.16.1. Local Template

[Cfg] DUT runs L2BD config with ACLs with ${phy_cores} phy core(s). [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 domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.16.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl1sf-10kflows-ndrpdr


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

10.7.16.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl1sf-10kflows-ndrpdr


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

10.7.16.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl1sf-10kflows-ndrpdr


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

10.7.16.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl1sf-10kflows-ndrpdr


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

10.7.16.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl1sf-10kflows-ndrpdr


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

10.7.16.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl1sf-10kflows-ndrpdr


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

10.7.16.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl1sf-10kflows-ndrpdr


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

10.7.16.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl1sf-10kflows-ndrpdr


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

10.7.16.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl1sf-10kflows-ndrpdr


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

10.7.16.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl1sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.16.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl1sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.16.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl1sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.17. 10ge2p1x710-eth-l2bdbasemaclrn-iacl1sl-100flows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | IACL | ACL1 | 100_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 1
| ${flows_per_dir}= | 100
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u10p-conc

10.7.17.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.17.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl1sl-100flows-ndrpdr


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

10.7.17.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl1sl-100flows-ndrpdr


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

10.7.17.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl1sl-100flows-ndrpdr


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

10.7.17.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl1sl-100flows-ndrpdr


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

10.7.17.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl1sl-100flows-ndrpdr


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

10.7.17.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl1sl-100flows-ndrpdr


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

10.7.17.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl1sl-100flows-ndrpdr


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

10.7.17.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl1sl-100flows-ndrpdr


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

10.7.17.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl1sl-100flows-ndrpdr


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

10.7.17.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl1sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.17.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl1sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.17.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl1sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.18. 10ge2p1x710-eth-l2bdbasemaclrn-iacl1sl-100kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | IACL | ACL1 | 100K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 1
| ${flows_per_dir}= | 100k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-100u1000p-conc

10.7.18.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.18.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl1sl-100kflows-ndrpdr


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

10.7.18.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl1sl-100kflows-ndrpdr


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

10.7.18.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl1sl-100kflows-ndrpdr


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

10.7.18.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl1sl-100kflows-ndrpdr


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

10.7.18.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl1sl-100kflows-ndrpdr


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

10.7.18.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl1sl-100kflows-ndrpdr


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

10.7.18.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl1sl-100kflows-ndrpdr


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

10.7.18.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl1sl-100kflows-ndrpdr


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

10.7.18.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl1sl-100kflows-ndrpdr


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

10.7.18.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl1sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.18.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl1sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.18.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl1sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.19. 10ge2p1x710-eth-l2bdbasemaclrn-iacl1sl-10kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | IACL | ACL1 | 10K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 1
| ${flows_per_dir}= | 10k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u1000p-conc

10.7.19.1. Local Template

[Cfg] DUT runs L2BD config with ACLs with ${phy_cores} phy core(s). [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 domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.19.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl1sl-10kflows-ndrpdr


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

10.7.19.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl1sl-10kflows-ndrpdr


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

10.7.19.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl1sl-10kflows-ndrpdr


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

10.7.19.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl1sl-10kflows-ndrpdr


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

10.7.19.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl1sl-10kflows-ndrpdr


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

10.7.19.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl1sl-10kflows-ndrpdr


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

10.7.19.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl1sl-10kflows-ndrpdr


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

10.7.19.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl1sl-10kflows-ndrpdr


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

10.7.19.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl1sl-10kflows-ndrpdr


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

10.7.19.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl1sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.19.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl1sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.19.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl1sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.20. 10ge2p1x710-eth-l2bdbasemaclrn-iacl50sf-100flows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | IACL | ACL50 | 100_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 50
| ${flows_per_dir}= | 100
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u10p-conc

10.7.20.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.20.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl50sf-100flows-ndrpdr


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

10.7.20.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl50sf-100flows-ndrpdr


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

10.7.20.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl50sf-100flows-ndrpdr


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

10.7.20.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl50sf-100flows-ndrpdr


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

10.7.20.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl50sf-100flows-ndrpdr


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

10.7.20.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl50sf-100flows-ndrpdr


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

10.7.20.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl50sf-100flows-ndrpdr


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

10.7.20.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl50sf-100flows-ndrpdr


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

10.7.20.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl50sf-100flows-ndrpdr


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

10.7.20.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl50sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.20.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl50sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.20.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl50sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.21. 10ge2p1x710-eth-l2bdbasemaclrn-iacl50sf-100kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | IACL | ACL50 | 100K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 50
| ${flows_per_dir}= | 100k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-100u1000p-conc

10.7.21.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.21.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl50sf-100kflows-ndrpdr


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

10.7.21.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl50sf-100kflows-ndrpdr


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

10.7.21.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl50sf-100kflows-ndrpdr


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

10.7.21.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl50sf-100kflows-ndrpdr


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

10.7.21.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl50sf-100kflows-ndrpdr


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

10.7.21.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl50sf-100kflows-ndrpdr


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

10.7.21.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl50sf-100kflows-ndrpdr


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

10.7.21.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl50sf-100kflows-ndrpdr


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

10.7.21.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl50sf-100kflows-ndrpdr


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

10.7.21.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl50sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.21.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl50sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.21.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl50sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.22. 10ge2p1x710-eth-l2bdbasemaclrn-iacl50sf-10kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | IACL | ACL50 | 10K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 50
| ${flows_per_dir}= | 10k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u1000p-conc

10.7.22.1. Local Template

[Cfg] DUT runs L2BD config with ACLs with ${phy_cores} phy core(s). [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 domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.22.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl50sf-10kflows-ndrpdr


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

10.7.22.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl50sf-10kflows-ndrpdr


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

10.7.22.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl50sf-10kflows-ndrpdr


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

10.7.22.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl50sf-10kflows-ndrpdr


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

10.7.22.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl50sf-10kflows-ndrpdr


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

10.7.22.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl50sf-10kflows-ndrpdr


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

10.7.22.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl50sf-10kflows-ndrpdr


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

10.7.22.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl50sf-10kflows-ndrpdr


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

10.7.22.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl50sf-10kflows-ndrpdr


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

10.7.22.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl50sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.22.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl50sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.22.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl50sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.23. 10ge2p1x710-eth-l2bdbasemaclrn-iacl50sl-100flows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | IACL | ACL50 | 100_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 50
| ${flows_per_dir}= | 100
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u10p-conc

10.7.23.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
${traffic_profile}=  Set Variable  trex-sl-3n-ethip4udp-10u10p-conc
 Then Find NDR and PDR intervals using optimized search

10.7.23.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl50sl-100flows-ndrpdr


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

10.7.23.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl50sl-100flows-ndrpdr


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

10.7.23.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl50sl-100flows-ndrpdr


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

10.7.23.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl50sl-100flows-ndrpdr


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

10.7.23.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl50sl-100flows-ndrpdr


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

10.7.23.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl50sl-100flows-ndrpdr


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

10.7.23.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl50sl-100flows-ndrpdr


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

10.7.23.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl50sl-100flows-ndrpdr


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

10.7.23.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl50sl-100flows-ndrpdr


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

10.7.23.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl50sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.23.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl50sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.23.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl50sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.24. 10ge2p1x710-eth-l2bdbasemaclrn-iacl50sl-100kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | IACL | ACL50 | 100K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 50
| ${flows_per_dir}= | 100k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-100u1000p-conc

10.7.24.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.24.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl50sl-100kflows-ndrpdr


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

10.7.24.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl50sl-100kflows-ndrpdr


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

10.7.24.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl50sl-100kflows-ndrpdr


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

10.7.24.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl50sl-100kflows-ndrpdr


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

10.7.24.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl50sl-100kflows-ndrpdr


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

10.7.24.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl50sl-100kflows-ndrpdr


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

10.7.24.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl50sl-100kflows-ndrpdr


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

10.7.24.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl50sl-100kflows-ndrpdr


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

10.7.24.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl50sl-100kflows-ndrpdr


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

10.7.24.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl50sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.24.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl50sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.24.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl50sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.25. 10ge2p1x710-eth-l2bdbasemaclrn-iacl50sl-10kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | IACL | ACL50 | 10K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | input
| ${no_hit_aces_number}= | 50
| ${flows_per_dir}= | 10k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u1000p-conc

10.7.25.1. Local Template

[Cfg] DUT runs L2BD config with ACLs with ${phy_cores} phy core(s). [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 domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.25.2. tc01-64B-1c-eth-l2bdbasemaclrn-iacl50sl-10kflows-ndrpdr


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

10.7.25.3. tc02-64B-2c-eth-l2bdbasemaclrn-iacl50sl-10kflows-ndrpdr


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

10.7.25.4. tc03-64B-4c-eth-l2bdbasemaclrn-iacl50sl-10kflows-ndrpdr


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

10.7.25.5. tc04-1518B-1c-eth-l2bdbasemaclrn-iacl50sl-10kflows-ndrpdr


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

10.7.25.6. tc05-1518B-2c-eth-l2bdbasemaclrn-iacl50sl-10kflows-ndrpdr


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

10.7.25.7. tc06-1518B-4c-eth-l2bdbasemaclrn-iacl50sl-10kflows-ndrpdr


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

10.7.25.8. tc07-9000B-1c-eth-l2bdbasemaclrn-iacl50sl-10kflows-ndrpdr


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

10.7.25.9. tc08-9000B-2c-eth-l2bdbasemaclrn-iacl50sl-10kflows-ndrpdr


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

10.7.25.10. tc09-9000B-4c-eth-l2bdbasemaclrn-iacl50sl-10kflows-ndrpdr


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

10.7.25.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-iacl50sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.25.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-iacl50sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.25.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-iacl50sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.26. 10ge2p1x710-eth-l2bdbasemaclrn-macip-iacl10sl-100flows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[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. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required MACIP ACL rules are applied to input paths of both DUT1interfaces. DUT1 and DUT2 are tested with 2p10GE NIC X520 Niantic byIntel. [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, ${flows_per_dir} 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 | ETH | L2BDMACLRN | FEATURE | MACIP | ACL_STATELESS
| ... | IACL | ACL10 | 100_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | macipacl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${no_hit_aces_number}= | 10
| ${flows_per_dir}= | 100
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${ip_step}= | ${1}
| ${src_mac_start}= | 01:02:03:04:05:06
| ${src_mac_step}= | ${1000}
| ${src_mac_mask}= | 00:00:00:00:00:00
| ${tg_stream1_mac}= | ca:fe:00:00:00:00
| ${tg_stream2_mac}= | fa:ce:00:00:00:00
| ${tg_mac_mask}= | ff:ff:ff:ff:ff:80
| ${tg_stream1_subnet}= | 10.0.0.0/24
| ${tg_stream2_subnet}= | 20.0.0.0/24
# traffic profile
| ${traffic_profile}= | trex-sl-3n-ethip4-macsrc100ip4src100

10.7.26.1. Local Template

FIXME. [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 L2 bridge domain with MACIP ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.26.2. tc01-64B-1c-eth-l2bdbasemaclrn-macip-iacl10sl-100flows-ndrpdr


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

10.7.26.3. tc02-64B-2c-eth-l2bdbasemaclrn-macip-iacl10sl-100flows-ndrpdr


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

10.7.26.4. tc03-64B-4c-eth-l2bdbasemaclrn-macip-iacl10sl-100flows-ndrpdr


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

10.7.26.5. tc04-1518B-1c-eth-l2bdbasemaclrn-macip-iacl10sl-100flows-ndrpdr


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

10.7.26.6. tc05-1518B-2c-eth-l2bdbasemaclrn-macip-iacl10sl-100flows-ndrpdr


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

10.7.26.7. tc06-1518B-4c-eth-l2bdbasemaclrn-macip-iacl10sl-100flows-ndrpdr


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

10.7.26.8. tc07-9000B-1c-eth-l2bdbasemaclrn-macip-iacl10sl-100flows-ndrpdr


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

10.7.26.9. tc08-9000B-2c-eth-l2bdbasemaclrn-macip-iacl10sl-100flows-ndrpdr


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

10.7.26.10. tc09-9000B-4c-eth-l2bdbasemaclrn-macip-iacl10sl-100flows-ndrpdr


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

10.7.26.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-macip-iacl10sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.26.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-macip-iacl10sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.26.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-macip-iacl10sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.27. 10ge2p1x710-eth-l2bdbasemaclrn-macip-iacl10sl-100kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[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. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required MACIP ACL rules are applied to input paths of both DUT1interfaces. DUT1 and DUT2 are tested with 2p10GE NIC X520 Niantic byIntel. [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, ${flows_per_dir} 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 | ETH | L2BDMACLRN | FEATURE | MACIP | ACL_STATELESS
| ... | IACL | ACL10 | 100K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | macipacl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${no_hit_aces_number}= | 10
| ${flows_per_dir}= | 100k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${ip_step}= | ${1}
| ${src_mac_start}= | 01:02:03:04:05:06
| ${src_mac_step}= | ${1000}
| ${src_mac_mask}= | 00:00:00:00:00:00
| ${tg_stream1_mac}= | ca:fe:00:00:00:00
| ${tg_stream2_mac}= | fa:ce:00:00:00:00
| ${tg_mac_mask}= | ff:ff:ff:fe:00:00
| ${tg_stream1_subnet}= | 10.0.0.0/15
| ${tg_stream2_subnet}= | 20.0.0.0/15
# traffic profile
| ${traffic_profile}= | trex-sl-3n-ethip4-macsrc100kip4src100k

10.7.27.1. Local Template

FIXME. [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 L2 bridge domain with MACIP ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.27.2. tc01-64B-1c-eth-l2bdbasemaclrn-macip-iacl10sl-100kflows-ndrpdr


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

10.7.27.3. tc02-64B-2c-eth-l2bdbasemaclrn-macip-iacl10sl-100kflows-ndrpdr


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

10.7.27.4. tc03-64B-4c-eth-l2bdbasemaclrn-macip-iacl10sl-100kflows-ndrpdr


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

10.7.27.5. tc04-1518B-1c-eth-l2bdbasemaclrn-macip-iacl10sl-100kflows-ndrpdr


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

10.7.27.6. tc05-1518B-2c-eth-l2bdbasemaclrn-macip-iacl10sl-100kflows-ndrpdr


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

10.7.27.7. tc06-1518B-4c-eth-l2bdbasemaclrn-macip-iacl10sl-100kflows-ndrpdr


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

10.7.27.8. tc07-9000B-1c-eth-l2bdbasemaclrn-macip-iacl10sl-100kflows-ndrpdr


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

10.7.27.9. tc08-9000B-2c-eth-l2bdbasemaclrn-macip-iacl10sl-100kflows-ndrpdr


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

10.7.27.10. tc09-9000B-4c-eth-l2bdbasemaclrn-macip-iacl10sl-100kflows-ndrpdr


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

10.7.27.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-macip-iacl10sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.27.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-macip-iacl10sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.27.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-macip-iacl10sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.28. 10ge2p1x710-eth-l2bdbasemaclrn-macip-iacl10sl-10kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[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. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required MACIP ACL rules are applied to input paths of both DUT1interfaces. DUT1 and DUT2 are tested with 2p10GE NIC X520 Niantic byIntel. [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, ${flows_per_dir} 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 | ETH | L2BDMACLRN | FEATURE | MACIP | ACL_STATELESS
| ... | IACL | ACL10 | 10K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | macipacl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${no_hit_aces_number}= | 10
| ${flows_per_dir}= | 10k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${ip_step}= | ${1}
| ${src_mac_start}= | 01:02:03:04:05:06
| ${src_mac_step}= | ${1000}
| ${src_mac_mask}= | 00:00:00:00:00:00
| ${tg_stream1_mac}= | ca:fe:00:00:00:00
| ${tg_stream2_mac}= | fa:ce:00:00:00:00
| ${tg_mac_mask}= | ff:ff:ff:ff:c0:00
| ${tg_stream1_subnet}= | 10.0.0.0/18
| ${tg_stream2_subnet}= | 20.0.0.0/18
# traffic profile
| ${traffic_profile}= | trex-sl-3n-ethip4-macsrc10kip4src10k

10.7.28.1. Local Template

FIXME. [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 L2 bridge domain with MACIP ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.28.2. tc01-64B-1c-eth-l2bdbasemaclrn-macip-iacl10sl-10kflows-ndrpdr


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

10.7.28.3. tc02-64B-2c-eth-l2bdbasemaclrn-macip-iacl10sl-10kflows-ndrpdr


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

10.7.28.4. tc03-64B-4c-eth-l2bdbasemaclrn-macip-iacl10sl-10kflows-ndrpdr


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

10.7.28.5. tc04-1518B-1c-eth-l2bdbasemaclrn-macip-iacl10sl-10kflows-ndrpdr


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

10.7.28.6. tc05-1518B-2c-eth-l2bdbasemaclrn-macip-iacl10sl-10kflows-ndrpdr


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

10.7.28.7. tc06-1518B-4c-eth-l2bdbasemaclrn-macip-iacl10sl-10kflows-ndrpdr


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

10.7.28.8. tc07-9000B-1c-eth-l2bdbasemaclrn-macip-iacl10sl-10kflows-ndrpdr


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

10.7.28.9. tc08-9000B-2c-eth-l2bdbasemaclrn-macip-iacl10sl-10kflows-ndrpdr


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

10.7.28.10. tc09-9000B-4c-eth-l2bdbasemaclrn-macip-iacl10sl-10kflows-ndrpdr


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

10.7.28.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-macip-iacl10sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.28.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-macip-iacl10sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.28.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-macip-iacl10sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.29. 10ge2p1x710-eth-l2bdbasemaclrn-macip-iacl1sl-100flows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[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. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required MACIP ACL rules are applied to input paths of both DUT1interfaces. DUT1 and DUT2 are 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, ${flows_per_dir} 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 | ETH | L2BDMACLRN | FEATURE | MACIP | ACL_STATELESS
| ... | IACL | ACL1 | 100_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | macipacl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${no_hit_aces_number}= | 1
| ${flows_per_dir}= | 100
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${ip_step}= | ${1}
| ${src_mac_start}= | 01:02:03:04:05:06
| ${src_mac_step}= | ${1000}
| ${src_mac_mask}= | 00:00:00:00:00:00
| ${tg_stream1_mac}= | ca:fe:00:00:00:00
| ${tg_stream2_mac}= | fa:ce:00:00:00:00
| ${tg_mac_mask}= | ff:ff:ff:ff:ff:80
| ${tg_stream1_subnet}= | 10.0.0.0/24
| ${tg_stream2_subnet}= | 20.0.0.0/24
# traffic profile
| ${traffic_profile}= | trex-sl-3n-ethip4-macsrc100ip4src100

10.7.29.1. Local Template

FIXME. [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 L2 bridge domain with MACIP ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.29.2. tc01-64B-1c-eth-l2bdbasemaclrn-macip-iacl1sl-100flows-ndrpdr


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

10.7.29.3. tc02-64B-2c-eth-l2bdbasemaclrn-macip-iacl1sl-100flows-ndrpdr


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

10.7.29.4. tc03-64B-4c-eth-l2bdbasemaclrn-macip-iacl1sl-100flows-ndrpdr


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

10.7.29.5. tc04-1518B-1c-eth-l2bdbasemaclrn-macip-iacl1sl-100flows-ndrpdr


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

10.7.29.6. tc05-1518B-2c-eth-l2bdbasemaclrn-macip-iacl1sl-100flows-ndrpdr


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

10.7.29.7. tc06-1518B-4c-eth-l2bdbasemaclrn-macip-iacl1sl-100flows-ndrpdr


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

10.7.29.8. tc07-9000B-1c-eth-l2bdbasemaclrn-macip-iacl1sl-100flows-ndrpdr


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

10.7.29.9. tc08-9000B-2c-eth-l2bdbasemaclrn-macip-iacl1sl-100flows-ndrpdr


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

10.7.29.10. tc09-9000B-4c-eth-l2bdbasemaclrn-macip-iacl1sl-100flows-ndrpdr


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

10.7.29.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-macip-iacl1sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.29.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-macip-iacl1sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.29.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-macip-iacl1sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.30. 10ge2p1x710-eth-l2bdbasemaclrn-macip-iacl1sl-100kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[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. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required MACIP ACL rules are applied to input paths of both DUT1interfaces. DUT1 and DUT2 are 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, ${flows_per_dir} 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 | ETH | L2BDMACLRN | FEATURE | MACIP | ACL_STATELESS
| ... | IACL | ACL1 | 100K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | macipacl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${no_hit_aces_number}= | 1
| ${flows_per_dir}= | 100k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${ip_step}= | ${1}
| ${src_mac_start}= | 01:02:03:04:05:06
| ${src_mac_step}= | ${1000}
| ${src_mac_mask}= | 00:00:00:00:00:00
| ${tg_stream1_mac}= | ca:fe:00:00:00:00
| ${tg_stream2_mac}= | fa:ce:00:00:00:00
| ${tg_mac_mask}= | ff:ff:ff:fe:00:00
| ${tg_stream1_subnet}= | 10.0.0.0/15
| ${tg_stream2_subnet}= | 20.0.0.0/15
# traffic profile
| ${traffic_profile}= | trex-sl-3n-ethip4-macsrc100kip4src100k

10.7.30.1. Local Template

FIXME. [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 L2 bridge domain with MACIP ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.30.2. tc01-64B-1c-eth-l2bdbasemaclrn-macip-iacl1sl-100kflows-ndrpdr


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

10.7.30.3. tc02-64B-2c-eth-l2bdbasemaclrn-macip-iacl1sl-100kflows-ndrpdr


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

10.7.30.4. tc03-64B-4c-eth-l2bdbasemaclrn-macip-iacl1sl-100kflows-ndrpdr


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

10.7.30.5. tc04-1518B-1c-eth-l2bdbasemaclrn-macip-iacl1sl-100kflows-ndrpdr


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

10.7.30.6. tc05-1518B-2c-eth-l2bdbasemaclrn-macip-iacl1sl-100kflows-ndrpdr


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

10.7.30.7. tc06-1518B-4c-eth-l2bdbasemaclrn-macip-iacl1sl-100kflows-ndrpdr


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

10.7.30.8. tc07-9000B-1c-eth-l2bdbasemaclrn-macip-iacl1sl-100kflows-ndrpdr


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

10.7.30.9. tc08-9000B-2c-eth-l2bdbasemaclrn-macip-iacl1sl-100kflows-ndrpdr


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

10.7.30.10. tc09-9000B-4c-eth-l2bdbasemaclrn-macip-iacl1sl-100kflows-ndrpdr


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

10.7.30.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-macip-iacl1sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.30.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-macip-iacl1sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.30.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-macip-iacl1sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.31. 10ge2p1x710-eth-l2bdbasemaclrn-macip-iacl1sl-10kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[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. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required MACIP ACL rules are applied to input paths of both DUT1interfaces. DUT1 and DUT2 are 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, ${flows_per_dir} 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 | ETH | L2BDMACLRN | FEATURE | MACIP | ACL_STATELESS
| ... | IACL | ACL1 | 10K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | macipacl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${no_hit_aces_number}= | 1
| ${flows_per_dir}= | 10k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${ip_step}= | ${1}
| ${src_mac_start}= | 01:02:03:04:05:06
| ${src_mac_step}= | ${1000}
| ${src_mac_mask}= | 00:00:00:00:00:00
| ${tg_stream1_mac}= | ca:fe:00:00:00:00
| ${tg_stream2_mac}= | fa:ce:00:00:00:00
| ${tg_mac_mask}= | ff:ff:ff:ff:c0:00
| ${tg_stream1_subnet}= | 10.0.0.0/18
| ${tg_stream2_subnet}= | 20.0.0.0/18
# traffic profile
| ${traffic_profile}= | trex-sl-3n-ethip4-macsrc10kip4src10k

10.7.31.1. Local Template

FIXME. [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 L2 bridge domain with MACIP ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.31.2. tc01-64B-1c-eth-l2bdbasemaclrn-macip-iacl1sl-10kflows-ndrpdr


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

10.7.31.3. tc02-64B-2c-eth-l2bdbasemaclrn-macip-iacl1sl-10kflows-ndrpdr


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

10.7.31.4. tc03-64B-4c-eth-l2bdbasemaclrn-macip-iacl1sl-10kflows-ndrpdr


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

10.7.31.5. tc04-1518B-1c-eth-l2bdbasemaclrn-macip-iacl1sl-10kflows-ndrpdr


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

10.7.31.6. tc05-1518B-2c-eth-l2bdbasemaclrn-macip-iacl1sl-10kflows-ndrpdr


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

10.7.31.7. tc06-1518B-4c-eth-l2bdbasemaclrn-macip-iacl1sl-10kflows-ndrpdr


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

10.7.31.8. tc07-9000B-1c-eth-l2bdbasemaclrn-macip-iacl1sl-10kflows-ndrpdr


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

10.7.31.9. tc08-9000B-2c-eth-l2bdbasemaclrn-macip-iacl1sl-10kflows-ndrpdr


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

10.7.31.10. tc09-9000B-4c-eth-l2bdbasemaclrn-macip-iacl1sl-10kflows-ndrpdr


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

10.7.31.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-macip-iacl1sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.31.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-macip-iacl1sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.31.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-macip-iacl1sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.32. 10ge2p1x710-eth-l2bdbasemaclrn-macip-iacl50sl-100flows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[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. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required MACIP ACL rules are applied to input paths of both DUT1interfaces. DUT1 and DUT2 are 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, ${flows_per_dir} 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 | ETH | L2BDMACLRN | FEATURE | MACIP | ACL_STATELESS
| ... | IACL | ACL50 | 100_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | macipacl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${no_hit_aces_number}= | 50
| ${flows_per_dir}= | 100
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${ip_step}= | ${1}
| ${src_mac_start}= | 01:02:03:04:05:06
| ${src_mac_step}= | ${1000}
| ${src_mac_mask}= | 00:00:00:00:00:00
| ${tg_stream1_mac}= | ca:fe:00:00:00:00
| ${tg_stream2_mac}= | fa:ce:00:00:00:00
| ${tg_mac_mask}= | ff:ff:ff:ff:ff:80
| ${tg_stream1_subnet}= | 10.0.0.0/24
| ${tg_stream2_subnet}= | 20.0.0.0/24
# traffic profile
| ${traffic_profile}= | trex-sl-3n-ethip4-macsrc100ip4src100

10.7.32.1. Local Template

FIXME. [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 L2 bridge domain with MACIP ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.32.2. tc01-64B-1c-eth-l2bdbasemaclrn-macip-iacl50sl-100flows-ndrpdr


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

10.7.32.3. tc02-64B-2c-eth-l2bdbasemaclrn-macip-iacl50sl-100flows-ndrpdr


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

10.7.32.4. tc03-64B-4c-eth-l2bdbasemaclrn-macip-iacl50sl-100flows-ndrpdr


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

10.7.32.5. tc04-1518B-1c-eth-l2bdbasemaclrn-macip-iacl50sl-100flows-ndrpdr


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

10.7.32.6. tc05-1518B-2c-eth-l2bdbasemaclrn-macip-iacl50sl-100flows-ndrpdr


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

10.7.32.7. tc06-1518B-4c-eth-l2bdbasemaclrn-macip-iacl50sl-100flows-ndrpdr


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

10.7.32.8. tc07-9000B-1c-eth-l2bdbasemaclrn-macip-iacl50sl-100flows-ndrpdr


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

10.7.32.9. tc08-9000B-2c-eth-l2bdbasemaclrn-macip-iacl50sl-100flows-ndrpdr


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

10.7.32.10. tc09-9000B-4c-eth-l2bdbasemaclrn-macip-iacl50sl-100flows-ndrpdr


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

10.7.32.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-macip-iacl50sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.32.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-macip-iacl50sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.32.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-macip-iacl50sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.33. 10ge2p1x710-eth-l2bdbasemaclrn-macip-iacl50sl-100kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[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. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required MACIP ACL rules are applied to input paths of both DUT1interfaces. DUT1 and DUT2 are 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, ${flows_per_dir} 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 | ETH | L2BDMACLRN | FEATURE | MACIP | ACL_STATELESS
| ... | IACL | ACL50 | 100K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | macipacl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${no_hit_aces_number}= | 50
| ${flows_per_dir}= | 100k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${ip_step}= | ${1}
| ${src_mac_start}= | 01:02:03:04:05:06
| ${src_mac_step}= | ${1000}
| ${src_mac_mask}= | 00:00:00:00:00:00
| ${tg_stream1_mac}= | ca:fe:00:00:00:00
| ${tg_stream2_mac}= | fa:ce:00:00:00:00
| ${tg_mac_mask}= | ff:ff:ff:fe:00:00
| ${tg_stream1_subnet}= | 10.0.0.0/15
| ${tg_stream2_subnet}= | 20.0.0.0/15
# traffic profile
| ${traffic_profile}= | trex-sl-3n-ethip4-macsrc100kip4src100k

10.7.33.1. Local Template

FIXME. [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 L2 bridge domain with MACIP ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.33.2. tc01-64B-1c-eth-l2bdbasemaclrn-macip-iacl50sl-100kflows-ndrpdr


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

10.7.33.3. tc02-64B-2c-eth-l2bdbasemaclrn-macip-iacl50sl-100kflows-ndrpdr


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

10.7.33.4. tc03-64B-4c-eth-l2bdbasemaclrn-macip-iacl50sl-100kflows-ndrpdr


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

10.7.33.5. tc04-1518B-1c-eth-l2bdbasemaclrn-macip-iacl50sl-100kflows-ndrpdr


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

10.7.33.6. tc05-1518B-2c-eth-l2bdbasemaclrn-macip-iacl50sl-100kflows-ndrpdr


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

10.7.33.7. tc06-1518B-4c-eth-l2bdbasemaclrn-macip-iacl50sl-100kflows-ndrpdr


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

10.7.33.8. tc07-9000B-1c-eth-l2bdbasemaclrn-macip-iacl50sl-100kflows-ndrpdr


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

10.7.33.9. tc08-9000B-2c-eth-l2bdbasemaclrn-macip-iacl50sl-100kflows-ndrpdr


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

10.7.33.10. tc09-9000B-4c-eth-l2bdbasemaclrn-macip-iacl50sl-100kflows-ndrpdr


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

10.7.33.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-macip-iacl50sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.33.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-macip-iacl50sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.33.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-macip-iacl50sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.34. 10ge2p1x710-eth-l2bdbasemaclrn-macip-iacl50sl-10kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[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. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required MACIP ACL rules are applied to input paths of both DUT1interfaces. DUT1 and DUT2 are 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, ${flows_per_dir} 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 | ETH | L2BDMACLRN | FEATURE | MACIP | ACL_STATELESS
| ... | IACL | ACL50 | 10K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | macipacl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${no_hit_aces_number}= | 50
| ${flows_per_dir}= | 10k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${ip_step}= | ${1}
| ${src_mac_start}= | 01:02:03:04:05:06
| ${src_mac_step}= | ${1000}
| ${src_mac_mask}= | 00:00:00:00:00:00
| ${tg_stream1_mac}= | ca:fe:00:00:00:00
| ${tg_stream2_mac}= | fa:ce:00:00:00:00
| ${tg_mac_mask}= | ff:ff:ff:ff:c0:00
| ${tg_stream1_subnet}= | 10.0.0.0/18
| ${tg_stream2_subnet}= | 20.0.0.0/18
# traffic profile
| ${traffic_profile}= | trex-sl-3n-ethip4-macsrc10kip4src10k

10.7.34.1. Local Template

FIXME. [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 L2 bridge domain with MACIP ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.34.2. tc01-64B-1c-eth-l2bdbasemaclrn-macip-iacl50sl-10kflows-ndrpdr


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

10.7.34.3. tc02-64B-2c-eth-l2bdbasemaclrn-macip-iacl50sl-10kflows-ndrpdr


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

10.7.34.4. tc03-64B-4c-eth-l2bdbasemaclrn-macip-iacl50sl-10kflows-ndrpdr


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

10.7.34.5. tc04-1518B-1c-eth-l2bdbasemaclrn-macip-iacl50sl-10kflows-ndrpdr


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

10.7.34.6. tc05-1518B-2c-eth-l2bdbasemaclrn-macip-iacl50sl-10kflows-ndrpdr


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

10.7.34.7. tc06-1518B-4c-eth-l2bdbasemaclrn-macip-iacl50sl-10kflows-ndrpdr


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

10.7.34.8. tc07-9000B-1c-eth-l2bdbasemaclrn-macip-iacl50sl-10kflows-ndrpdr


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

10.7.34.9. tc08-9000B-2c-eth-l2bdbasemaclrn-macip-iacl50sl-10kflows-ndrpdr


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

10.7.34.10. tc09-9000B-4c-eth-l2bdbasemaclrn-macip-iacl50sl-10kflows-ndrpdr


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

10.7.34.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-macip-iacl50sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.34.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-macip-iacl50sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.34.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-macip-iacl50sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.35. 10ge2p1x710-eth-l2bdbasemaclrn-ndrpdr suite

RFC2544: Pkt throughput L2BD 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. [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge-domain and MAC learning enabled. DUT1 and DUT2 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 profilecontains two L3 flow-groups (flow-group per direction, 254 flows perflow-group) with all packets containing Ethernet header, IPv4 headerwith IP protocol=61 and static payload. MAC addresses are matching MACaddresses 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 | L2BDBASE
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.7.35.1. Local Template

[Cfg] Each DUT runs L2BD switching config 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 layer interface
  And Initialize L2 bridge domain
 Then Find NDR and PDR intervals using optimized search

10.7.35.2. tc01-64B-1c-eth-l2bdbasemaclrn-ndrpdr


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

10.7.35.3. tc02-64B-2c-eth-l2bdbasemaclrn-ndrpdr


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

10.7.35.4. tc03-64B-4c-eth-l2bdbasemaclrn-ndrpdr


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

10.7.35.5. tc04-1518B-1c-eth-l2bdbasemaclrn-ndrpdr


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

10.7.35.6. tc05-1518B-2c-eth-l2bdbasemaclrn-ndrpdr


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

10.7.35.7. tc06-1518B-4c-eth-l2bdbasemaclrn-ndrpdr


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

10.7.35.8. tc07-9000B-1c-eth-l2bdbasemaclrn-ndrpdr


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

10.7.35.9. tc08-9000B-2c-eth-l2bdbasemaclrn-ndrpdr


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

10.7.35.10. tc09-9000B-4c-eth-l2bdbasemaclrn-ndrpdr


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

10.7.35.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.35.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.35.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.36. 10ge2p1x710-eth-l2bdbasemaclrn-oacl10sf-100flows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | OACL | ACL10 | 100_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 10
| ${flows_per_dir}= | 100
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u10p-conc

10.7.36.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.36.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl10sf-100flows-ndrpdr


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

10.7.36.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl10sf-100flows-ndrpdr


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

10.7.36.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl10sf-100flows-ndrpdr


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

10.7.36.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl10sf-100flows-ndrpdr


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

10.7.36.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl10sf-100flows-ndrpdr


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

10.7.36.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl10sf-100flows-ndrpdr


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

10.7.36.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl10sf-100flows-ndrpdr


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

10.7.36.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl10sf-100flows-ndrpdr


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

10.7.36.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl10sf-100flows-ndrpdr


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

10.7.36.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl10sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.36.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl10sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.36.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl10sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.37. 10ge2p1x710-eth-l2bdbasemaclrn-oacl10sf-100kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | OACL | ACL10 | 100K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 10
| ${flows_per_dir}= | 100k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-100u1000p-conc

10.7.37.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.37.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl10sf-100kflows-ndrpdr


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

10.7.37.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl10sf-100kflows-ndrpdr


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

10.7.37.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl10sf-100kflows-ndrpdr


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

10.7.37.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl10sf-100kflows-ndrpdr


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

10.7.37.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl10sf-100kflows-ndrpdr


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

10.7.37.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl10sf-100kflows-ndrpdr


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

10.7.37.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl10sf-100kflows-ndrpdr


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

10.7.37.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl10sf-100kflows-ndrpdr


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

10.7.37.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl10sf-100kflows-ndrpdr


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

10.7.37.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl10sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.37.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl10sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.37.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl10sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.38. 10ge2p1x710-eth-l2bdbasemaclrn-oacl10sf-10kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | OACL | ACL10 | 10K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 10
| ${flows_per_dir}= | 10k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u1000p-conc

10.7.38.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.38.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl10sf-10kflows-ndrpdr


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

10.7.38.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl10sf-10kflows-ndrpdr


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

10.7.38.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl10sf-10kflows-ndrpdr


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

10.7.38.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl10sf-10kflows-ndrpdr


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

10.7.38.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl10sf-10kflows-ndrpdr


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

10.7.38.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl10sf-10kflows-ndrpdr


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

10.7.38.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl10sf-10kflows-ndrpdr


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

10.7.38.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl10sf-10kflows-ndrpdr


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

10.7.38.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl10sf-10kflows-ndrpdr


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

10.7.38.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl10sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.38.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl10sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.38.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl10sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.39. 10ge2p1x710-eth-l2bdbasemaclrn-oacl10sl-100flows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | OACL | ACL10 | 100_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 10
| ${flows_per_dir}= | 100
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u10p-conc

10.7.39.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.39.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl10sl-100flows-ndrpdr


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

10.7.39.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl10sl-100flows-ndrpdr


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

10.7.39.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl10sl-100flows-ndrpdr


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

10.7.39.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl10sl-100flows-ndrpdr


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

10.7.39.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl10sl-100flows-ndrpdr


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

10.7.39.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl10sl-100flows-ndrpdr


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

10.7.39.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl10sl-100flows-ndrpdr


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

10.7.39.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl10sl-100flows-ndrpdr


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

10.7.39.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl10sl-100flows-ndrpdr


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

10.7.39.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl10sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.39.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl10sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.39.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl10sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.40. 10ge2p1x710-eth-l2bdbasemaclrn-oacl10sl-100kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | OACL | ACL10 | 100K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 10
| ${flows_per_dir}= | 100k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-100u1000p-conc

10.7.40.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.40.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl10sl-100kflows-ndrpdr


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

10.7.40.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl10sl-100kflows-ndrpdr


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

10.7.40.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl10sl-100kflows-ndrpdr


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

10.7.40.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl10sl-100kflows-ndrpdr


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

10.7.40.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl10sl-100kflows-ndrpdr


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

10.7.40.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl10sl-100kflows-ndrpdr


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

10.7.40.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl10sl-100kflows-ndrpdr


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

10.7.40.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl10sl-100kflows-ndrpdr


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

10.7.40.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl10sl-100kflows-ndrpdr


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

10.7.40.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl10sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.40.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl10sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.40.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl10sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.41. 10ge2p1x710-eth-l2bdbasemaclrn-oacl10sl-10kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | OACL | ACL10 | 10K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 10
| ${flows_per_dir}= | 10k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u1000p-conc

10.7.41.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.41.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl10sl-10kflows-ndrpdr


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

10.7.41.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl10sl-10kflows-ndrpdr


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

10.7.41.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl10sl-10kflows-ndrpdr


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

10.7.41.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl10sl-10kflows-ndrpdr


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

10.7.41.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl10sl-10kflows-ndrpdr


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

10.7.41.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl10sl-10kflows-ndrpdr


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

10.7.41.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl10sl-10kflows-ndrpdr


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

10.7.41.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl10sl-10kflows-ndrpdr


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

10.7.41.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl10sl-10kflows-ndrpdr


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

10.7.41.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl10sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.41.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl10sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.41.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl10sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.42. 10ge2p1x710-eth-l2bdbasemaclrn-oacl1sf-100flows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | OACL | ACL1 | 100_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 1
| ${flows_per_dir}= | 100
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u10p-conc

10.7.42.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.42.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl1sf-100flows-ndrpdr


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

10.7.42.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl1sf-100flows-ndrpdr


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

10.7.42.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl1sf-100flows-ndrpdr


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

10.7.42.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl1sf-100flows-ndrpdr


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

10.7.42.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl1sf-100flows-ndrpdr


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

10.7.42.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl1sf-100flows-ndrpdr


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

10.7.42.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl1sf-100flows-ndrpdr


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

10.7.42.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl1sf-100flows-ndrpdr


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

10.7.42.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl1sf-100flows-ndrpdr


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

10.7.42.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl1sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.42.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl1sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.42.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl1sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.43. 10ge2p1x710-eth-l2bdbasemaclrn-oacl1sf-100kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | OACL | ACL1 | 100K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 1
| ${flows_per_dir}= | 100k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-100u1000p-conc

10.7.43.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.43.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl1sf-100kflows-ndrpdr


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

10.7.43.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl1sf-100kflows-ndrpdr


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

10.7.43.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl1sf-100kflows-ndrpdr


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

10.7.43.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl1sf-100kflows-ndrpdr


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

10.7.43.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl1sf-100kflows-ndrpdr


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

10.7.43.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl1sf-100kflows-ndrpdr


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

10.7.43.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl1sf-100kflows-ndrpdr


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

10.7.43.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl1sf-100kflows-ndrpdr


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

10.7.43.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl1sf-100kflows-ndrpdr


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

10.7.43.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl1sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.43.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl1sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.43.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl1sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.44. 10ge2p1x710-eth-l2bdbasemaclrn-oacl1sf-10kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | OACL | ACL1 | 10K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 1
| ${flows_per_dir}= | 10k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u1000p-conc

10.7.44.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.44.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl1sf-10kflows-ndrpdr


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

10.7.44.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl1sf-10kflows-ndrpdr


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

10.7.44.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl1sf-10kflows-ndrpdr


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

10.7.44.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl1sf-10kflows-ndrpdr


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

10.7.44.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl1sf-10kflows-ndrpdr


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

10.7.44.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl1sf-10kflows-ndrpdr


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

10.7.44.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl1sf-10kflows-ndrpdr


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

10.7.44.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl1sf-10kflows-ndrpdr


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

10.7.44.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl1sf-10kflows-ndrpdr


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

10.7.44.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl1sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.44.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl1sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.44.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl1sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.45. 10ge2p1x710-eth-l2bdbasemaclrn-oacl1sl-100flows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | OACL | ACL1 | 100_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 1
| ${flows_per_dir}= | 100
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u10p-conc

10.7.45.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.45.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl1sl-100flows-ndrpdr


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

10.7.45.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl1sl-100flows-ndrpdr


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

10.7.45.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl1sl-100flows-ndrpdr


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

10.7.45.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl1sl-100flows-ndrpdr


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

10.7.45.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl1sl-100flows-ndrpdr


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

10.7.45.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl1sl-100flows-ndrpdr


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

10.7.45.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl1sl-100flows-ndrpdr


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

10.7.45.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl1sl-100flows-ndrpdr


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

10.7.45.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl1sl-100flows-ndrpdr


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

10.7.45.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl1sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.45.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl1sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.45.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl1sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.46. 10ge2p1x710-eth-l2bdbasemaclrn-oacl1sl-100kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | OACL | ACL1 | 100K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 1
| ${flows_per_dir}= | 100k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-100u1000p-conc

10.7.46.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.46.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl1sl-100kflows-ndrpdr


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

10.7.46.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl1sl-100kflows-ndrpdr


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

10.7.46.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl1sl-100kflows-ndrpdr


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

10.7.46.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl1sl-100kflows-ndrpdr


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

10.7.46.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl1sl-100kflows-ndrpdr


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

10.7.46.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl1sl-100kflows-ndrpdr


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

10.7.46.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl1sl-100kflows-ndrpdr


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

10.7.46.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl1sl-100kflows-ndrpdr


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

10.7.46.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl1sl-100kflows-ndrpdr


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

10.7.46.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl1sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.46.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl1sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.46.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl1sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.47. 10ge2p1x710-eth-l2bdbasemaclrn-oacl1sl-10kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | OACL | ACL1 | 10K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 1
| ${flows_per_dir}= | 10k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u1000p-conc

10.7.47.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.47.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl1sl-10kflows-ndrpdr


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

10.7.47.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl1sl-10kflows-ndrpdr


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

10.7.47.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl1sl-10kflows-ndrpdr


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

10.7.47.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl1sl-10kflows-ndrpdr


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

10.7.47.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl1sl-10kflows-ndrpdr


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

10.7.47.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl1sl-10kflows-ndrpdr


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

10.7.47.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl1sl-10kflows-ndrpdr


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

10.7.47.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl1sl-10kflows-ndrpdr


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

10.7.47.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl1sl-10kflows-ndrpdr


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

10.7.47.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl1sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.47.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl1sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.47.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl1sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.48. 10ge2p1x710-eth-l2bdbasemaclrn-oacl50sf-100flows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | OACL | ACL50 | 100_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 50
| ${flows_per_dir}= | 100
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u10p-conc

10.7.48.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.48.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl50sf-100flows-ndrpdr


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

10.7.48.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl50sf-100flows-ndrpdr


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

10.7.48.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl50sf-100flows-ndrpdr


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

10.7.48.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl50sf-100flows-ndrpdr


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

10.7.48.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl50sf-100flows-ndrpdr


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

10.7.48.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl50sf-100flows-ndrpdr


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

10.7.48.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl50sf-100flows-ndrpdr


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

10.7.48.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl50sf-100flows-ndrpdr


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

10.7.48.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl50sf-100flows-ndrpdr


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

10.7.48.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl50sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.48.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl50sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.48.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl50sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.49. 10ge2p1x710-eth-l2bdbasemaclrn-oacl50sf-100kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | OACL | ACL50 | 100K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 50
| ${flows_per_dir}= | 100k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-100u1000p-conc

10.7.49.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.49.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl50sf-100kflows-ndrpdr


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

10.7.49.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl50sf-100kflows-ndrpdr


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

10.7.49.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl50sf-100kflows-ndrpdr


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

10.7.49.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl50sf-100kflows-ndrpdr


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

10.7.49.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl50sf-100kflows-ndrpdr


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

10.7.49.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl50sf-100kflows-ndrpdr


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

10.7.49.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl50sf-100kflows-ndrpdr


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

10.7.49.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl50sf-100kflows-ndrpdr


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

10.7.49.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl50sf-100kflows-ndrpdr


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

10.7.49.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl50sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.49.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl50sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.49.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl50sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.50. 10ge2p1x710-eth-l2bdbasemaclrn-oacl50sf-10kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATEFUL
| ... | OACL | ACL50 | 10K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit+reflect
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 50
| ${flows_per_dir}= | 10k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u1000p-conc

10.7.50.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.50.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl50sf-10kflows-ndrpdr


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

10.7.50.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl50sf-10kflows-ndrpdr


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

10.7.50.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl50sf-10kflows-ndrpdr


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

10.7.50.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl50sf-10kflows-ndrpdr


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

10.7.50.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl50sf-10kflows-ndrpdr


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

10.7.50.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl50sf-10kflows-ndrpdr


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

10.7.50.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl50sf-10kflows-ndrpdr


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

10.7.50.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl50sf-10kflows-ndrpdr


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

10.7.50.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl50sf-10kflows-ndrpdr


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

10.7.50.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl50sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.50.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl50sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.50.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl50sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.51. 10ge2p1x710-eth-l2bdbasemaclrn-oacl50sl-100flows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | OACL | ACL50 | 100_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 50
| ${flows_per_dir}= | 100
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u10p-conc

10.7.51.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.51.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl50sl-100flows-ndrpdr


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

10.7.51.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl50sl-100flows-ndrpdr


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

10.7.51.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl50sl-100flows-ndrpdr


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

10.7.51.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl50sl-100flows-ndrpdr


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

10.7.51.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl50sl-100flows-ndrpdr


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

10.7.51.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl50sl-100flows-ndrpdr


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

10.7.51.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl50sl-100flows-ndrpdr


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

10.7.51.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl50sl-100flows-ndrpdr


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

10.7.51.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl50sl-100flows-ndrpdr


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

10.7.51.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl50sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.51.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl50sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.51.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl50sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.52. 10ge2p1x710-eth-l2bdbasemaclrn-oacl50sl-100kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | OACL | ACL50 | 100K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 50
| ${flows_per_dir}= | 100k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-100u1000p-conc

10.7.52.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.52.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl50sl-100kflows-ndrpdr


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

10.7.52.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl50sl-100kflows-ndrpdr


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

10.7.52.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl50sl-100kflows-ndrpdr


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

10.7.52.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl50sl-100kflows-ndrpdr


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

10.7.52.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl50sl-100kflows-ndrpdr


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

10.7.52.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl50sl-100kflows-ndrpdr


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

10.7.52.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl50sl-100kflows-ndrpdr


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

10.7.52.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl50sl-100kflows-ndrpdr


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

10.7.52.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl50sl-100kflows-ndrpdr


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

10.7.52.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl50sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.52.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl50sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.52.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl50sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.53. 10ge2p1x710-eth-l2bdbasemaclrn-oacl50sl-10kflows-ndrpdr suite

RFC2544: Packet throughput L2BD test cases with ACL

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for L2 switching of IPv4. [Cfg] DUT configuration: DUT1 is configured with L2 bridge domainand MAC learning enabled. DUT2 is configured with L2 cross-connects.Required ACL rules are applied to input paths of both DUT1 intefaces.DUT1 and DUT2 are 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, ${flows_per_dir} flows per flow-group) withall packets containing Ethernet header, IPv4 header with UDP header andstatic payload. MAC addresses are matching MAC addresses of the TG nodeinterfaces. [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 | FEATURE | ACL | ACL_STATELESS
| ... | OACL | ACL50 | 10K_FLOWS
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | acl
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so
| ${osi_layer}= | L2
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# ACL test setup
| ${acl_action}= | permit
| ${acl_apply_type}= | output
| ${no_hit_aces_number}= | 50
| ${flows_per_dir}= | 10k
# starting points for non-hitting ACLs
| ${src_ip_start}= | 30.30.30.1
| ${dst_ip_start}= | 40.40.40.1
| ${ip_step}= | ${1}
| ${sport_start}= | ${1000}
| ${dport_start}= | ${1000}
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u1000p-conc

10.7.53.1. Local Template

FIXME. [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 L2 bridge domain with IPv4 ACLs on DUT1 in 3-node circular topology
 Then Find NDR and PDR intervals using optimized search

10.7.53.2. tc01-64B-1c-eth-l2bdbasemaclrn-oacl50sl-10kflows-ndrpdr


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

10.7.53.3. tc02-64B-2c-eth-l2bdbasemaclrn-oacl50sl-10kflows-ndrpdr


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

10.7.53.4. tc03-64B-4c-eth-l2bdbasemaclrn-oacl50sl-10kflows-ndrpdr


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

10.7.53.5. tc04-1518B-1c-eth-l2bdbasemaclrn-oacl50sl-10kflows-ndrpdr


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

10.7.53.6. tc05-1518B-2c-eth-l2bdbasemaclrn-oacl50sl-10kflows-ndrpdr


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

10.7.53.7. tc06-1518B-4c-eth-l2bdbasemaclrn-oacl50sl-10kflows-ndrpdr


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

10.7.53.8. tc07-9000B-1c-eth-l2bdbasemaclrn-oacl50sl-10kflows-ndrpdr


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

10.7.53.9. tc08-9000B-2c-eth-l2bdbasemaclrn-oacl50sl-10kflows-ndrpdr


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

10.7.53.10. tc09-9000B-4c-eth-l2bdbasemaclrn-oacl50sl-10kflows-ndrpdr


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

10.7.53.11. tc10-IMIX-1c-eth-l2bdbasemaclrn-oacl50sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.7.53.12. tc11-IMIX-2c-eth-l2bdbasemaclrn-oacl50sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.7.53.13. tc12-IMIX-4c-eth-l2bdbasemaclrn-oacl50sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.7.54. 10ge2p1x710-eth-l2bdscale100kmaclrn-ndrpdr suite

RFC2544: Pkt throughput for L2BD 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. [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge-domain and MAC learning enabled. DUT1 and DUT2 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 profilecontains two L3 flow-groups (flow-group per direction, 50k flows perflow-group) with all packets containing Ethernet header, IPv4 headerwith IP protocol=61 and static payload.MAC addresses ranges are incremented as follows: port01_src ca:fe:00:00:00:00 - port01_src ca:fe:00:07:a1:1f, port01_dst fa:ce:00:00:00:00 - port01_dst fa:ce:00:07:a1:1f, port02_src fa:ce:00:00:00:00 - port02_src fa:ce:00:07:a1:1f, port02_dst ca:fe:00:00:00:00 - port02_dst ca:fe:00:07:a1:1f