X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fvpp%2Fperf%2Fcontainer_memif%2F10ge2p1x520-eth-l2xcbase-eth-2memif-1dcr-ndrpdr.robot;h=9563415eb654f8cdb33f3849a2406084ec7050c3;hp=c777fc4235f5917b8270612d37a1e591675bd2d9;hb=5221220aa5a893e93d78ba31f84b0ad4d6245ec3;hpb=81184fdb8f4ec8668bd7b0c8a703891d95095192 diff --git a/tests/vpp/perf/container_memif/10ge2p1x520-eth-l2xcbase-eth-2memif-1dcr-ndrpdr.robot b/tests/vpp/perf/container_memif/10ge2p1x520-eth-l2xcbase-eth-2memif-1dcr-ndrpdr.robot index c777fc4235..9563415eb6 100644 --- a/tests/vpp/perf/container_memif/10ge2p1x520-eth-l2xcbase-eth-2memif-1dcr-ndrpdr.robot +++ b/tests/vpp/perf/container_memif/10ge2p1x520-eth-l2xcbase-eth-2memif-1dcr-ndrpdr.robot @@ -21,16 +21,15 @@ | ... | Set up 3-node performance topology with DUT's NIC model | L2 | ... | Intel-X520-DA2 | ... | AND | Set up performance test suite with MEMIF -| ... | AND | Set up performance topology with containers | ... -| Suite Teardown | Tear down 3-node performance topology with container +| Suite Teardown | Tear down 3-node performance topology | ... -| Test Setup | Run Keywords -| ... | Set up performance test -| ... | AND | Restart VPP in all 'VNF' containers +| Test Setup | Set up performance test | ... -| Test Teardown | Tear down performance discovery test | ${min_rate}pps +| Test Teardown | Run Keywords +| ... | Tear down performance discovery test | ${min_rate}pps | ... | ${framesize} | ${traffic_profile} +| ... | AND | Tear down performance test with container | ... | Test Template | Local Template | ... @@ -58,19 +57,12 @@ *** Variables *** # X520-DA2 bandwidth limit -| ${s_limit} | ${10000000000} +| ${s_limit}= | ${10000000000} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 -# LXC container -| ${container_count}= | ${1} +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 +# Container | ${container_engine}= | Docker -| ${container_image}= | ubuntu:xenial-20180412 -| ${container_install_dkms}= | ${FALSE} | ${container_chain_topology}= | chain -# CPU settings -| ${system_cpus}= | ${1} -| ${vpp_cpus}= | ${5} -| ${container_cpus}= | ${5} *** Keywords *** | Local Template @@ -95,6 +87,7 @@ | | ${max_rate} | ${jumbo} = | Get Max Rate And Jumbo And Handle Multi Seg | | ... | ${s_limit} | ${framesize} | | And Apply startup configuration on all VPP DUTs +| | And Set up performance test with containers | | And Initialize L2 xconnect with memif pairs | | Then Find NDR and PDR intervals using optimized search | | ... | ${framesize} | ${traffic_profile} | ${min_rate} | ${max_rate}