X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fshared%2Fsuite_teardown.robot;h=993d83838fe910403eeb3443d30db52877bf276e;hb=d68951ac245150eeefa6e0f4156e4c1b5c9e9325;hp=1b738eaeef2e99c2052cc96155e5103b15aac6dc;hpb=6871d4e7f6ed43ce0bb003cb08e88b2581a474eb;p=csit.git diff --git a/resources/libraries/robot/shared/suite_teardown.robot b/resources/libraries/robot/shared/suite_teardown.robot index 1b738eaeef..993d83838f 100644 --- a/resources/libraries/robot/shared/suite_teardown.robot +++ b/resources/libraries/robot/shared/suite_teardown.robot @@ -15,33 +15,36 @@ *** Settings *** | Library | resources.libraries.python.DPDK.DPDKTools -| ... +| Library | resources.libraries.python.TrafficGenerator +| | Documentation | Suite teardown keywords. *** Keywords *** | Tear down suite | | [Documentation] | | ... | Common suite teardown for tests. -| | ... +| | | | ... | *Arguments:* | | ... | - ${actions} - Additional teardown action. Type: list -| | ... +| | | | [Arguments] | @{actions} -| | ... -| | :FOR | ${action} | IN | @{actions} +| | +| | FOR | ${action} | IN | @{actions} | | | Run Keyword | Additional Suite Tear Down Action For ${action} +| | END +| | Remove All Added VIF Ports On All DUTs From Topology | ${nodes} | Additional Suite Tear Down Action For performance | | [Documentation] | | ... | Additional teardown for suites which uses performance measurement. -| | ... +| | | | Teardown traffic generator | ${tg} | Additional Suite Tear Down Action For dpdk | | [Documentation] | | ... | Additional teardown for suites which uses dpdk. -| | ... -| | ${duts}= | Get Matches | ${nodes} | DUT* -| | :FOR | ${dut} | IN | @{duts} +| | +| | FOR | ${dut} | IN | @{duts} | | | Cleanup DPDK Environment | | | ... | ${nodes['${dut}']} | ${${dut}_if1} | ${${dut}_if2} +| | END