10.3. ip4

10.3.1. 10ge2p1x710-avf-dot1q-ip4base-ndrpdr suite

RFC2544: Pkt throughput IPv4 routing with IEEE 802.1Q testcases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. IEEE 802.1Qtagging is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and two static IPv4 /30 route entries. DUT1 and DUT2 testedwith ${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 IPprotocol=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 | IP4FWD | BASE | DOT1Q | IP4BASE | 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}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
# TG subnets used by T-Rex
| ${tg_if1_net}= | 10.10.10.0
| ${tg_if2_net}= | 20.20.20.0
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.3.1.1. Local Template

[Cfg] Each DUT runs IPv4 routing 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 IPv4 forwarding with VLAN dot1q sub-interfaces in circular topology  ${tg_if1_net}  ${tg_if2_net}  ${subid}  ${tag_rewrite}
 Then Find NDR and PDR intervals using optimized search

10.3.1.2. tc01-64B-1c-avf-dot1q-ip4base-ndrpdr


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

10.3.1.3. tc02-64B-2c-avf-dot1q-ip4base-ndrpdr


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

10.3.1.4. tc03-64B-4c-avf-dot1q-ip4base-ndrpdr


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

10.3.1.5. tc04-1518B-1c-avf-dot1q-ip4base-ndrpdr


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

10.3.1.6. tc05-1518B-2c-avf-dot1q-ip4base-ndrpdr


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

10.3.1.7. tc06-1518B-4c-avf-dot1q-ip4base-ndrpdr


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

10.3.1.8. tc07-9000B-1c-avf-dot1q-ip4base-ndrpdr


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

10.3.1.9. tc08-9000B-2c-avf-dot1q-ip4base-ndrpdr


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

10.3.1.10. tc09-9000B-4c-avf-dot1q-ip4base-ndrpdr


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

10.3.1.11. tc10-IMIX-1c-avf-dot1q-ip4base-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.1.12. tc11-IMIX-2c-avf-dot1q-ip4base-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.1.13. tc12-IMIX-4c-avf-dot1q-ip4base-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.2. 10ge2p1x710-avf-eth-ip4base-ndrpdr suite

