X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fvpp%2Fperf%2Fvts%2F10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-noacl-2vhostvr1024-1vm-ndrpdr.robot;h=63e7d24744a51384e54d72b3722e7151fefc9861;hp=e24218a4f180befc7279d31fe389e8a677f15a2b;hb=88e6c1f979f530397a0743e4300d42faf9b538f5;hpb=298d0a61d75cded31fc0f09d408e7b3e3f9ee4f7 diff --git a/tests/vpp/perf/vts/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-noacl-2vhostvr1024-1vm-ndrpdr.robot b/tests/vpp/perf/vts/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-noacl-2vhostvr1024-1vm-ndrpdr.robot index e24218a4f1..63e7d24744 100644 --- a/tests/vpp/perf/vts/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-noacl-2vhostvr1024-1vm-ndrpdr.robot +++ b/tests/vpp/perf/vts/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-noacl-2vhostvr1024-1vm-ndrpdr.robot @@ -61,7 +61,6 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544, RFC7348. *** Variables *** -| ${perf_qemu_qsz}= | 1024 # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} | ${overhead}= | ${50} @@ -72,10 +71,12 @@ | ${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 @@ -103,7 +104,7 @@ | | &{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 @@ -113,9 +114,12 @@ | | 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}