X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fshared%2Fdefault.robot;h=555919f9c81b205c8b31bd5a593d725068bfbd7f;hp=ddf20405fea26b8ced3b00297d86f44e2525e502;hb=7bfb36dfd9284bbca10881e31e14108c7d468b7c;hpb=d40746ab2134b0cedb2199685aab0ca8cea649cb diff --git a/resources/libraries/robot/shared/default.robot b/resources/libraries/robot/shared/default.robot index ddf20405fe..555919f9c8 100644 --- a/resources/libraries/robot/shared/default.robot +++ b/resources/libraries/robot/shared/default.robot @@ -25,6 +25,7 @@ | Library | resources.libraries.python.Tap | Library | resources.libraries.python.VppConfigGenerator | Library | resources.libraries.python.VppCounters +| Library | resources.libraries.python.VPPUtil | Library | Collections *** Keywords *** @@ -311,6 +312,7 @@ | Tear down functional test | | [Documentation] | Common test teardown for functional tests. | | ... +| | Remove All Added Ports On All DUTs From Topology | ${nodes} | | Show Packet Trace on All DUTs | ${nodes} | | Show VAT History On All DUTs | ${nodes} | | Vpp Show Errors On All DUTs | ${nodes} @@ -319,6 +321,7 @@ | Tear down LISP functional test | | [Documentation] | Common test teardown for functional tests with LISP. | | ... +| | Remove All Added Ports On All DUTs From Topology | ${nodes} | | Show Packet Trace on All DUTs | ${nodes} | | Show VAT History On All DUTs | ${nodes} | | Show Vpp Settings | ${nodes['DUT1']} @@ -339,6 +342,7 @@ | | ... | | [Arguments] | ${vm_node} | | ... +| | Remove All Added Ports On All DUTs From Topology | ${nodes} | | Show Packet Trace on All DUTs | ${nodes} | | Show VAT History On All DUTs | ${nodes} | | Show Vpp Settings | ${nodes['DUT1']} @@ -375,3 +379,29 @@ | | Tear down functional test | | Linux Del Bridge | ${nodes['DUT1']} | ${bid_TAP} | | Clean Up Namespaces | ${nodes['DUT1']} + +| Stop VPP Service on DUT +| | [Documentation] | Stop the VPP service on the specified node. +| | ... +| | ... | *Arguments:* +| | ... | - node - information about a DUT node. Type: dictionary +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Stop VPP Service on DUT \| ${nodes['DUT1']} \| +| | ... +| | [Arguments] | ${node} +| | Stop VPP Service | ${node} + +| Start VPP Service on DUT +| | [Documentation] | Start the VPP service on the specified node. +| | ... +| | ... | *Arguments:* +| | ... | - node - information about a DUT node. Type: dictionary +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Start VPP Service on DUT \| ${nodes['DUT1']} \| +| | ... +| | [Arguments] | ${node} +| | Start VPP Service | ${node}