X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fperformance%2Fperformance_setup.robot;h=0453fad2757aeb1da29c35127a8fbe0f765a25d6;hb=refs%2Fchanges%2F29%2F9729%2F16;hp=68f84b664f79206e430df73be907ab0fc6b8449f;hpb=0ba508f0eac819c1985e825857f584b3d1537ffe;p=csit.git diff --git a/resources/libraries/robot/performance/performance_setup.robot b/resources/libraries/robot/performance/performance_setup.robot index 68f84b664f..0453fad275 100644 --- a/resources/libraries/robot/performance/performance_setup.robot +++ b/resources/libraries/robot/performance/performance_setup.robot @@ -425,6 +425,22 @@ | | Reset VAT History On All DUTs | ${nodes} | | Create base startup configuration of VPP on all DUTs +| Set up performance test with Ligato Kubernetes +| | [Documentation] | Common test setup for performance tests with Ligato \ +| | ... | Kubernetes. +| | ... +| | Apply Kubernetes resource on all duts | ${nodes} | namespaces/csit.yaml +| | Apply Kubernetes resource on all duts | ${nodes} | pods/kafka.yaml +| | Apply Kubernetes resource on all duts | ${nodes} | pods/etcdv3.yaml +| | Apply Kubernetes resource on all duts | ${nodes} +| | ... | configmaps/vswitch-agent-cfg.yaml +| | Apply Kubernetes resource on all duts | ${nodes} +| | ... | configmaps/vnf-agent-cfg.yaml +| | Apply Kubernetes resource on all duts | ${nodes} +| | ... | pods/contiv-sfc-controller.yaml +| | Apply Kubernetes resource on all duts | ${nodes} +| | ... | pods/contiv-vswitch.yaml + # Tests teardowns | Tear down performance discovery test @@ -613,3 +629,13 @@ | | ... | Vpp Log Macip Acl Settings | ${dut1} | | Run Keyword And Ignore Error | | ... | Vpp Log Macip Acl Interface Assignment | ${dut1} + +| Tear down performance test with Ligato Kubernetes +| | [Documentation] | Common test teardown for ndrdisc and pdrdisc performance \ +| | ... | tests with Ligato Kubernetes. +| | ... +| | Run Keyword If Test Failed +| | ... | Get Kubernetes logs on all DUTs | ${nodes} | csit +| | Run Keyword If Test Failed +| | ... | Describe Kubernetes resource on all DUTs | ${nodes} | csit +| | Delete Kubernetes resource on all DUTs | ${nodes} | csit \ No newline at end of file