RFC2544: Pkt throughput IPv4 routing test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and two static IPv4 /24 route entries. DUT1 and DUT2 testedwith ${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 profilecontains two L3 flow-groups (flow-group per direction, 253 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 | IP4FWD | BASE | IP4BASE | 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}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src253

10.3.2.1. Local template

[Cfg] DUT runs IPv4 routing config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add 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 IPv4 forwarding in circular topology
 Then Find NDR and PDR intervals using optimized search

10.3.2.2. tc01-64B-1c-avf-eth-ip4base-ndrpdr


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

10.3.2.3. tc02-64B-2c-avf-eth-ip4base-ndrpdr


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

10.3.2.4. tc03-64B-4c-avf-eth-ip4base-ndrpdr


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

10.3.2.5. tc04-1518B-1c-avf-eth-ip4base-ndrpdr


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

10.3.2.6. tc05-1518B-2c-avf-eth-ip4base-ndrpdr


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

10.3.2.7. tc06-1518B-4c-avf-eth-ip4base-ndrpdr


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

10.3.2.8. tc07-9000B-1c-avf-eth-ip4base-ndrpdr


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

10.3.2.9. tc08-9000B-2c-avf-eth-ip4base-ndrpdr


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

10.3.2.10. tc09-9000B-4c-avf-eth-ip4base-ndrpdr


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

10.3.2.11. tc10-IMIX-1c-avf-eth-ip4base-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.2.12. tc11-IMIX-2c-avf-eth-ip4base-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.2.13. tc12-IMIX-4c-avf-eth-ip4base-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.3. 10ge2p1x710-avf-ethip4-ip4scale200k-ndrpdr suite

RFC2544: Pkt throughput IPv4 routing test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and 2x100k static IPv4 /32 route entries. DUT1 and DUT2 testedwith ${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 profilecontains two L3 flow-groups (flow-group per direction, 100k 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 | IP4FWD | SCALE | FIB_200K | 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}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${rts_per_flow}= | ${100000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst${rts_per_flow}

10.3.3.1. Local Template

[Cfg] DUT runs IPv4 routing config. Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add 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 IPv4 forwarding with scaling in circular topology  ${rts_per_flow}
 Then Find NDR and PDR intervals using optimized search

10.3.3.2. tc01-64B-1c-avf-ethip4-ip4scale200k-ndrpdr


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

10.3.3.3. tc02-64B-2c-avf-ethip4-ip4scale200k-ndrpdr


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

10.3.3.4. tc03-64B-4c-avf-ethip4-ip4scale200k-ndrpdr


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

10.3.3.5. tc04-1518B-1c-avf-ethip4-ip4scale200k-ndrpdr


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

10.3.3.6. tc05-1518B-2c-avf-ethip4-ip4scale200k-ndrpdr


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

10.3.3.7. tc06-1518B-4c-avf-ethip4-ip4scale200k-ndrpdr


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

10.3.3.8. tc07-9000B-1c-avf-ethip4-ip4scale200k-ndrpdr


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

10.3.3.9. tc08-9000B-2c-avf-ethip4-ip4scale200k-ndrpdr


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

10.3.3.10. tc09-9000B-4c-avf-ethip4-ip4scale200k-ndrpdr


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

10.3.3.11. tc10-IMIX-1c-avf-ethip4-ip4scale200k-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.3.12. tc11-IMIX-2c-avf-ethip4-ip4scale200k-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.3.13. tc12-IMIX-4c-avf-ethip4-ip4scale200k-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.4. 10ge2p1x710-avf-ethip4-ip4scale20k-ndrpdr suite

RFC2544: Pkt throughput IPv4 routing test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and 2x10k static IPv4 /32 route entries. DUT1 and DUT2 testedwith ${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 profilecontains two L3 flow-groups (flow-group per direction, 10k 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 | IP4FWD | SCALE | FIB_20K | 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}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${rts_per_flow}= | ${10000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst${rts_per_flow}

10.3.4.1. Local Template

[Cfg] DUT runs IPv4 routing config. Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add 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 IPv4 forwarding with scaling in circular topology  ${rts_per_flow}
 Then Find NDR and PDR intervals using optimized search

10.3.4.2. tc01-64B-1c-avf-ethip4-ip4scale20k-ndrpdr


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

10.3.4.3. tc02-64B-2c-avf-ethip4-ip4scale20k-ndrpdr


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

10.3.4.4. tc03-64B-4c-avf-ethip4-ip4scale20k-ndrpdr


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

10.3.4.5. tc04-1518B-1c-avf-ethip4-ip4scale20k-ndrpdr


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

10.3.4.6. tc05-1518B-2c-avf-ethip4-ip4scale20k-ndrpdr


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

10.3.4.7. tc06-1518B-4c-avf-ethip4-ip4scale20k-ndrpdr


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

10.3.4.8. tc07-9000B-1c-avf-ethip4-ip4scale20k-ndrpdr


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

10.3.4.9. tc08-9000B-2c-avf-ethip4-ip4scale20k-ndrpdr


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

10.3.4.10. tc09-9000B-4c-avf-ethip4-ip4scale20k-ndrpdr


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

10.3.4.11. tc10-IMIX-1c-avf-ethip4-ip4scale20k-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.4.12. tc11-IMIX-2c-avf-ethip4-ip4scale20k-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.4.13. tc12-IMIX-4c-avf-ethip4-ip4scale20k-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.5. 10ge2p1x710-avf-ethip4-ip4scale2m-ndrpdr suite

RFC2544: Pkt throughput IPv4 routing test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and 2x1M static IPv4 /32 route entries. DUT1 and DUT2 testedwith ${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 profilecontains two L3 flow-groups (flow-group per direction, 1M 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 | IP4FWD | SCALE | FIB_2M | 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}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${rts_per_flow}= | ${1000000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst${rts_per_flow}

10.3.5.1. Local Template

[Cfg] DUT runs IPv4 routing config. Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add 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 IPv4 forwarding with scaling in circular topology  ${rts_per_flow}
 Then Find NDR and PDR intervals using optimized search

10.3.5.2. tc01-64B-1c-avf-ethip4-ip4scale2m-ndrpdr


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

10.3.5.3. tc02-64B-2c-avf-ethip4-ip4scale2m-ndrpdr


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

10.3.5.4. tc03-64B-4c-avf-ethip4-ip4scale2m-ndrpdr


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

10.3.5.5. tc04-1518B-1c-avf-ethip4-ip4scale2m-ndrpdr


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

10.3.5.6. tc05-1518B-2c-avf-ethip4-ip4scale2m-ndrpdr


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

10.3.5.7. tc06-1518B-4c-avf-ethip4-ip4scale2m-ndrpdr


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

10.3.5.8. tc07-9000B-1c-avf-ethip4-ip4scale2m-ndrpdr


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

10.3.5.9. tc08-9000B-2c-avf-ethip4-ip4scale2m-ndrpdr


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

10.3.5.10. tc09-9000B-4c-avf-ethip4-ip4scale2m-ndrpdr


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

10.3.5.11. tc10-IMIX-1c-avf-ethip4-ip4scale2m-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.5.12. tc11-IMIX-2c-avf-ethip4-ip4scale2m-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.5.13. tc12-IMIX-4c-avf-ethip4-ip4scale2m-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.6. 10ge2p1x710-dot1q-ip4base-ndrpdr suite

RFC2544: Pkt throughput IPv4 routing with IEEE 802.1Q testcases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. IEEE 802.1Qtagging is applied on link between DUT1 and DUT2. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and two static IPv4 /30 route entries. DUT1 and DUT2 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 IPprotocol=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 | IP4FWD | BASE | DOT1Q | IP4BASE
| ...
| 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}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${4}
| ${subid}= | 10
| ${tag_rewrite}= | pop-1
# TG subnets used by T-Rex
| ${tg_if1_net}= | 10.10.10.0
| ${tg_if2_net}= | 20.20.20.0
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

10.3.6.1. Local Template

[Cfg] Each DUT runs IPv4 routing 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 IPv4 forwarding with VLAN dot1q sub-interfaces in circular topology  ${tg_if1_net}  ${tg_if2_net}  ${subid}  ${tag_rewrite}
 Then Find NDR and PDR intervals using optimized search

10.3.6.2. tc01-64B-1c-dot1q-ip4base-ndrpdr


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

10.3.6.3. tc02-64B-2c-dot1q-ip4base-ndrpdr


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

10.3.6.4. tc03-64B-4c-dot1q-ip4base-ndrpdr


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

10.3.6.5. tc04-1518B-1c-dot1q-ip4base-ndrpdr


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

10.3.6.6. tc05-1518B-2c-dot1q-ip4base-ndrpdr


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

10.3.6.7. tc06-1518B-4c-dot1q-ip4base-ndrpdr


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

10.3.6.8. tc07-9000B-1c-dot1q-ip4base-ndrpdr


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

10.3.6.9. tc08-9000B-2c-dot1q-ip4base-ndrpdr


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

10.3.6.10. tc09-9000B-4c-dot1q-ip4base-ndrpdr


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

10.3.6.11. tc10-IMIX-1c-dot1q-ip4base-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.6.12. tc11-IMIX-2c-dot1q-ip4base-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.6.13. tc12-IMIX-4c-dot1q-ip4base-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.7. 10ge2p1x710-ethip4-ip4base-copwhtlistbase-ndrpdr suite

RFC2544: Pkt throughput IPv4 whitelist test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing, two static IPv4 /24 routes and IPv4 COP security whitelist ingress /24 filter entries applied on links TG - DUT1 and DUT2 - TG. 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
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | FEATURE | COPWHLIST
| ...
| 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}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src253

10.3.7.1. Local Template

[Cfg] DUT runs IPv4 routing config. Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize IPv4 forwarding in circular topology
  And Add Fib Table  ${dut1}  1
  And Vpp Route Add  ${dut1}  10.10.10.0  24  vrf=1  local=${TRUE}
  And Add Fib Table  ${dut2}  1
  And Vpp Route Add  ${dut2}  20.20.20.0  24  vrf=1  local=${TRUE}
  And COP Add whitelist Entry  ${dut1}  ${dut1_if1}  ip4  1
  And COP Add whitelist Entry  ${dut2}  ${dut2_if2}  ip4  1
  And COP interface enable or disable  ${dut1}  ${dut1_if1}  enable
  And COP interface enable or disable  ${dut2}  ${dut2_if2}  enable
 Then Find NDR and PDR intervals using optimized search

10.3.7.2. tc01-64B-1c-ethip4-ip4base-copwhtlistbase-ndrpdr


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

10.3.7.3. tc02-64B-2c-ethip4-ip4base-copwhtlistbase-ndrpdr


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

10.3.7.4. tc03-64B-4c-ethip4-ip4base-copwhtlistbase-ndrpdr


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

10.3.7.5. tc04-1518B-1c-ethip4-ip4base-copwhtlistbase-ndrpdr


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

10.3.7.6. tc05-1518B-2c-ethip4-ip4base-copwhtlistbase-ndrpdr


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

10.3.7.7. tc06-1518B-4c-ethip4-ip4base-copwhtlistbase-ndrpdr


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

10.3.7.8. tc07-9000B-1c-ethip4-ip4base-copwhtlistbase-ndrpdr


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

10.3.7.9. tc08-9000B-2c-ethip4-ip4base-copwhtlistbase-ndrpdr


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

10.3.7.10. tc09-9000B-4c-ethip4-ip4base-copwhtlistbase-ndrpdr


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

10.3.7.11. tc10-IMIX-1c-ethip4-ip4base-copwhtlistbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.7.12. tc11-IMIX-2c-ethip4-ip4base-copwhtlistbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.7.13. tc12-IMIX-4c-ethip4-ip4base-copwhtlistbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.8. 10ge2p1x710-ethip4-ip4base-iacldstbase-ndrpdr suite

RFC2544: Pkt throughput IPv4 iAcl whitelist test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing, two static IPv4 /24 routes and IPv4 iAcl security whitelist ingress /24 filter entries applied on links TG - DUT1 and DUT2 - TG. 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, IPv6 header and generated payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | FEATURE | IACLDST
| ...
| 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}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src253

10.3.8.1. Local Template

[Cfg] DUT runs IPv4 routing config. Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize IPv4 forwarding in circular topology
${table_idx}  ${skip_n}  ${match_n}=  And Vpp Creates Classify Table L3  ${dut1}  ip4  dst  20.20.20.2
  And Vpp Configures Classify Session L3  ${dut1}  permit  ${table_idx}  ip4  dst  20.20.20.2
  And Vpp Enable Input Acl Interface  ${dut1}  ${dut1_if1}  ip4  ${table_idx}
${table_idx}  ${skip_n}  ${match_n}=  And Vpp Creates Classify Table L3  ${dut2}  ip4  dst  10.10.10.2
  And Vpp Configures Classify Session L3  ${dut2}  permit  ${table_idx}  ip4  dst  10.10.10.2
  And Vpp Enable Input Acl Interface  ${dut2}  ${dut2_if2}  ip4  ${table_idx}
 Then Find NDR and PDR intervals using optimized search

10.3.8.2. tc01-64B-1c-ethip4-ip4base-iacldstbase-ndrpdr


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

10.3.8.3. tc02-64B-2c-ethip4-ip4base-iacldstbase-ndrpdr


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

10.3.8.4. tc03-64B-4c-ethip4-ip4base-iacldstbase-ndrpdr


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

10.3.8.5. tc04-1518B-1c-ethip4-ip4base-iacldstbase-ndrpdr


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

10.3.8.6. tc05-1518B-2c-ethip4-ip4base-iacldstbase-ndrpdr


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

10.3.8.7. tc06-1518B-4c-ethip4-ip4base-iacldstbase-ndrpdr


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

10.3.8.8. tc07-9000B-1c-ethip4-ip4base-iacldstbase-ndrpdr


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

10.3.8.9. tc08-9000B-2c-ethip4-ip4base-iacldstbase-ndrpdr


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

10.3.8.10. tc09-9000B-4c-ethip4-ip4base-iacldstbase-ndrpdr


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

10.3.8.11. tc10-IMIX-1c-ethip4-ip4base-iacldstbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.8.12. tc11-IMIX-2c-ethip4-ip4base-iacldstbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.8.13. tc12-IMIX-4c-ethip4-ip4base-iacldstbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.9. 10ge2p1x710-ethip4-ip4base-ipolicemarkbase-ndrpdr suite

RFC2544: Pkt throughput IPv4 policer test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and two static IPv4 /24 route entries and policer with 2R3C color-aware configuration. Policer is applied on links TG - DUT1 and DUT2 - TG. 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, IPv6 header and generated payload. MAC addresses are matching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544, RFC2698.

# 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
| Library | resources.libraries.python.Policer
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | IP4FWD | FEATURE | POLICE_MARK
| ...
| 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}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${cir}= | ${100}
| ${eir}= | ${150}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src253

10.3.9.1. Local Template

[Cfg] DUT runs IPv4 routing config. Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Set Test Variable  \${cb}  ${frame_size}
Set Test Variable  \${eb}  ${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize IPv4 forwarding in circular topology
  And Initialize IPv4 policer 2r3c-'ca' in circular topology
 Then Find NDR and PDR intervals using optimized search

10.3.9.2. tc01-64B-1c-ethip4-ip4base-ipolicemarkbase-ndrpdr


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

10.3.9.3. tc02-64B-2c-ethip4-ip4base-ipolicemarkbase-ndrpdr


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

10.3.9.4. tc03-64B-4c-ethip4-ip4base-ipolicemarkbase-ndrpdr


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

10.3.9.5. tc04-1518B-1c-ethip4-ip4base-ipolicemarkbase-ndrpdr


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

10.3.9.6. tc05-1518B-2c-ethip4-ip4base-ipolicemarkbase-ndrpdr


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

10.3.9.7. tc06-1518B-4c-ethip4-ip4base-ipolicemarkbase-ndrpdr


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

10.3.9.8. tc07-9000B-1c-ethip4-ip4base-ipolicemarkbase-ndrpdr


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

10.3.9.9. tc08-9000B-2c-ethip4-ip4base-ipolicemarkbase-ndrpdr


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

10.3.9.10. tc09-9000B-4c-ethip4-ip4base-ipolicemarkbase-ndrpdr


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

10.3.9.11. tc10-IMIX-1c-ethip4-ip4base-ipolicemarkbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.9.12. tc11-IMIX-2c-ethip4-ip4base-ipolicemarkbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.9.13. tc12-IMIX-4c-ethip4-ip4base-ipolicemarkbase-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.10. 10ge2p1x710-ethip4-ip4base-ndrpdr suite

RFC2544: Pkt throughput IPv4 routing test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and two static IPv4 /24 route entries. 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, 253 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 | IP4FWD | BASE | IP4BASE
| ...
| 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}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src253

10.3.10.1. Local Template

[Cfg] DUT runs IPv4 routing config. Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize IPv4 forwarding in circular topology
 Then Find NDR and PDR intervals using optimized search

10.3.10.2. tc01-64B-1c-ethip4-ip4base-ndrpdr


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

10.3.10.3. tc02-64B-2c-ethip4-ip4base-ndrpdr


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

10.3.10.4. tc03-64B-4c-ethip4-ip4base-ndrpdr


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

10.3.10.5. tc04-1518B-1c-ethip4-ip4base-ndrpdr


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

10.3.10.6. tc05-1518B-2c-ethip4-ip4base-ndrpdr


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

10.3.10.7. tc06-1518B-4c-ethip4-ip4base-ndrpdr


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

10.3.10.8. tc07-9000B-1c-ethip4-ip4base-ndrpdr


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

10.3.10.9. tc08-9000B-2c-ethip4-ip4base-ndrpdr


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

10.3.10.10. tc09-9000B-4c-ethip4-ip4base-ndrpdr


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

10.3.10.11. tc10-IMIX-1c-ethip4-ip4base-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.10.12. tc11-IMIX-2c-ethip4-ip4base-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.10.13. tc12-IMIX-4c-ethip4-ip4base-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.11. 10ge2p1x710-ethip4-ip4scale200k-ndrpdr suite

RFC2544: Pkt throughput IPv4 routing test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and 2x100k static IPv4 /32 route entries. DUT1 and DUT2 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, 100k 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 | IP4FWD | SCALE | FIB_200K
| ...
| 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}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${rts_per_flow}= | ${100000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst${rts_per_flow}

10.3.11.1. Local Template

[Cfg] DUT runs IPv4 routing config. Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize IPv4 forwarding with scaling in circular topology  ${rts_per_flow}
 Then Find NDR and PDR intervals using optimized search

10.3.11.2. tc01-64B-1c-ethip4-ip4scale200k-ndrpdr


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

10.3.11.3. tc02-64B-2c-ethip4-ip4scale200k-ndrpdr


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

10.3.11.4. tc03-64B-4c-ethip4-ip4scale200k-ndrpdr


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

10.3.11.5. tc04-1518B-1c-ethip4-ip4scale200k-ndrpdr


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

10.3.11.6. tc05-1518B-2c-ethip4-ip4scale200k-ndrpdr


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

10.3.11.7. tc06-1518B-4c-ethip4-ip4scale200k-ndrpdr


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

10.3.11.8. tc07-9000B-1c-ethip4-ip4scale200k-ndrpdr


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

10.3.11.9. tc08-9000B-2c-ethip4-ip4scale200k-ndrpdr


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

10.3.11.10. tc09-9000B-4c-ethip4-ip4scale200k-ndrpdr


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

10.3.11.11. tc10-IMIX-1c-ethip4-ip4scale200k-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.11.12. tc11-IMIX-2c-ethip4-ip4scale200k-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.11.13. tc12-IMIX-4c-ethip4-ip4scale200k-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.12. 10ge2p1x710-ethip4-ip4scale20k-ndrpdr suite

RFC2544: Pkt throughput IPv4 routing test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and 2x10k static IPv4 /32 route entries. DUT1 and DUT2 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, 10k 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 | IP4FWD | SCALE | FIB_20K
| ...
| 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}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${rts_per_flow}= | ${10000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst${rts_per_flow}

10.3.12.1. Local Template

[Cfg] DUT runs IPv4 routing config. Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize IPv4 forwarding with scaling in circular topology  ${rts_per_flow}
 Then Find NDR and PDR intervals using optimized search

10.3.12.2. tc01-64B-1c-ethip4-ip4scale20k-ndrpdr


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

10.3.12.3. tc02-64B-2c-ethip4-ip4scale20k-ndrpdr


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

10.3.12.4. tc03-64B-4c-ethip4-ip4scale20k-ndrpdr


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

10.3.12.5. tc04-1518B-1c-ethip4-ip4scale20k-ndrpdr


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

10.3.12.6. tc05-1518B-2c-ethip4-ip4scale20k-ndrpdr


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

10.3.12.7. tc06-1518B-4c-ethip4-ip4scale20k-ndrpdr


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

10.3.12.8. tc07-9000B-1c-ethip4-ip4scale20k-ndrpdr


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

10.3.12.9. tc08-9000B-2c-ethip4-ip4scale20k-ndrpdr


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

10.3.12.10. tc09-9000B-4c-ethip4-ip4scale20k-ndrpdr


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

10.3.12.11. tc10-IMIX-1c-ethip4-ip4scale20k-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.12.12. tc11-IMIX-2c-ethip4-ip4scale20k-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.12.13. tc12-IMIX-4c-ethip4-ip4scale20k-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.13. 10ge2p1x710-ethip4-ip4scale2m-ndrpdr suite

RFC2544: Pkt throughput IPv4 routing test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and 2x1M static IPv4 /32 route entries. DUT1 and DUT2 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, 1M 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 | IP4FWD | SCALE | FIB_2M
| ...
| 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}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${rts_per_flow}= | ${1000000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst${rts_per_flow}

10.3.13.1. Local Template

[Cfg] DUT runs IPv4 routing config. Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize IPv4 forwarding with scaling in circular topology  ${rts_per_flow}
 Then Find NDR and PDR intervals using optimized search

10.3.13.2. tc01-64B-1c-ethip4-ip4scale2m-ndrpdr


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

10.3.13.3. tc02-64B-2c-ethip4-ip4scale2m-ndrpdr


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

10.3.13.4. tc03-64B-4c-ethip4-ip4scale2m-ndrpdr


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

10.3.13.5. tc04-1518B-1c-ethip4-ip4scale2m-ndrpdr


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

10.3.13.6. tc05-1518B-2c-ethip4-ip4scale2m-ndrpdr


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

10.3.13.7. tc06-1518B-4c-ethip4-ip4scale2m-ndrpdr


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

10.3.13.8. tc07-9000B-1c-ethip4-ip4scale2m-ndrpdr


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

10.3.13.9. tc08-9000B-2c-ethip4-ip4scale2m-ndrpdr


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

10.3.13.10. tc09-9000B-4c-ethip4-ip4scale2m-ndrpdr


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

10.3.13.11. tc10-IMIX-1c-ethip4-ip4scale2m-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.13.12. tc11-IMIX-2c-ethip4-ip4scale2m-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.13.13. tc12-IMIX-4c-ethip4-ip4scale2m-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.14. 10ge2p1x710-ethip4udp-ip4base-iacl10sf-100flows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.14.2. tc01-64B-1c-ethip4udp-ip4base-iacl10sf-100flows-ndrpdr


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

10.3.14.3. tc02-64B-2c-ethip4udp-ip4base-iacl10sf-100flows-ndrpdr


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

10.3.14.4. tc03-64B-4c-ethip4udp-ip4base-iacl10sf-100flows-ndrpdr


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

10.3.14.5. tc04-1518B-1c-ethip4udp-ip4base-iacl10sf-100flows-ndrpdr


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

10.3.14.6. tc05-1518B-2c-ethip4udp-ip4base-iacl10sf-100flows-ndrpdr


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

10.3.14.7. tc06-1518B-4c-ethip4udp-ip4base-iacl10sf-100flows-ndrpdr


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

10.3.14.8. tc07-9000B-1c-ethip4udp-ip4base-iacl10sf-100flows-ndrpdr


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

10.3.14.9. tc08-9000B-2c-ethip4udp-ip4base-iacl10sf-100flows-ndrpdr


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

10.3.14.10. tc09-9000B-4c-ethip4udp-ip4base-iacl10sf-100flows-ndrpdr


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

10.3.14.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl10sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.14.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl10sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.14.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl10sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.15. 10ge2p1x710-ethip4udp-ip4base-iacl10sf-100kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${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-100u1000p-conc

10.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.15.2. tc01-64B-1c-ethip4udp-ip4base-iacl10sf-100kflows-ndrpdr


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

10.3.15.3. tc02-64B-2c-ethip4udp-ip4base-iacl10sf-100kflows-ndrpdr


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

10.3.15.4. tc03-64B-4c-ethip4udp-ip4base-iacl10sf-100kflows-ndrpdr


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

10.3.15.5. tc04-1518B-1c-ethip4udp-ip4base-iacl10sf-100kflows-ndrpdr


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

10.3.15.6. tc05-1518B-2c-ethip4udp-ip4base-iacl10sf-100kflows-ndrpdr


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

10.3.15.7. tc06-1518B-4c-ethip4udp-ip4base-iacl10sf-100kflows-ndrpdr


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

10.3.15.8. tc07-9000B-1c-ethip4udp-ip4base-iacl10sf-100kflows-ndrpdr


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

10.3.15.9. tc08-9000B-2c-ethip4udp-ip4base-iacl10sf-100kflows-ndrpdr


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

10.3.15.10. tc09-9000B-4c-ethip4udp-ip4base-iacl10sf-100kflows-ndrpdr


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

10.3.15.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl10sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.15.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl10sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.15.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl10sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.16. 10ge2p1x710-ethip4udp-ip4base-iacl10sf-10kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.16.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.16.2. tc01-64B-1c-ethip4udp-ip4base-iacl10sf-10kflows-ndrpdr


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

10.3.16.3. tc02-64B-2c-ethip4udp-ip4base-iacl10sf-10kflows-ndrpdr


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

10.3.16.4. tc03-64B-4c-ethip4udp-ip4base-iacl10sf-10kflows-ndrpdr


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

10.3.16.5. tc04-1518B-1c-ethip4udp-ip4base-iacl10sf-10kflows-ndrpdr


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

10.3.16.6. tc05-1518B-2c-ethip4udp-ip4base-iacl10sf-10kflows-ndrpdr


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

10.3.16.7. tc06-1518B-4c-ethip4udp-ip4base-iacl10sf-10kflows-ndrpdr


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

10.3.16.8. tc07-9000B-1c-ethip4udp-ip4base-iacl10sf-10kflows-ndrpdr


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

10.3.16.9. tc08-9000B-2c-ethip4udp-ip4base-iacl10sf-10kflows-ndrpdr


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

10.3.16.10. tc09-9000B-4c-ethip4udp-ip4base-iacl10sf-10kflows-ndrpdr


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

10.3.16.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl10sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.16.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl10sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.16.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl10sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.17. 10ge2p1x710-ethip4udp-ip4base-iacl10sl-100flows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.17.2. tc01-64B-1c-ethip4udp-ip4base-iacl10sl-100flows-ndrpdr


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

10.3.17.3. tc02-64B-2c-ethip4udp-ip4base-iacl10sl-100flows-ndrpdr


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

10.3.17.4. tc03-64B-4c-ethip4udp-ip4base-iacl10sl-100flows-ndrpdr


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

10.3.17.5. tc04-1518B-1c-ethip4udp-ip4base-iacl10sl-100flows-ndrpdr


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

10.3.17.6. tc05-1518B-2c-ethip4udp-ip4base-iacl10sl-100flows-ndrpdr


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

10.3.17.7. tc06-1518B-4c-ethip4udp-ip4base-iacl10sl-100flows-ndrpdr


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

10.3.17.8. tc07-9000B-1c-ethip4udp-ip4base-iacl10sl-100flows-ndrpdr


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

10.3.17.9. tc08-9000B-2c-ethip4udp-ip4base-iacl10sl-100flows-ndrpdr


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

10.3.17.10. tc09-9000B-4c-ethip4udp-ip4base-iacl10sl-100flows-ndrpdr


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

10.3.17.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl10sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.17.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl10sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.17.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl10sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.18. 10ge2p1x710-ethip4udp-ip4base-iacl10sl-100kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${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-100u1000p-conc

10.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.18.2. tc01-64B-1c-ethip4udp-ip4base-iacl10sl-100kflows-ndrpdr


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

10.3.18.3. tc02-64B-2c-ethip4udp-ip4base-iacl10sl-100kflows-ndrpdr


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

10.3.18.4. tc03-64B-4c-ethip4udp-ip4base-iacl10sl-100kflows-ndrpdr


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

10.3.18.5. tc04-1518B-1c-ethip4udp-ip4base-iacl10sl-100kflows-ndrpdr


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

10.3.18.6. tc05-1518B-2c-ethip4udp-ip4base-iacl10sl-100kflows-ndrpdr


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

10.3.18.7. tc06-1518B-4c-ethip4udp-ip4base-iacl10sl-100kflows-ndrpdr


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

10.3.18.8. tc07-9000B-1c-ethip4udp-ip4base-iacl10sl-100kflows-ndrpdr


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

10.3.18.9. tc08-9000B-2c-ethip4udp-ip4base-iacl10sl-100kflows-ndrpdr


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

10.3.18.10. tc09-9000B-4c-ethip4udp-ip4base-iacl10sl-100kflows-ndrpdr


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

10.3.18.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl10sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.18.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl10sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.18.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl10sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.19. 10ge2p1x710-ethip4udp-ip4base-iacl10sl-10kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.19.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.19.2. tc01-64B-1c-ethip4udp-ip4base-iacl10sl-10kflows-ndrpdr


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

10.3.19.3. tc02-64B-2c-ethip4udp-ip4base-iacl10sl-10kflows-ndrpdr


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

10.3.19.4. tc03-64B-4c-ethip4udp-ip4base-iacl10sl-10kflows-ndrpdr


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

10.3.19.5. tc04-1518B-1c-ethip4udp-ip4base-iacl10sl-10kflows-ndrpdr


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

10.3.19.6. tc05-1518B-2c-ethip4udp-ip4base-iacl10sl-10kflows-ndrpdr


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

10.3.19.7. tc06-1518B-4c-ethip4udp-ip4base-iacl10sl-10kflows-ndrpdr


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

10.3.19.8. tc07-9000B-1c-ethip4udp-ip4base-iacl10sl-10kflows-ndrpdr


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

10.3.19.9. tc08-9000B-2c-ethip4udp-ip4base-iacl10sl-10kflows-ndrpdr


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

10.3.19.10. tc09-9000B-4c-ethip4udp-ip4base-iacl10sl-10kflows-ndrpdr


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

10.3.19.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl10sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.19.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl10sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.19.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl10sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.20. 10ge2p1x710-ethip4udp-ip4base-iacl1sf-100flows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.20.2. tc01-64B-1c-ethip4udp-ip4base-iacl1sf-100flows-ndrpdr


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

10.3.20.3. tc02-64B-2c-ethip4udp-ip4base-iacl1sf-100flows-ndrpdr


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

10.3.20.4. tc03-64B-4c-ethip4udp-ip4base-iacl1sf-100flows-ndrpdr


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

10.3.20.5. tc04-1518B-1c-ethip4udp-ip4base-iacl1sf-100flows-ndrpdr


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

10.3.20.6. tc05-1518B-2c-ethip4udp-ip4base-iacl1sf-100flows-ndrpdr


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

10.3.20.7. tc06-1518B-4c-ethip4udp-ip4base-iacl1sf-100flows-ndrpdr


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

10.3.20.8. tc07-9000B-1c-ethip4udp-ip4base-iacl1sf-100flows-ndrpdr


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

10.3.20.9. tc08-9000B-2c-ethip4udp-ip4base-iacl1sf-100flows-ndrpdr


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

10.3.20.10. tc09-9000B-4c-ethip4udp-ip4base-iacl1sf-100flows-ndrpdr


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

10.3.20.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl1sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.20.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl1sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.20.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl1sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.21. 10ge2p1x710-ethip4udp-ip4base-iacl1sf-100kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${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-100u1000p-conc

10.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.21.2. tc01-64B-1c-ethip4udp-ip4base-iacl1sf-100kflows-ndrpdr


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

10.3.21.3. tc02-64B-2c-ethip4udp-ip4base-iacl1sf-100kflows-ndrpdr


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

10.3.21.4. tc03-64B-4c-ethip4udp-ip4base-iacl1sf-100kflows-ndrpdr


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

10.3.21.5. tc04-1518B-1c-ethip4udp-ip4base-iacl1sf-100kflows-ndrpdr


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

10.3.21.6. tc05-1518B-2c-ethip4udp-ip4base-iacl1sf-100kflows-ndrpdr


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

10.3.21.7. tc06-1518B-4c-ethip4udp-ip4base-iacl1sf-100kflows-ndrpdr


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

10.3.21.8. tc07-9000B-1c-ethip4udp-ip4base-iacl1sf-100kflows-ndrpdr


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

10.3.21.9. tc08-9000B-2c-ethip4udp-ip4base-iacl1sf-100kflows-ndrpdr


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

10.3.21.10. tc09-9000B-4c-ethip4udp-ip4base-iacl1sf-100kflows-ndrpdr


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

10.3.21.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl1sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.21.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl1sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.21.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl1sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.22. 10ge2p1x710-ethip4udp-ip4base-iacl1sf-10kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.22.1. Local Template

[Cfg] DUT runs IPv4 routing config. Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.22.2. tc01-64B-1c-ethip4udp-ip4base-iacl1sf-10kflows-ndrpdr


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

10.3.22.3. tc02-64B-2c-ethip4udp-ip4base-iacl1sf-10kflows-ndrpdr


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

10.3.22.4. tc03-64B-4c-ethip4udp-ip4base-iacl1sf-10kflows-ndrpdr


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

10.3.22.5. tc04-1518B-1c-ethip4udp-ip4base-iacl1sf-10kflows-ndrpdr


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

10.3.22.6. tc05-1518B-2c-ethip4udp-ip4base-iacl1sf-10kflows-ndrpdr


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

10.3.22.7. tc06-1518B-4c-ethip4udp-ip4base-iacl1sf-10kflows-ndrpdr


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

10.3.22.8. tc07-9000B-1c-ethip4udp-ip4base-iacl1sf-10kflows-ndrpdr


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

10.3.22.9. tc08-9000B-2c-ethip4udp-ip4base-iacl1sf-10kflows-ndrpdr


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

10.3.22.10. tc09-9000B-4c-ethip4udp-ip4base-iacl1sf-10kflows-ndrpdr


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

10.3.22.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl1sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.22.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl1sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.22.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl1sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.23. 10ge2p1x710-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.23.2. tc01-64B-1c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr


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

10.3.23.3. tc02-64B-2c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr


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

10.3.23.4. tc03-64B-4c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr


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

10.3.23.5. tc04-1518B-1c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr


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

10.3.23.6. tc05-1518B-2c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr


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

10.3.23.7. tc06-1518B-4c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr


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

10.3.23.8. tc07-9000B-1c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr


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

10.3.23.9. tc08-9000B-2c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr


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

10.3.23.10. tc09-9000B-4c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr


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

10.3.23.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.23.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.23.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.24. 10ge2p1x710-ethip4udp-ip4base-iacl1sl-100kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
| ${ip_nr}= | ${100}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.24.2. tc01-64B-1c-ethip4udp-ip4base-iacl1sl-100kflows-ndrpdr


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

10.3.24.3. tc02-64B-2c-ethip4udp-ip4base-iacl1sl-100kflows-ndrpdr


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

10.3.24.4. tc03-64B-4c-ethip4udp-ip4base-iacl1sl-100kflows-ndrpdr


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

10.3.24.5. tc04-1518B-1c-ethip4udp-ip4base-iacl1sl-100kflows-ndrpdr


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

10.3.24.6. tc05-1518B-2c-ethip4udp-ip4base-iacl1sl-100kflows-ndrpdr


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

10.3.24.7. tc06-1518B-4c-ethip4udp-ip4base-iacl1sl-100kflows-ndrpdr


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

10.3.24.8. tc07-9000B-1c-ethip4udp-ip4base-iacl1sl-100kflows-ndrpdr


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

10.3.24.9. tc08-9000B-2c-ethip4udp-ip4base-iacl1sl-100kflows-ndrpdr


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

10.3.24.10. tc09-9000B-4c-ethip4udp-ip4base-iacl1sl-100kflows-ndrpdr


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

10.3.24.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl1sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.24.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl1sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.24.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl1sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.25. 10ge2p1x710-ethip4udp-ip4base-iacl1sl-10kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.25.1. Local Template

[Cfg] DUT runs IPv4 routing config. Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.25.2. tc01-64B-1c-ethip4udp-ip4base-iacl1sl-10kflows-ndrpdr


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

10.3.25.3. tc02-64B-2c-ethip4udp-ip4base-iacl1sl-10kflows-ndrpdr


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

10.3.25.4. tc03-64B-4c-ethip4udp-ip4base-iacl1sl-10kflows-ndrpdr


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

10.3.25.5. tc04-1518B-1c-ethip4udp-ip4base-iacl1sl-10kflows-ndrpdr


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

10.3.25.6. tc05-1518B-2c-ethip4udp-ip4base-iacl1sl-10kflows-ndrpdr


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

10.3.25.7. tc06-1518B-4c-ethip4udp-ip4base-iacl1sl-10kflows-ndrpdr


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

10.3.25.8. tc07-9000B-1c-ethip4udp-ip4base-iacl1sl-10kflows-ndrpdr


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

10.3.25.9. tc08-9000B-2c-ethip4udp-ip4base-iacl1sl-10kflows-ndrpdr


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

10.3.25.10. tc09-9000B-4c-ethip4udp-ip4base-iacl1sl-10kflows-ndrpdr


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

10.3.25.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl1sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.25.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl1sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.25.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl1sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.26. 10ge2p1x710-ethip4udp-ip4base-iacl50sf-100flows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.26.2. tc01-64B-1c-ethip4udp-ip4base-iacl50sf-100flows-ndrpdr


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

10.3.26.3. tc02-64B-2c-ethip4udp-ip4base-iacl50sf-100flows-ndrpdr


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

10.3.26.4. tc03-64B-4c-ethip4udp-ip4base-iacl50sf-100flows-ndrpdr


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

10.3.26.5. tc04-1518B-1c-ethip4udp-ip4base-iacl50sf-100flows-ndrpdr


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

10.3.26.6. tc05-1518B-2c-ethip4udp-ip4base-iacl50sf-100flows-ndrpdr


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

10.3.26.7. tc06-1518B-4c-ethip4udp-ip4base-iacl50sf-100flows-ndrpdr


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

10.3.26.8. tc07-9000B-1c-ethip4udp-ip4base-iacl50sf-100flows-ndrpdr


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

10.3.26.9. tc08-9000B-2c-ethip4udp-ip4base-iacl50sf-100flows-ndrpdr


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

10.3.26.10. tc09-9000B-4c-ethip4udp-ip4base-iacl50sf-100flows-ndrpdr


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

10.3.26.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl50sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.26.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl50sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.26.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl50sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.27. 10ge2p1x710-ethip4udp-ip4base-iacl50sf-100kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${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-100u1000p-conc

10.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.27.2. tc01-64B-1c-ethip4udp-ip4base-iacl50sf-100kflows-ndrpdr


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

10.3.27.3. tc02-64B-2c-ethip4udp-ip4base-iacl50sf-100kflows-ndrpdr


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

10.3.27.4. tc03-64B-4c-ethip4udp-ip4base-iacl50sf-100kflows-ndrpdr


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

10.3.27.5. tc04-1518B-1c-ethip4udp-ip4base-iacl50sf-100kflows-ndrpdr


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

10.3.27.6. tc05-1518B-2c-ethip4udp-ip4base-iacl50sf-100kflows-ndrpdr


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

10.3.27.7. tc06-1518B-4c-ethip4udp-ip4base-iacl50sf-100kflows-ndrpdr


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

10.3.27.8. tc07-9000B-1c-ethip4udp-ip4base-iacl50sf-100kflows-ndrpdr


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

10.3.27.9. tc08-9000B-2c-ethip4udp-ip4base-iacl50sf-100kflows-ndrpdr


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

10.3.27.10. tc09-9000B-4c-ethip4udp-ip4base-iacl50sf-100kflows-ndrpdr


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

10.3.27.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl50sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.27.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl50sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.27.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl50sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.28. 10ge2p1x710-ethip4udp-ip4base-iacl50sf-10kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.28.1. Local Template

[Cfg] DUT runs IPv4 routing config. Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.28.2. tc01-64B-1c-ethip4udp-ip4base-iacl50sf-10kflows-ndrpdr


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

10.3.28.3. tc02-64B-2c-ethip4udp-ip4base-iacl50sf-10kflows-ndrpdr


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

10.3.28.4. tc03-64B-4c-ethip4udp-ip4base-iacl50sf-10kflows-ndrpdr


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

10.3.28.5. tc04-1518B-1c-ethip4udp-ip4base-iacl50sf-10kflows-ndrpdr


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

10.3.28.6. tc05-1518B-2c-ethip4udp-ip4base-iacl50sf-10kflows-ndrpdr


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

10.3.28.7. tc06-1518B-4c-ethip4udp-ip4base-iacl50sf-10kflows-ndrpdr


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

10.3.28.8. tc07-9000B-1c-ethip4udp-ip4base-iacl50sf-10kflows-ndrpdr


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

10.3.28.9. tc08-9000B-2c-ethip4udp-ip4base-iacl50sf-10kflows-ndrpdr


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

10.3.28.10. tc09-9000B-4c-ethip4udp-ip4base-iacl50sf-10kflows-ndrpdr


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

10.3.28.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl50sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.28.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl50sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.28.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl50sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.29. 10ge2p1x710-ethip4udp-ip4base-iacl50sl-100flows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.29.2. tc01-64B-1c-ethip4udp-ip4base-iacl50sl-100flows-ndrpdr


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

10.3.29.3. tc02-64B-2c-ethip4udp-ip4base-iacl50sl-100flows-ndrpdr


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

10.3.29.4. tc03-64B-4c-ethip4udp-ip4base-iacl50sl-100flows-ndrpdr


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

10.3.29.5. tc04-1518B-1c-ethip4udp-ip4base-iacl50sl-100flows-ndrpdr


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

10.3.29.6. tc05-1518B-2c-ethip4udp-ip4base-iacl50sl-100flows-ndrpdr


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

10.3.29.7. tc06-1518B-4c-ethip4udp-ip4base-iacl50sl-100flows-ndrpdr


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

10.3.29.8. tc07-9000B-1c-ethip4udp-ip4base-iacl50sl-100flows-ndrpdr


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

10.3.29.9. tc08-9000B-2c-ethip4udp-ip4base-iacl50sl-100flows-ndrpdr


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

10.3.29.10. tc09-9000B-4c-ethip4udp-ip4base-iacl50sl-100flows-ndrpdr


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

10.3.29.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl50sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.29.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl50sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.29.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl50sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.30. 10ge2p1x710-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${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-100u1000p-conc

10.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.30.2. tc01-64B-1c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr


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

10.3.30.3. tc02-64B-2c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr


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

10.3.30.4. tc03-64B-4c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr


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

10.3.30.5. tc04-1518B-1c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr


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

10.3.30.6. tc05-1518B-2c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr


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

10.3.30.7. tc06-1518B-4c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr


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

10.3.30.8. tc07-9000B-1c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr


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

10.3.30.9. tc08-9000B-2c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr


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

10.3.30.10. tc09-9000B-4c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr


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

10.3.30.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.30.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.30.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.31. 10ge2p1x710-ethip4udp-ip4base-iacl50sl-10kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to input paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.31.1. Local Template

[Cfg] DUT runs IPv4 routing config. Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Apply startup configuration on all VPP DUTs
 When Initialize IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.31.2. tc01-64B-1c-ethip4udp-ip4base-iacl50sl-10kflows-ndrpdr


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

10.3.31.3. tc02-64B-2c-ethip4udp-ip4base-iacl50sl-10kflows-ndrpdr


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

10.3.31.4. tc03-64B-4c-ethip4udp-ip4base-iacl50sl-10kflows-ndrpdr


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

10.3.31.5. tc04-1518B-1c-ethip4udp-ip4base-iacl50sl-10kflows-ndrpdr


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

10.3.31.6. tc05-1518B-2c-ethip4udp-ip4base-iacl50sl-10kflows-ndrpdr


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

10.3.31.7. tc06-1518B-4c-ethip4udp-ip4base-iacl50sl-10kflows-ndrpdr


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

10.3.31.8. tc07-9000B-1c-ethip4udp-ip4base-iacl50sl-10kflows-ndrpdr


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

10.3.31.9. tc08-9000B-2c-ethip4udp-ip4base-iacl50sl-10kflows-ndrpdr


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

10.3.31.10. tc09-9000B-4c-ethip4udp-ip4base-iacl50sl-10kflows-ndrpdr


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

10.3.31.11. tc10-IMIX-1c-ethip4udp-ip4base-iacl50sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.31.12. tc11-IMIX-2c-ethip4udp-ip4base-iacl50sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.31.13. tc12-IMIX-4c-ethip4udp-ip4base-iacl50sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.32. 10ge2p1x710-ethip4udp-ip4base-nat44-ndrpdr suite

RFC2544: Pkt throughput NAT44 performance test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and two static IPv4 /24 and IPv4/20 route entries. 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/ip/nat.robot
| Resource | resources/libraries/robot/shared/traffic.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | FEATURE | NAT44 | BASE
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | nat
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | nat_plugin.so
| ${osi_layer}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-1u1p

10.3.32.1. Local Template

[Cfg] DUT runs IPv4 routing config. Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Add NAT to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize NAT44 in circular topology
 Then Find NDR and PDR intervals using optimized search

10.3.32.2. tc01-64B-1c-ethip4udp-ip4base-nat44-ndrpdr


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

10.3.32.3. tc02-64B-2c-ethip4udp-ip4base-nat44-ndrpdr


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

10.3.32.4. tc03-64B-4c-ethip4udp-ip4base-nat44-ndrpdr


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

10.3.32.5. tc04-1518B-1c-ethip4udp-ip4base-nat44-ndrpdr


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

10.3.32.6. tc05-1518B-2c-ethip4udp-ip4base-nat44-ndrpdr


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

10.3.32.7. tc06-1518B-4c-ethip4udp-ip4base-nat44-ndrpdr


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

10.3.32.8. tc07-9000B-1c-ethip4udp-ip4base-nat44-ndrpdr


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

10.3.32.9. tc08-9000B-2c-ethip4udp-ip4base-nat44-ndrpdr


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

10.3.32.10. tc09-9000B-4c-ethip4udp-ip4base-nat44-ndrpdr


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

10.3.32.11. tc10-IMIX-1c-ethip4udp-ip4base-nat44-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.32.12. tc11-IMIX-2c-ethip4udp-ip4base-nat44-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.32.13. tc12-IMIX-4c-ethip4udp-ip4base-nat44-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.33. 10ge2p1x710-ethip4udp-ip4base-oacl10sf-100flows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.33.2. tc01-64B-1c-ethip4udp-ip4base-oacl10sf-100flows-ndrpdr


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

10.3.33.3. tc02-64B-2c-ethip4udp-ip4base-oacl10sf-100flows-ndrpdr


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

10.3.33.4. tc03-64B-4c-ethip4udp-ip4base-oacl10sf-100flows-ndrpdr


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

10.3.33.5. tc04-1518B-1c-ethip4udp-ip4base-oacl10sf-100flows-ndrpdr


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

10.3.33.6. tc05-1518B-2c-ethip4udp-ip4base-oacl10sf-100flows-ndrpdr


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

10.3.33.7. tc06-1518B-4c-ethip4udp-ip4base-oacl10sf-100flows-ndrpdr


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

10.3.33.8. tc07-9000B-1c-ethip4udp-ip4base-oacl10sf-100flows-ndrpdr


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

10.3.33.9. tc08-9000B-2c-ethip4udp-ip4base-oacl10sf-100flows-ndrpdr


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

10.3.33.10. tc09-9000B-4c-ethip4udp-ip4base-oacl10sf-100flows-ndrpdr


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

10.3.33.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl10sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.33.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl10sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.33.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl10sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.34. 10ge2p1x710-ethip4udp-ip4base-oacl10sf-100kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${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-100u1000p-conc

10.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.34.2. tc01-64B-1c-ethip4udp-ip4base-oacl10sf-100kflows-ndrpdr


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

10.3.34.3. tc02-64B-2c-ethip4udp-ip4base-oacl10sf-100kflows-ndrpdr


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

10.3.34.4. tc03-64B-4c-ethip4udp-ip4base-oacl10sf-100kflows-ndrpdr


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

10.3.34.5. tc04-1518B-1c-ethip4udp-ip4base-oacl10sf-100kflows-ndrpdr


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

10.3.34.6. tc05-1518B-2c-ethip4udp-ip4base-oacl10sf-100kflows-ndrpdr


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

10.3.34.7. tc06-1518B-4c-ethip4udp-ip4base-oacl10sf-100kflows-ndrpdr


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

10.3.34.8. tc07-9000B-1c-ethip4udp-ip4base-oacl10sf-100kflows-ndrpdr


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

10.3.34.9. tc08-9000B-2c-ethip4udp-ip4base-oacl10sf-100kflows-ndrpdr


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

10.3.34.10. tc09-9000B-4c-ethip4udp-ip4base-oacl10sf-100kflows-ndrpdr


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

10.3.34.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl10sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.34.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl10sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.34.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl10sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.35. 10ge2p1x710-ethip4udp-ip4base-oacl10sf-10kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.35.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.35.2. tc01-64B-1c-ethip4udp-ip4base-oacl10sf-10kflows-ndrpdr


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

10.3.35.3. tc02-64B-2c-ethip4udp-ip4base-oacl10sf-10kflows-ndrpdr


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

10.3.35.4. tc03-64B-4c-ethip4udp-ip4base-oacl10sf-10kflows-ndrpdr


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

10.3.35.5. tc04-1518B-1c-ethip4udp-ip4base-oacl10sf-10kflows-ndrpdr


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

10.3.35.6. tc05-1518B-2c-ethip4udp-ip4base-oacl10sf-10kflows-ndrpdr


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

10.3.35.7. tc06-1518B-4c-ethip4udp-ip4base-oacl10sf-10kflows-ndrpdr


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

10.3.35.8. tc07-9000B-1c-ethip4udp-ip4base-oacl10sf-10kflows-ndrpdr


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

10.3.35.9. tc08-9000B-2c-ethip4udp-ip4base-oacl10sf-10kflows-ndrpdr


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

10.3.35.10. tc09-9000B-4c-ethip4udp-ip4base-oacl10sf-10kflows-ndrpdr


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

10.3.35.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl10sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.35.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl10sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.35.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl10sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.36. 10ge2p1x710-ethip4udp-ip4base-oacl10sl-100flows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.36.2. tc01-64B-1c-ethip4udp-ip4base-oacl10sl-100flows-ndrpdr


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

10.3.36.3. tc02-64B-2c-ethip4udp-ip4base-oacl10sl-100flows-ndrpdr


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

10.3.36.4. tc03-64B-4c-ethip4udp-ip4base-oacl10sl-100flows-ndrpdr


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

10.3.36.5. tc04-1518B-1c-ethip4udp-ip4base-oacl10sl-100flows-ndrpdr


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

10.3.36.6. tc05-1518B-2c-ethip4udp-ip4base-oacl10sl-100flows-ndrpdr


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

10.3.36.7. tc06-1518B-4c-ethip4udp-ip4base-oacl10sl-100flows-ndrpdr


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

10.3.36.8. tc07-9000B-1c-ethip4udp-ip4base-oacl10sl-100flows-ndrpdr


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

10.3.36.9. tc08-9000B-2c-ethip4udp-ip4base-oacl10sl-100flows-ndrpdr


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

10.3.36.10. tc09-9000B-4c-ethip4udp-ip4base-oacl10sl-100flows-ndrpdr


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

10.3.36.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl10sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.36.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl10sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.36.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl10sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.37. 10ge2p1x710-ethip4udp-ip4base-oacl10sl-100kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${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-100u1000p-conc

10.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.37.2. tc01-64B-1c-ethip4udp-ip4base-oacl10sl-100kflows-ndrpdr


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

10.3.37.3. tc02-64B-2c-ethip4udp-ip4base-oacl10sl-100kflows-ndrpdr


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

10.3.37.4. tc03-64B-4c-ethip4udp-ip4base-oacl10sl-100kflows-ndrpdr


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

10.3.37.5. tc04-1518B-1c-ethip4udp-ip4base-oacl10sl-100kflows-ndrpdr


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

10.3.37.6. tc05-1518B-2c-ethip4udp-ip4base-oacl10sl-100kflows-ndrpdr


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

10.3.37.7. tc06-1518B-4c-ethip4udp-ip4base-oacl10sl-100kflows-ndrpdr


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

10.3.37.8. tc07-9000B-1c-ethip4udp-ip4base-oacl10sl-100kflows-ndrpdr


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

10.3.37.9. tc08-9000B-2c-ethip4udp-ip4base-oacl10sl-100kflows-ndrpdr


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

10.3.37.10. tc09-9000B-4c-ethip4udp-ip4base-oacl10sl-100kflows-ndrpdr


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

10.3.37.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl10sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.37.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl10sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.37.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl10sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.38. 10ge2p1x710-ethip4udp-ip4base-oacl10sl-10kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.38.2. tc01-64B-1c-ethip4udp-ip4base-oacl10sl-10kflows-ndrpdr


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

10.3.38.3. tc02-64B-2c-ethip4udp-ip4base-oacl10sl-10kflows-ndrpdr


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

10.3.38.4. tc03-64B-4c-ethip4udp-ip4base-oacl10sl-10kflows-ndrpdr


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

10.3.38.5. tc04-1518B-1c-ethip4udp-ip4base-oacl10sl-10kflows-ndrpdr


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

10.3.38.6. tc05-1518B-2c-ethip4udp-ip4base-oacl10sl-10kflows-ndrpdr


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

10.3.38.7. tc06-1518B-4c-ethip4udp-ip4base-oacl10sl-10kflows-ndrpdr


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

10.3.38.8. tc07-9000B-1c-ethip4udp-ip4base-oacl10sl-10kflows-ndrpdr


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

10.3.38.9. tc08-9000B-2c-ethip4udp-ip4base-oacl10sl-10kflows-ndrpdr


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

10.3.38.10. tc09-9000B-4c-ethip4udp-ip4base-oacl10sl-10kflows-ndrpdr


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

10.3.38.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl10sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.38.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl10sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.38.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl10sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.39. 10ge2p1x710-ethip4udp-ip4base-oacl1sf-100flows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.39.2. tc01-64B-1c-ethip4udp-ip4base-oacl1sf-100flows-ndrpdr


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

10.3.39.3. tc02-64B-2c-ethip4udp-ip4base-oacl1sf-100flows-ndrpdr


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

10.3.39.4. tc03-64B-4c-ethip4udp-ip4base-oacl1sf-100flows-ndrpdr


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

10.3.39.5. tc04-1518B-1c-ethip4udp-ip4base-oacl1sf-100flows-ndrpdr


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

10.3.39.6. tc05-1518B-2c-ethip4udp-ip4base-oacl1sf-100flows-ndrpdr


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

10.3.39.7. tc06-1518B-4c-ethip4udp-ip4base-oacl1sf-100flows-ndrpdr


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

10.3.39.8. tc07-9000B-1c-ethip4udp-ip4base-oacl1sf-100flows-ndrpdr


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

10.3.39.9. tc08-9000B-2c-ethip4udp-ip4base-oacl1sf-100flows-ndrpdr


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

10.3.39.10. tc09-9000B-4c-ethip4udp-ip4base-oacl1sf-100flows-ndrpdr


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

10.3.39.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl1sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.39.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl1sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.39.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl1sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.40. 10ge2p1x710-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${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-100u1000p-conc

10.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.40.2. tc01-64B-1c-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr


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

10.3.40.3. tc02-64B-2c-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr


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

10.3.40.4. tc03-64B-4c-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr


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

10.3.40.5. tc04-1518B-1c-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr


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

10.3.40.6. tc05-1518B-2c-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr


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

10.3.40.7. tc06-1518B-4c-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr


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

10.3.40.8. tc07-9000B-1c-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr


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

10.3.40.9. tc08-9000B-2c-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr


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

10.3.40.10. tc09-9000B-4c-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr


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

10.3.40.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.40.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.40.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.41. 10ge2p1x710-ethip4udp-ip4base-oacl1sf-10kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.41.2. tc01-64B-1c-ethip4udp-ip4base-oacl1sf-10kflows-ndrpdr


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

10.3.41.3. tc02-64B-2c-ethip4udp-ip4base-oacl1sf-10kflows-ndrpdr


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

10.3.41.4. tc03-64B-4c-ethip4udp-ip4base-oacl1sf-10kflows-ndrpdr


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

10.3.41.5. tc04-1518B-1c-ethip4udp-ip4base-oacl1sf-10kflows-ndrpdr


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

10.3.41.6. tc05-1518B-2c-ethip4udp-ip4base-oacl1sf-10kflows-ndrpdr


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

10.3.41.7. tc06-1518B-4c-ethip4udp-ip4base-oacl1sf-10kflows-ndrpdr


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

10.3.41.8. tc07-9000B-1c-ethip4udp-ip4base-oacl1sf-10kflows-ndrpdr


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

10.3.41.9. tc08-9000B-2c-ethip4udp-ip4base-oacl1sf-10kflows-ndrpdr


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

10.3.41.10. tc09-9000B-4c-ethip4udp-ip4base-oacl1sf-10kflows-ndrpdr


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

10.3.41.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl1sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.41.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl1sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.41.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl1sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.42. 10ge2p1x710-ethip4udp-ip4base-oacl1sl-100flows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.42.2. tc01-64B-1c-ethip4udp-ip4base-oacl1sl-100flows-ndrpdr


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

10.3.42.3. tc02-64B-2c-ethip4udp-ip4base-oacl1sl-100flows-ndrpdr


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

10.3.42.4. tc03-64B-4c-ethip4udp-ip4base-oacl1sl-100flows-ndrpdr


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

10.3.42.5. tc04-1518B-1c-ethip4udp-ip4base-oacl1sl-100flows-ndrpdr


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

10.3.42.6. tc05-1518B-2c-ethip4udp-ip4base-oacl1sl-100flows-ndrpdr


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

10.3.42.7. tc06-1518B-4c-ethip4udp-ip4base-oacl1sl-100flows-ndrpdr


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

10.3.42.8. tc07-9000B-1c-ethip4udp-ip4base-oacl1sl-100flows-ndrpdr


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

10.3.42.9. tc08-9000B-2c-ethip4udp-ip4base-oacl1sl-100flows-ndrpdr


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

10.3.42.10. tc09-9000B-4c-ethip4udp-ip4base-oacl1sl-100flows-ndrpdr


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

10.3.42.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl1sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.42.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl1sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.42.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl1sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.43. 10ge2p1x710-ethip4udp-ip4base-oacl1sl-100kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${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-100u1000p-conc

10.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.43.2. tc01-64B-1c-ethip4udp-ip4base-oacl1sl-100kflows-ndrpdr


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

10.3.43.3. tc02-64B-2c-ethip4udp-ip4base-oacl1sl-100kflows-ndrpdr


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

10.3.43.4. tc03-64B-4c-ethip4udp-ip4base-oacl1sl-100kflows-ndrpdr


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

10.3.43.5. tc04-1518B-1c-ethip4udp-ip4base-oacl1sl-100kflows-ndrpdr


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

10.3.43.6. tc05-1518B-2c-ethip4udp-ip4base-oacl1sl-100kflows-ndrpdr


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

10.3.43.7. tc06-1518B-4c-ethip4udp-ip4base-oacl1sl-100kflows-ndrpdr


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

10.3.43.8. tc07-9000B-1c-ethip4udp-ip4base-oacl1sl-100kflows-ndrpdr


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

10.3.43.9. tc08-9000B-2c-ethip4udp-ip4base-oacl1sl-100kflows-ndrpdr


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

10.3.43.10. tc09-9000B-4c-ethip4udp-ip4base-oacl1sl-100kflows-ndrpdr


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

10.3.43.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl1sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.43.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl1sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.43.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl1sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.44. 10ge2p1x710-ethip4udp-ip4base-oacl1sl-10kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.44.2. tc01-64B-1c-ethip4udp-ip4base-oacl1sl-10kflows-ndrpdr


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

10.3.44.3. tc02-64B-2c-ethip4udp-ip4base-oacl1sl-10kflows-ndrpdr


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

10.3.44.4. tc03-64B-4c-ethip4udp-ip4base-oacl1sl-10kflows-ndrpdr


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

10.3.44.5. tc04-1518B-1c-ethip4udp-ip4base-oacl1sl-10kflows-ndrpdr


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

10.3.44.6. tc05-1518B-2c-ethip4udp-ip4base-oacl1sl-10kflows-ndrpdr


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

10.3.44.7. tc06-1518B-4c-ethip4udp-ip4base-oacl1sl-10kflows-ndrpdr


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

10.3.44.8. tc07-9000B-1c-ethip4udp-ip4base-oacl1sl-10kflows-ndrpdr


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

10.3.44.9. tc08-9000B-2c-ethip4udp-ip4base-oacl1sl-10kflows-ndrpdr


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

10.3.44.10. tc09-9000B-4c-ethip4udp-ip4base-oacl1sl-10kflows-ndrpdr


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

10.3.44.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl1sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.44.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl1sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.44.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl1sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.45. 10ge2p1x710-ethip4udp-ip4base-oacl50sf-100flows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.45.2. tc01-64B-1c-ethip4udp-ip4base-oacl50sf-100flows-ndrpdr


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

10.3.45.3. tc02-64B-2c-ethip4udp-ip4base-oacl50sf-100flows-ndrpdr


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

10.3.45.4. tc03-64B-4c-ethip4udp-ip4base-oacl50sf-100flows-ndrpdr


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

10.3.45.5. tc04-1518B-1c-ethip4udp-ip4base-oacl50sf-100flows-ndrpdr


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

10.3.45.6. tc05-1518B-2c-ethip4udp-ip4base-oacl50sf-100flows-ndrpdr


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

10.3.45.7. tc06-1518B-4c-ethip4udp-ip4base-oacl50sf-100flows-ndrpdr


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

10.3.45.8. tc07-9000B-1c-ethip4udp-ip4base-oacl50sf-100flows-ndrpdr


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

10.3.45.9. tc08-9000B-2c-ethip4udp-ip4base-oacl50sf-100flows-ndrpdr


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

10.3.45.10. tc09-9000B-4c-ethip4udp-ip4base-oacl50sf-100flows-ndrpdr


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

10.3.45.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl50sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.45.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl50sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.45.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl50sf-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.46. 10ge2p1x710-ethip4udp-ip4base-oacl50sf-100kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${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-100u1000p-conc

10.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.46.2. tc01-64B-1c-ethip4udp-ip4base-oacl50sf-100kflows-ndrpdr


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

10.3.46.3. tc02-64B-2c-ethip4udp-ip4base-oacl50sf-100kflows-ndrpdr


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

10.3.46.4. tc03-64B-4c-ethip4udp-ip4base-oacl50sf-100kflows-ndrpdr


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

10.3.46.5. tc04-1518B-1c-ethip4udp-ip4base-oacl50sf-100kflows-ndrpdr


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

10.3.46.6. tc05-1518B-2c-ethip4udp-ip4base-oacl50sf-100kflows-ndrpdr


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

10.3.46.7. tc06-1518B-4c-ethip4udp-ip4base-oacl50sf-100kflows-ndrpdr


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

10.3.46.8. tc07-9000B-1c-ethip4udp-ip4base-oacl50sf-100kflows-ndrpdr


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

10.3.46.9. tc08-9000B-2c-ethip4udp-ip4base-oacl50sf-100kflows-ndrpdr


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

10.3.46.10. tc09-9000B-4c-ethip4udp-ip4base-oacl50sf-100kflows-ndrpdr


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

10.3.46.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl50sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.46.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl50sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.46.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl50sf-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.47. 10ge2p1x710-ethip4udp-ip4base-oacl50sf-10kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.47.2. tc01-64B-1c-ethip4udp-ip4base-oacl50sf-10kflows-ndrpdr


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

10.3.47.3. tc02-64B-2c-ethip4udp-ip4base-oacl50sf-10kflows-ndrpdr


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

10.3.47.4. tc03-64B-4c-ethip4udp-ip4base-oacl50sf-10kflows-ndrpdr


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

10.3.47.5. tc04-1518B-1c-ethip4udp-ip4base-oacl50sf-10kflows-ndrpdr


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

10.3.47.6. tc05-1518B-2c-ethip4udp-ip4base-oacl50sf-10kflows-ndrpdr


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

10.3.47.7. tc06-1518B-4c-ethip4udp-ip4base-oacl50sf-10kflows-ndrpdr


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

10.3.47.8. tc07-9000B-1c-ethip4udp-ip4base-oacl50sf-10kflows-ndrpdr


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

10.3.47.9. tc08-9000B-2c-ethip4udp-ip4base-oacl50sf-10kflows-ndrpdr


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

10.3.47.10. tc09-9000B-4c-ethip4udp-ip4base-oacl50sf-10kflows-ndrpdr


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

10.3.47.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl50sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.47.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl50sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.47.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl50sf-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.48. 10ge2p1x710-ethip4udp-ip4base-oacl50sl-100flows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.48.2. tc01-64B-1c-ethip4udp-ip4base-oacl50sl-100flows-ndrpdr


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

10.3.48.3. tc02-64B-2c-ethip4udp-ip4base-oacl50sl-100flows-ndrpdr


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

10.3.48.4. tc03-64B-4c-ethip4udp-ip4base-oacl50sl-100flows-ndrpdr


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

10.3.48.5. tc04-1518B-1c-ethip4udp-ip4base-oacl50sl-100flows-ndrpdr


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

10.3.48.6. tc05-1518B-2c-ethip4udp-ip4base-oacl50sl-100flows-ndrpdr


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

10.3.48.7. tc06-1518B-4c-ethip4udp-ip4base-oacl50sl-100flows-ndrpdr


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

10.3.48.8. tc07-9000B-1c-ethip4udp-ip4base-oacl50sl-100flows-ndrpdr


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

10.3.48.9. tc08-9000B-2c-ethip4udp-ip4base-oacl50sl-100flows-ndrpdr


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

10.3.48.10. tc09-9000B-4c-ethip4udp-ip4base-oacl50sl-100flows-ndrpdr


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

10.3.48.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl50sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.48.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl50sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.48.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl50sl-100flows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.49. 10ge2p1x710-ethip4udp-ip4base-oacl50sl-100kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${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-100u1000p-conc

10.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.49.2. tc01-64B-1c-ethip4udp-ip4base-oacl50sl-100kflows-ndrpdr


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

10.3.49.3. tc02-64B-2c-ethip4udp-ip4base-oacl50sl-100kflows-ndrpdr


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

10.3.49.4. tc03-64B-4c-ethip4udp-ip4base-oacl50sl-100kflows-ndrpdr


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

10.3.49.5. tc04-1518B-1c-ethip4udp-ip4base-oacl50sl-100kflows-ndrpdr


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

10.3.49.6. tc05-1518B-2c-ethip4udp-ip4base-oacl50sl-100kflows-ndrpdr


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

10.3.49.7. tc06-1518B-4c-ethip4udp-ip4base-oacl50sl-100kflows-ndrpdr


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

10.3.49.8. tc07-9000B-1c-ethip4udp-ip4base-oacl50sl-100kflows-ndrpdr


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

10.3.49.9. tc08-9000B-2c-ethip4udp-ip4base-oacl50sl-100kflows-ndrpdr


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

10.3.49.10. tc09-9000B-4c-ethip4udp-ip4base-oacl50sl-100kflows-ndrpdr


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

10.3.49.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl50sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.49.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl50sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.49.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl50sl-100kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.50. 10ge2p1x710-ethip4udp-ip4base-oacl50sl-10kflows-ndrpdr suite

RFC2544: Packet throughput IPv4 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 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4routing and one static IPv4 /24 route entries. Required ACL rules areapplied to output paths of both DUT1 intefaces. 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 are generated by TG on links to DUTs. TG traffic profilecontains two L3 flow-groups (flow-group per direction, ${flows_per_dir}flows per flow-group) with all packets containing Ethernet header, IPv4header with IP protocol=61 and static payload. MAC addresses arematching MAC addresses of the TG node interfaces. [Ref] Applicable standard specifications: RFC2544.

# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | 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}= | L3
| ${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
| ${ip_nr}= | ${10}
# 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.3.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 IPv4 routing with IPv4 ACLs on DUT1 in circular topology  ${ip_nr}
 Then Find NDR and PDR intervals using optimized search

10.3.50.2. tc01-64B-1c-ethip4udp-ip4base-oacl50sl-10kflows-ndrpdr


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

10.3.50.3. tc02-64B-2c-ethip4udp-ip4base-oacl50sl-10kflows-ndrpdr


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

10.3.50.4. tc03-64B-4c-ethip4udp-ip4base-oacl50sl-10kflows-ndrpdr


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

10.3.50.5. tc04-1518B-1c-ethip4udp-ip4base-oacl50sl-10kflows-ndrpdr


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

10.3.50.6. tc05-1518B-2c-ethip4udp-ip4base-oacl50sl-10kflows-ndrpdr


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

10.3.50.7. tc06-1518B-4c-ethip4udp-ip4base-oacl50sl-10kflows-ndrpdr


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

10.3.50.8. tc07-9000B-1c-ethip4udp-ip4base-oacl50sl-10kflows-ndrpdr


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

10.3.50.9. tc08-9000B-2c-ethip4udp-ip4base-oacl50sl-10kflows-ndrpdr


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

10.3.50.10. tc09-9000B-4c-ethip4udp-ip4base-oacl50sl-10kflows-ndrpdr


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

10.3.50.11. tc10-IMIX-1c-ethip4udp-ip4base-oacl50sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.50.12. tc11-IMIX-2c-ethip4udp-ip4base-oacl50sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.50.13. tc12-IMIX-4c-ethip4udp-ip4base-oacl50sl-10kflows-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.51. 10ge2p1x710-ethip4udp-ip4base-udpsrcscale15-nat44-ndrpdr suite

RFC2544: Pkt throughput NAT44 performance test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and two static IPv4 /24 and IPv4/20 route entries. 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, one flow per flow-group) with all packets containing Ethernet header, IPv4 header with UDP header 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/ip/nat.robot
| Resource | resources/libraries/robot/shared/traffic.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | FEATURE | NAT44 | BASE | SRC_USER_1
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | nat
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | nat_plugin.so
| ${osi_layer}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-1u15p

10.3.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 Add NAT to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize NAT44 in circular topology
 Then Find NDR and PDR intervals using optimized search

10.3.51.2. tc01-64B-1c-ethip4udp-ip4base-udpsrcscale15-nat44-ndrpdr


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

10.3.51.3. tc02-64B-2c-ethip4udp-ip4base-udpsrcscale15-nat44-ndrpdr


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

10.3.51.4. tc03-64B-4c-ethip4udp-ip4base-udpsrcscale15-nat44-ndrpdr


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

10.3.51.5. tc04-1518B-1c-ethip4udp-ip4base-udpsrcscale15-nat44-ndrpdr


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

10.3.51.6. tc05-1518B-2c-ethip4udp-ip4base-udpsrcscale15-nat44-ndrpdr


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

10.3.51.7. tc06-1518B-4c-ethip4udp-ip4base-udpsrcscale15-nat44-ndrpdr


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

10.3.51.8. tc07-9000B-1c-ethip4udp-ip4base-udpsrcscale15-nat44-ndrpdr


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

10.3.51.9. tc08-9000B-2c-ethip4udp-ip4base-udpsrcscale15-nat44-ndrpdr


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

10.3.51.10. tc09-9000B-4c-ethip4udp-ip4base-udpsrcscale15-nat44-ndrpdr


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

10.3.51.11. tc10-IMIX-1c-ethip4udp-ip4base-udpsrcscale15-nat44-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.51.12. tc11-IMIX-2c-ethip4udp-ip4base-udpsrcscale15-nat44-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.51.13. tc12-IMIX-4c-ethip4udp-ip4base-udpsrcscale15-nat44-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.52. 10ge2p1x710-ethip4udp-ip4scale10-udpsrcscale15-nat44-ndrpdr suite

RFC2544: Pkt throughput NAT44 performance test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and two static IPv4 /24 and IPv4/20 route entries. 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, one flow per flow-group) with all packets containing Ethernet header, IPv4 header with UDP header 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/ip/nat.robot
| Resource | resources/libraries/robot/shared/traffic.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | FEATURE | NAT44 | SRC_USER_10
| ... | SCALE
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | nat
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | nat_plugin.so
| ${osi_layer}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-10u15p

10.3.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 Add NAT to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize NAT44 in circular topology
 Then Find NDR and PDR intervals using optimized search

10.3.52.2. tc01-64B-1c-ethip4udp-ip4scale10-udpsrcscale15-nat44-ndrpdr


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

10.3.52.3. tc02-64B-2c-ethip4udp-ip4scale10-udpsrcscale15-nat44-ndrpdr


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

10.3.52.4. tc03-64B-4c-ethip4udp-ip4scale10-udpsrcscale15-nat44-ndrpdr


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

10.3.52.5. tc04-1518B-1c-ethip4udp-ip4scale10-udpsrcscale15-nat44-ndrpdr


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

10.3.52.6. tc05-1518B-2c-ethip4udp-ip4scale10-udpsrcscale15-nat44-ndrpdr


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

10.3.52.7. tc06-1518B-4c-ethip4udp-ip4scale10-udpsrcscale15-nat44-ndrpdr


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

10.3.52.8. tc07-9000B-1c-ethip4udp-ip4scale10-udpsrcscale15-nat44-ndrpdr


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

10.3.52.9. tc08-9000B-2c-ethip4udp-ip4scale10-udpsrcscale15-nat44-ndrpdr


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

10.3.52.10. tc09-9000B-4c-ethip4udp-ip4scale10-udpsrcscale15-nat44-ndrpdr


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

10.3.52.11. tc10-IMIX-1c-ethip4udp-ip4scale10-udpsrcscale15-nat44-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.52.12. tc11-IMIX-2c-ethip4udp-ip4scale10-udpsrcscale15-nat44-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.52.13. tc12-IMIX-4c-ethip4udp-ip4scale10-udpsrcscale15-nat44-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.53. 10ge2p1x710-ethip4udp-ip4scale100-udpsrcscale15-nat44-ndrpdr suite

RFC2544: Pkt throughput NAT44 performance test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and two static IPv4 /24 and IPv4/20 route entries. 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, one flow per flow-group) with all packets containing Ethernet header, IPv4 header with UDP header 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/ip/nat.robot
| Resource | resources/libraries/robot/shared/traffic.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | FEATURE | NAT44 | SRC_USER_100
| ... | SCALE
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | nat
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | nat_plugin.so
| ${osi_layer}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-100u15p

10.3.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 Add NAT to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize NAT44 in circular topology
 Then Find NDR and PDR intervals using optimized search

10.3.53.2. tc01-64B-1c-ethip4udp-ip4scale100-udpsrcscale15-nat44-ndrpdr


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

10.3.53.3. tc02-64B-2c-ethip4udp-ip4scale100-udpsrcscale15-nat44-ndrpdr


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

10.3.53.4. tc03-64B-4c-ethip4udp-ip4scale100-udpsrcscale15-nat44-ndrpdr


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

10.3.53.5. tc04-1518B-1c-ethip4udp-ip4scale100-udpsrcscale15-nat44-ndrpdr


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

10.3.53.6. tc05-1518B-2c-ethip4udp-ip4scale100-udpsrcscale15-nat44-ndrpdr


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

10.3.53.7. tc06-1518B-4c-ethip4udp-ip4scale100-udpsrcscale15-nat44-ndrpdr


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

10.3.53.8. tc07-9000B-1c-ethip4udp-ip4scale100-udpsrcscale15-nat44-ndrpdr


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

10.3.53.9. tc08-9000B-2c-ethip4udp-ip4scale100-udpsrcscale15-nat44-ndrpdr


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

10.3.53.10. tc09-9000B-4c-ethip4udp-ip4scale100-udpsrcscale15-nat44-ndrpdr


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

10.3.53.11. tc10-IMIX-1c-ethip4udp-ip4scale100-udpsrcscale15-nat44-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

10.3.53.12. tc11-IMIX-2c-ethip4udp-ip4scale100-udpsrcscale15-nat44-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

10.3.53.13. tc12-IMIX-4c-ethip4udp-ip4scale100-udpsrcscale15-nat44-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

10.3.54. 10ge2p1x710-ethip4udp-ip4scale1000-udpsrcscale15-nat44-ndrpdr suite

RFC2544: Pkt throughput NAT44 performance test cases

[Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP for IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and two static IPv4 /24 and IPv4/20 route entries. 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/ip/nat.robot
| Resource | resources/libraries/robot/shared/traffic.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | FEATURE | NAT44 | SRC_USER_1000
| ... | SCALE
| ...
| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test
| Test Teardown | Tear down test | performance | nat
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | nat_plugin.so
| ${osi_layer}= | L3
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-1000u15p

10.3.54.1. Local Template

[Cfg] DUT runs IPv4 routing config. Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Add worker threads and rxqueues to all DUTs  ${phy_cores}  ${rxq}
  And Add PCI devices to all DUTs
  And Set Max Rate And Jumbo And Handle Multi Seg
  And Add NAT to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize NAT44 in circular topology
 Then Find NDR and PDR intervals using optimized search

10.3.54.2. tc01-64B-1c-ethip4udp-ip4scale1000-udpsrcscale15-nat44-ndrpdr


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

10.3.54.3. tc02-64B-2c-ethip4udp-ip4scale1000-udpsrcscale15-nat44-ndrpdr


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

10.3.54.4. tc03-64B-4c-ethip4udp-ip4scale1000-udpsrcscale15-nat44-ndrpdr


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

10.3.54.5. tc04-1518B-1c-ethip4udp-ip4scale1000-udpsrcscale15-nat44-ndrpdr


frame_size=${1518}  phy_cores=${<