From 5075d208e29ece6bfd8cf4aa5289dd0b2ade583c Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Tue, 8 Jan 2019 08:25:55 +0000 Subject: 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 --- ...p1x710-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr.robot | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'tests/vpp/perf/container_memif/10ge2p1x710-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr.robot') diff --git a/tests/vpp/perf/container_memif/10ge2p1x710-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr.robot b/tests/vpp/perf/container_memif/10ge2p1x710-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr.robot index df051fe269..b1d789fdb8 100644 --- a/tests/vpp/perf/container_memif/10ge2p1x710-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr.robot +++ b/tests/vpp/perf/container_memif/10ge2p1x710-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr.robot @@ -21,13 +21,14 @@ | ... | Set up 3-node performance topology with DUT's NIC model | L2 | ... | Intel-X710 | ... | 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 3-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} @@ -61,16 +62,10 @@ | ${s_limit}= | ${10000000000} # Traffic profile: | ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 -# LXC container -| ${container_count}= | ${1} +# Container +| ${cpu_count_int}= | ${4} | ${container_engine}= | LXC -| ${container_image}= | ${EMPTY} -| ${container_install_dkms}= | ${FALSE} | ${container_chain_topology}= | chain -# CPU settings -| ${system_cpus}= | ${1} -| ${vpp_cpus}= | ${5} -| ${container_cpus}= | ${5} *** Keywords *** | Local Template -- cgit 1.2.3-korg