X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=tests%2Fkubernetes%2Fperf%2Fcontainer_memif%2F10ge2p1x520-pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrpdrdisc.robot;fp=tests%2Fkubernetes%2Fperf%2Fcontainer_memif%2F10ge2p1x520-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrpdrdisc.robot;h=4627d8de3b4dc6760623f7d1280e3e8729d4228d;hb=0437095f4bf958154f25a3f163f432b22fcdc743;hp=038cb165df877eb51566c39c499cdc661710ddac;hpb=d7cf0a829cc9cc63799330b673c8c42393de2655;p=csit.git diff --git a/tests/kubernetes/perf/container_memif/10ge2p1x520-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrpdrdisc.robot b/tests/kubernetes/perf/container_memif/10ge2p1x520-pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrpdrdisc.robot similarity index 87% rename from tests/kubernetes/perf/container_memif/10ge2p1x520-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrpdrdisc.robot rename to tests/kubernetes/perf/container_memif/10ge2p1x520-pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrpdrdisc.robot index 038cb165df..4627d8de3b 100644 --- a/tests/kubernetes/perf/container_memif/10ge2p1x520-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrpdrdisc.robot +++ b/tests/kubernetes/perf/container_memif/10ge2p1x520-pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrpdrdisc.robot @@ -16,21 +16,16 @@ | ... | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC | ... | NIC_Intel-X520-DA2 | ETH | L2XCFWD | BASE | L2XCBASE | MEMIF -| ... | K8S | 1VSWITCH | 1VNF | VPP_AGENT | SFC_CONTROLLER +| ... | K8S | 1VSWITCH | 1VNF | VPP_AGENT | SFC_CONTROLLER | PARALLEL | ... | Suite Setup | Set up 3-node performance topology with DUT's NIC model | ... | L2 | Intel-X520-DA2 | ... -| Test Setup | Run Keywords -| ... | Apply Kubernetes resource on all duts | ${nodes} | kafka.yaml -| ... | AND | Apply Kubernetes resource on all duts | ${nodes} | etcd.yaml +| Test Setup | Set up performance test with Ligato Kubernetes | ... | Suite Teardown | Tear down 3-node performance topology | ... -| Test Teardown | Run Keywords -| ... | Get Kubernetes logs on all DUTs | ${nodes} | AND -| ... | Describe Kubernetes resource on all DUTs | ${nodes} | AND -| ... | Delete Kubernetes resource on all duts | ${nodes} +| Test Teardown | Tear down performance test with Ligato Kubernetes | ... | Documentation | *RFC2544: Pkt throughput L2XC test cases* | ... @@ -60,14 +55,14 @@ | ${avg_imix_framesize}= | ${357.833} # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} -# Kubernetes profile -| ${kubernetes_profile} | eth-1drcl2xcbase-eth-2memif-1drcl2xc +# SFC profile +| ${sfc_profile} | configmaps/pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc # Traffic profile: | ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 # CPU settings | ${system_cpus}= | ${1} | ${vswitch_cpus}= | ${5} -| ${vnf_cpus}= | ${3} +| ${vnf_cpus}= | ${2} *** Keywords *** | Create Kubernetes VSWITCH startup config on all DUTs @@ -141,20 +136,24 @@ | | Create Kubernetes VSWITCH startup config on all DUTs | ${get_framesize} | | ... | ${wt} | ${rxq} | | 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/vnf1.conf +| | Create Kubernetes CM from file on all DUTs | ${nodes} | csit +| | ... | name=vswitch-vpp-cfg | vpp.conf=/tmp/vswitch.conf +| | Create Kubernetes CM from file on all DUTs | ${nodes} | csit +| | ... | name=vnf1-vpp-cfg | vpp.conf=/tmp/vnf1.conf | | Apply Kubernetes resource on node | ${dut1} -| | ... | ${kubernetes_profile}.yaml | $$TEST_NAME$$=${TEST NAME} +| | ... | pods/contiv-vnf.yaml | $$VNF$$=vnf1 +| | Apply Kubernetes resource on node | ${dut2} +| | ... | pods/contiv-vnf.yaml | $$VNF$$=vnf1 +| | Apply Kubernetes resource on node | ${dut1} +| | ... | ${sfc_profile}.yaml | $$TEST_NAME$$=${TEST NAME} | | ... | $$VSWITCH_IF1$$=${dut1_if1_name} | | ... | $$VSWITCH_IF2$$=${dut1_if2_name} | | Apply Kubernetes resource on node | ${dut2} -| | ... | ${kubernetes_profile}.yaml | $$TEST_NAME$$=${TEST NAME} +| | ... | ${sfc_profile}.yaml | $$TEST_NAME$$=${TEST NAME} | | ... | $$VSWITCH_IF1$$=${dut2_if1_name} | | ... | $$VSWITCH_IF2$$=${dut2_if2_name} -| | Wait for Kubernetes PODs on all DUTs | ${nodes} -| | Describe Kubernetes resource on all DUTs | ${nodes} +| | Wait for Kubernetes PODs on all DUTs | ${nodes} | csit +| | Set Kubernetes PODs affinity on all DUTs | ${nodes} | | Run Keyword If | '${search_type}' == 'NDR' | | ... | Find NDR using binary search and pps | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile} @@ -166,7 +165,7 @@ | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type} *** Test Cases *** -| tc01-64B-1t1c-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrdisc +| tc01-64B-1t1c-pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -177,7 +176,7 @@ | | [Template] | L2 Cross Connect Binary Search | | framesize=${64} | min_rate=${100000} | wt=1 | rxq=1 | search_type=NDR -| tc02-64B-1t1c-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-pdrdisc +| tc02-64B-1t1c-pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -188,7 +187,7 @@ | | [Template] | L2 Cross Connect Binary Search | | framesize=${64} | min_rate=${100000} | wt=1 | rxq=1 | search_type=PDR -| tc03-IMIX-1t1c-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrdisc +| tc03-IMIX-1t1c-pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -200,7 +199,7 @@ | | [Template] | L2 Cross Connect Binary Search | | framesize=IMIX_v4_1 | min_rate=${10000} | wt=1 | rxq=1 | search_type=NDR -| tc04-IMIX-1t1c-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-pdrdisc +| tc04-IMIX-1t1c-pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -212,7 +211,7 @@ | | [Template] | L2 Cross Connect Binary Search | | framesize=IMIX_v4_1 | min_rate=${10000} | wt=1 | rxq=1 | search_type=PDR -| tc05-1518B-1t1c-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrdisc +| tc05-1518B-1t1c-pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -223,7 +222,7 @@ | | [Template] | L2 Cross Connect Binary Search | | framesize=${1518} | min_rate=${10000} | wt=1 | rxq=1 | search_type=NDR -| tc06-1518B-1t1c-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-pdrdisc +| tc06-1518B-1t1c-pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -234,7 +233,7 @@ | | [Template] | L2 Cross Connect Binary Search | | framesize=${1518} | min_rate=${10000} | wt=1 | rxq=1 | search_type=PDR -| tc07-64B-2t2c-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrdisc +| tc07-64B-2t2c-pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 2 thread, 2 phy core,\ | | ... | 1 receive queue per NIC port. @@ -245,7 +244,7 @@ | | [Template] | L2 Cross Connect Binary Search | | framesize=${64} | min_rate=${100000} | wt=2 | rxq=1 | search_type=NDR -| tc08-64B-2t2c-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-pdrdisc +| tc08-64B-2t2c-pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 2 thread, 2 phy core,\ | | ... | 1 receive queue per NIC port. @@ -256,7 +255,7 @@ | | [Template] | L2 Cross Connect Binary Search | | framesize=${64} | min_rate=${100000} | wt=2 | rxq=1 | search_type=PDR -| tc09-IMIX-2t2c-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrdisc +| tc09-IMIX-2t2c-pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 2 thread, 2 phy core,\ | | ... | 1 receive queue per NIC port. @@ -268,7 +267,7 @@ | | [Template] | L2 Cross Connect Binary Search | | framesize=IMIX_v4_1 | min_rate=${10000} | wt=2 | rxq=1 | search_type=NDR -| tc10-IMIX-2t2c-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-pdrdisc +| tc10-IMIX-2t2c-pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 2 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -280,7 +279,7 @@ | | [Template] | L2 Cross Connect Binary Search | | framesize=IMIX_v4_1 | min_rate=${10000} | wt=2 | rxq=1 | search_type=PDR -| tc11-1518B-2t2c-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrdisc +| tc11-1518B-2t2c-pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 2 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -291,7 +290,7 @@ | | [Template] | L2 Cross Connect Binary Search | | framesize=${1518} | min_rate=${10000} | wt=2 | rxq=1 | search_type=NDR -| tc12-1518B-2t2c-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-pdrdisc +| tc12-1518B-2t2c-pa-eth-1drcl2xcbase-eth-2memif-1drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 2 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port.