X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fkubernetes%2Fperf%2Fcontainer_memif%2F10ge2p1x520-pa-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrpdrdisc.robot;fp=tests%2Fkubernetes%2Fperf%2Fcontainer_memif%2F10ge2p1x520-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrpdrdisc.robot;h=9ad359791847fdd9462261ea7a831e3ef9a82da4;hp=c5ed51334ba6925b2d59baa9d0d217daaadfc8c1;hb=0437095f4bf958154f25a3f163f432b22fcdc743;hpb=d7cf0a829cc9cc63799330b673c8c42393de2655 diff --git a/tests/kubernetes/perf/container_memif/10ge2p1x520-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrpdrdisc.robot b/tests/kubernetes/perf/container_memif/10ge2p1x520-pa-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrpdrdisc.robot similarity index 85% rename from tests/kubernetes/perf/container_memif/10ge2p1x520-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrpdrdisc.robot rename to tests/kubernetes/perf/container_memif/10ge2p1x520-pa-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrpdrdisc.robot index c5ed51334b..9ad3597918 100644 --- a/tests/kubernetes/perf/container_memif/10ge2p1x520-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrpdrdisc.robot +++ b/tests/kubernetes/perf/container_memif/10ge2p1x520-pa-eth-1drcl2bdbasemaclrn-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 | L2BDMACLRN | L2BDBASE | BASE | 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 L2BD test cases* | ... @@ -61,14 +56,14 @@ | ${avg_imix_framesize}= | ${357.833} # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} -# Kubernetes profile -| ${kubernetes_profile} | eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc +# SFC profile +| ${sfc_profile} | configmaps/pa-eth-1drcl2bdbasemaclrn-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 @@ -139,22 +134,33 @@ | | ${dut1_if2_name}= | Get interface name | ${dut1} | ${dut1_if2} | | ${dut2_if1_name}= | Get interface name | ${dut2} | ${dut2_if1} | | ${dut2_if2_name}= | Get interface name | ${dut2} | ${dut2_if2} +| | ${tg_if1_mac}= | Get Interface MAC | ${tg} | ${tg_if1} +| | ${tg_if2_mac}= | Get Interface MAC | ${tg} | ${tg_if2} | | 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} +| | ... | $$TG_IF1_MAC1$$=${tg_if1_mac} +| | ... | $$TG_IF2_MAC1$$=${tg_if2_mac} | | 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} +| | ... | $$TG_IF1_MAC1$$=${tg_if1_mac} +| | ... | $$TG_IF2_MAC1$$=${tg_if2_mac} +| | 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 +172,7 @@ | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type} *** Test Cases *** -| tc01-64B-1t1c-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrdisc +| tc01-64B-1t1c-pa-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -177,7 +183,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=${64} | min_rate=${100000} | wt=1 | rxq=1 | search_type=NDR -| tc02-64B-1t1c-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-pdrdisc +| tc02-64B-1t1c-pa-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -188,7 +194,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=${64} | min_rate=${100000} | wt=1 | rxq=1 | search_type=PDR -| tc03-IMIX-1t1c-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrdisc +| tc03-IMIX-1t1c-pa-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -200,7 +206,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=IMIX_v4_1 | min_rate=${10000} | wt=1 | rxq=1 | search_type=NDR -| tc04-IMIX-1t1c-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-pdrdisc +| tc04-IMIX-1t1c-pa-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -212,7 +218,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=IMIX_v4_1 | min_rate=${10000} | wt=1 | rxq=1 | search_type=PDR -| tc05-1518B-1t1c-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrdisc +| tc05-1518B-1t1c-pa-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -223,7 +229,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=${1518} | min_rate=${10000} | wt=1 | rxq=1 | search_type=NDR -| tc06-1518B-1t1c-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-pdrdisc +| tc06-1518B-1t1c-pa-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -234,7 +240,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=${1518} | min_rate=${10000} | wt=1 | rxq=1 | search_type=PDR -| tc07-64B-2t2c-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrdisc +| tc07-64B-2t2c-pa-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 thread, 2 phy core,\ | | ... | 1 receive queue per NIC port. @@ -245,7 +251,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=${64} | min_rate=${100000} | wt=2 | rxq=1 | search_type=NDR -| tc08-64B-2t2c-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-pdrdisc +| tc08-64B-2t2c-pa-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 thread, 2 phy core,\ | | ... | 1 receive queue per NIC port. @@ -256,7 +262,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=${64} | min_rate=${100000} | wt=2 | rxq=1 | search_type=PDR -| tc09-IMIX-2t2c-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrdisc +| tc09-IMIX-2t2c-pa-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 thread, 2 phy core,\ | | ... | 1 receive queue per NIC port. @@ -268,7 +274,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=IMIX_v4_1 | min_rate=${10000} | wt=2 | rxq=1 | search_type=NDR -| tc10-IMIX-2t2c-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-pdrdisc +| tc10-IMIX-2t2c-pa-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -280,7 +286,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=IMIX_v4_1 | min_rate=${10000} | wt=2 | rxq=1 | search_type=PDR -| tc11-1518B-2t2c-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrdisc +| tc11-1518B-2t2c-pa-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -291,7 +297,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=${1518} | min_rate=${10000} | wt=2 | rxq=1 | search_type=NDR -| tc12-1518B-2t2c-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-pdrdisc +| tc12-1518B-2t2c-pa-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port.