diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-01-08 08:25:55 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-01-09 07:51:56 +0000 |
commit | 5075d208e29ece6bfd8cf4aa5289dd0b2ade583c (patch) | |
tree | 2f1624a7df37a74f8b29e5b0d7343448ae836dc8 /tests/vpp/perf/container_memif/2n1l-25ge2p1xxv710-eth-l2xcbase-eth-2memif-1dcr-ndrpdr.robot | |
parent | 6abab7084716f4dc322574837b23f26a2ca9e2cb (diff) |
CSIT-1389 Refactor current keywords for multichaining - CNF
- Add ability to create matrix of containers (chains x nodeness)
- Change default Docker image to csit-dut
- Use new resource mapping function
Change-Id: Iaac0f2efc99146fbaef0b33dc71b38770610023d
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'tests/vpp/perf/container_memif/2n1l-25ge2p1xxv710-eth-l2xcbase-eth-2memif-1dcr-ndrpdr.robot')
-rw-r--r-- | tests/vpp/perf/container_memif/2n1l-25ge2p1xxv710-eth-l2xcbase-eth-2memif-1dcr-ndrpdr.robot | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/tests/vpp/perf/container_memif/2n1l-25ge2p1xxv710-eth-l2xcbase-eth-2memif-1dcr-ndrpdr.robot b/tests/vpp/perf/container_memif/2n1l-25ge2p1xxv710-eth-l2xcbase-eth-2memif-1dcr-ndrpdr.robot index 3019c509a5..9985073a76 100644 --- a/tests/vpp/perf/container_memif/2n1l-25ge2p1xxv710-eth-l2xcbase-eth-2memif-1dcr-ndrpdr.robot +++ b/tests/vpp/perf/container_memif/2n1l-25ge2p1xxv710-eth-l2xcbase-eth-2memif-1dcr-ndrpdr.robot @@ -21,13 +21,14 @@ | ... | Set up 2-node performance topology with DUT's NIC model | L2 | ... | Intel-XXV710 | ... | AND | Set up performance test suite with MEMIF -| ... | AND | Set up performance topology with containers +| ... | AND | Set up performance topology with containers | chains=${1} +| ... | nodeness=${1} | ... | Suite Teardown | Tear down 2-node performance topology with container | ... | Test Setup | Run Keywords | ... | Set up performance test -| ... | AND | Restart VPP in all 'VNF' containers +| ... | AND | Restart VPP in all 'CNF' containers | ... | Test Teardown | Tear down performance discovery test | ${min_rate}pps | ... | ${framesize} | ${traffic_profile} @@ -63,16 +64,10 @@ | ${s_18.75Mpps}= | ${18750000} # Traffic profile: | ${traffic_profile}= | trex-sl-2n-ethip4-ip4src254 -# LXC container -| ${container_count}= | ${1} +# Container +| ${cpu_count_int}= | ${4} | ${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 |