CSIT-1390 Implement multichain configuration for l2bd with vhost/l3fwd.
[csit.git] / tests / vpp / perf / vts / 10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-noacl-2vhostvr1024-1vm-ndrpdr.robot
index e24218a..63e7d24 100644 (file)
@@ -61,7 +61,6 @@
 | ... | *[Ref] Applicable standard specifications:* RFC2544, RFC7348.
 
 *** Variables ***
-| ${perf_qemu_qsz}= | 1024
 # X520-DA2 bandwidth limit
 | ${s_limit}= | ${10000000000}
 | ${overhead}= | ${50}
 | ${sock1}= | /tmp/sock-1-${dut1_bd_id1}
 | ${sock2}= | /tmp/sock-1-${dut1_bd_id2}
 # Traffic profile:
-| ${traffic_profile} | trex-sl-ethip4-vxlansrc253
+| ${traffic_profile}= | trex-sl-ethip4-vxlansrc253
 | ${min_rate}= | ${10000}
-
 | ${acl_type}= | ${EMPTY}
+# Defaults for teardown:
+| ${dut1}= | ${None}
+| ${dut1_vm_refs}= | ${None}
 
 *** Keywords ***
 | Local Template
 | | &{vxlan2} = | Create Dictionary | vni=24 | vtep=172.27.0.2
 | | @{dut1_vxlans} = | Create List | ${vxlan1}
 | | @{dut2_vxlans} = | Create List | ${vxlan2}
-| | Set interfaces in path in 3-node circular topology up
+| | Set interfaces in path up
 | | Configure vhost interfaces for L2BD forwarding | ${dut1}
 | | ... | ${sock1} | ${sock2}
 | | When Init L2 bridge domains with single DUT with Vhost-User and VXLANoIPv4 in 3-node circular topology
 | | Run Keyword If | '${acl_type}' != '${EMPTY}'
 | | ... | Configure ACLs on a single interface | ${dut1} | ${dut1_if2} | input
 | | ... | ${acl_type} | @{permit_list}
+| | ${nf_cpus}= | Create network function CPU list | DUT1
+| | ... | chains=${1} | nodeness=${1} | chain_id=${1}
+| | ... | node_id=${1} | auto_scale=${True}
 | | ${vm1} = | And Configure guest VM with dpdk-testpmd connected via vhost-user
-| | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
-| | ... | jumbo_frames=${jumbo}
+| | ... | DUT1 | ${sock1} | ${sock2} | DUT1_VM1 | ${nf_cpus}
+| | ... | jumbo=${jumbo} | perf_qemu_qsz=${1024} | use_tuned_cfs=${False}
 | | Set Test Variable | &{dut1_vm_refs} | DUT1_VM1=${vm1}
 | | Then Find NDR and PDR intervals using optimized search
 | | ... | ${framesize} | ${traffic_profile} | ${min_rate} | ${max_rate}