aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ligato/perf/l2/10ge2p1x520-eth-l2bdbase-eth-2memif-1vnf-ndrpdrdisc.robot
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2017-10-17 14:17:49 +0200
committerPeter Mikus <pmikus@cisco.com>2017-10-18 13:40:49 +0000
commitdfaa7feaefa4745078c158b3eafd5642b7267533 (patch)
treea0bac022cddef966cdf7a0d9cb450dccf0d53916 /tests/ligato/perf/l2/10ge2p1x520-eth-l2bdbase-eth-2memif-1vnf-ndrpdrdisc.robot
parentebbefcdade022d325b60785d8619efe24a2f3d2e (diff)
CSIT-748 Add K8S 2memif-2vnf topologies
Change-Id: I23e118bf9fc9cfd638ac3ec0589f2ced14cc240c Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit 59eb880b002cc73cc6e8834814c2da34b2ddfd54)
Diffstat (limited to 'tests/ligato/perf/l2/10ge2p1x520-eth-l2bdbase-eth-2memif-1vnf-ndrpdrdisc.robot')
-rw-r--r--tests/ligato/perf/l2/10ge2p1x520-eth-l2bdbase-eth-2memif-1vnf-ndrpdrdisc.robot19
1 files changed, 11 insertions, 8 deletions
diff --git a/tests/ligato/perf/l2/10ge2p1x520-eth-l2bdbase-eth-2memif-1vnf-ndrpdrdisc.robot b/tests/ligato/perf/l2/10ge2p1x520-eth-l2bdbase-eth-2memif-1vnf-ndrpdrdisc.robot
index cfc74c37f0..9cb80f28f5 100644
--- a/tests/ligato/perf/l2/10ge2p1x520-eth-l2bdbase-eth-2memif-1vnf-ndrpdrdisc.robot
+++ b/tests/ligato/perf/l2/10ge2p1x520-eth-l2bdbase-eth-2memif-1vnf-ndrpdrdisc.robot
@@ -32,7 +32,7 @@
| ... | Describe Kubernetes resource on all DUTs | ${nodes} | AND
| ... | Delete Kubernetes resource on all duts | ${nodes}
| ...
-| Documentation | *RFC2544: Pkt throughput L2XC test cases*
+| Documentation | *RFC2544: Pkt throughput L2BD test cases*
| ...
| ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
| ... | with single links between nodes.
@@ -62,13 +62,13 @@
# X520-DA2 bandwidth limit
| ${s_limit} | ${10000000000}
# Kubernetes profile
-| ${kubernetes_profile} | eth-l2xcbase-eth-2memif-1vnf
+| ${kubernetes_profile} | eth-l2bdbase-eth-2memif-1vnf
# Traffic profile:
| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254
# CPU settings
| ${system_cpus}= | ${1}
| ${vswitch_cpus}= | ${5}
-| ${vnf_cpus}= | ${2}
+| ${vnf_cpus}= | ${3}
*** Keywords ***
| Create Kubernetes VSWITCH startup config on all DUTs
@@ -106,10 +106,11 @@
| | ... | filename=/tmp/vswitch.conf | framesize=${framesize} | rxq=${rxq}
| | ... | if1=${dut2_if1_pci} | if2=${dut2_if2_pci}
-| Create Kubernetes VNF startup config on all DUTs
+| Create Kubernetes VNF'${i}' startup config on all DUTs
| | [Documentation] | Create base startup configuration of VNF in Kubernetes
| | ... | deploy to all DUTs.
| | ...
+| | ${i_int}= | Convert To Integer | ${i}
| | ${cpu_skip}= | Evaluate | ${vswitch_cpus}+${system_cpus}
| | ${dut1_numa}= | Get interfaces numa node | ${dut1}
| | ... | ${dut1_if1} | ${dut1_if2}
@@ -117,10 +118,12 @@
| | ... | ${dut2_if1} | ${dut2_if2}
| | ${config}= | Run keyword | Create Kubernetes VNF startup config
| | ... | node=${dut1} | cpu_cnt=${vnf_cpus} | cpu_node=${dut1_numa}
-| | ... | cpu_skip=${cpu_skip} | smt_used=${False} | filename=/tmp/vnf.conf
+| | ... | cpu_skip=${cpu_skip} | smt_used=${False} | filename=/tmp/vnf${i}.conf
+| | ... | i=${i_int}
| | ${config}= | Run keyword | Create Kubernetes VNF startup config
| | ... | node=${dut2} | cpu_cnt=${vnf_cpus} | cpu_node=${dut2_numa}
-| | ... | cpu_skip=${cpu_skip} | smt_used=${False} | filename=/tmp/vnf.conf
+| | ... | cpu_skip=${cpu_skip} | smt_used=${False} | filename=/tmp/vnf${i}.conf
+| | ... | i=${i_int}
| L2 Bridge Domain Binary Search
| | [Arguments] | ${framesize} | ${min_rate} | ${wt} | ${rxq} | ${search_type}
@@ -138,11 +141,11 @@
| | ${dut2_if2_name}= | Get interface name | ${dut2} | ${dut2_if2}
| | Create Kubernetes VSWITCH startup config on all DUTs | ${get_framesize}
| | ... | ${wt} | ${rxq}
-| | Create Kubernetes VNF startup config on all DUTs
+| | Create Kubernetes VNF'1' startup config on all DUTs
| | Create Kubernetes CM from file on all DUTs | ${nodes} | name=vswitch-vpp-cfg
| | ... | key=vpp.conf | src_file=/tmp/vswitch.conf
| | Create Kubernetes CM from file on all DUTs | ${nodes} | name=vnf-vpp-cfg
-| | ... | key=vpp.conf | src_file=/tmp/vnf.conf
+| | ... | key=vpp.conf | src_file=/tmp/vnf1.conf
| | Apply Kubernetes resource on node | ${dut1}
| | ... | ${kubernetes_profile}.yaml | $$TEST_NAME$$=${TEST NAME}
| | ... | $$VSWITCH_IF1$$=${dut1_if1_name}