diff options
author | Peter Mikus <pmikus@cisco.com> | 2017-08-21 11:01:24 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2017-10-09 09:35:05 +0000 |
commit | df5ed0d9317e2a1d4a7248459cc6aec39f80a052 (patch) | |
tree | 7478e6273ef87b81c536c978e30e3435e4ceee2d /tests/vpp/perf/l2/10ge2p1x520-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdrdisc.robot | |
parent | 08e35e37f7ad3394cea86c22ab7ffd990651c112 (diff) |
CSIT-768: Refactor Python container libraries
CSIT-769: Implement L2 RF keywords for container orchestration
Change-Id: I7637d1ecc3a45111522b8d6c578b3f88369aff6b
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'tests/vpp/perf/l2/10ge2p1x520-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdrdisc.robot')
-rw-r--r-- | tests/vpp/perf/l2/10ge2p1x520-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdrdisc.robot | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/tests/vpp/perf/l2/10ge2p1x520-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdrdisc.robot b/tests/vpp/perf/l2/10ge2p1x520-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdrdisc.robot index 0c6d4bdffd..60c6c25422 100644 --- a/tests/vpp/perf/l2/10ge2p1x520-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdrdisc.robot +++ b/tests/vpp/perf/l2/10ge2p1x520-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdrdisc.robot @@ -19,11 +19,9 @@ | ... | Suite Setup | Run Keywords | Set up 3-node performance topology with DUT's NIC model | ... | L2 | Intel-X520-DA2 -| ... | AND | Create '${lxc_count}' LXC containers on all DUT nodes with '${lxc_cpu}' cpus -| ... | AND | Install VPP on '${lxc_count}' LXC containers on all DUT nodes -| ... | AND | Create memif VPP configuration on '${lxc_count}' LXC containers on all DUT nodes -| ... | AND | Create startup configuration of VPP on '${lxc_count}' LXC containers on all DUT nodes -| Suite Teardown | Tear down 3-node performance topology with LXC +| ... | AND | Set up performance topology with containers +| ... +| Suite Teardown | Tear down 3-node performance topology with container | ... | Test Setup | Set up performance test | ... @@ -62,12 +60,13 @@ # Traffic profile: | ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 # LXC container -| ${lxc_base_name} | slave -| ${lxc_count} | ${1} -| ${lxc_cpu} | ${4} +| ${container_count}= | ${1} +| ${container_engine}= | LXC +| ${container_image}= | ${EMPTY} # CPU settings | ${system_cpus}= | ${1} | ${vpp_cpus}= | ${5} +| ${container_cpus}= | ${3} *** Keywords *** | Discover NDR or PDR for L2 Bridge Domain with Memif @@ -230,4 +229,4 @@ | | ... | | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | | [Template] | Discover NDR or PDR for L2 Bridge Domain with Memif -| | framesize=${1518} | min_rate=${10000} | wt=2 | rxq=1 | search_type=PDR
\ No newline at end of file +| | framesize=${1518} | min_rate=${10000} | wt=2 | rxq=1 | search_type=PDR |