diff options
author | Jan Gelety <jgelety@cisco.com> | 2017-10-17 15:31:05 +0200 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2017-11-10 11:37:38 +0000 |
commit | 7bfb36dfd9284bbca10881e31e14108c7d468b7c (patch) | |
tree | 2f02f2969bbd945863b741033e12c098107f1a17 /resources/libraries/robot | |
parent | 3e231e67a7a88f14d147e74c7612f45670c999d6 (diff) |
CSIT-843: Update actual topology in case of new/updated/deleted interface
Change-Id: I6adfe86bd0b9cdf3d194a1b871e52481c333d8e7
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/robot')
-rw-r--r-- | resources/libraries/robot/performance/performance_setup.robot | 5 | ||||
-rw-r--r-- | resources/libraries/robot/shared/default.robot | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/resources/libraries/robot/performance/performance_setup.robot b/resources/libraries/robot/performance/performance_setup.robot index 434a555dcd..492815b9b6 100644 --- a/resources/libraries/robot/performance/performance_setup.robot +++ b/resources/libraries/robot/performance/performance_setup.robot @@ -437,6 +437,7 @@ | | ... | | [Arguments] | ${rate} | ${framesize} | ${topology_type} | | ... +| | Remove All Added Ports On All DUTs From Topology | ${nodes} | | Show VAT History On All DUTs | ${nodes} | | Show statistics on all DUTs | ${nodes} | | Run Keyword If Test Failed @@ -446,12 +447,14 @@ | Tear down performance ndrchk test | | [Documentation] | Common test teardown for ndrchk performance tests. | | ... +| | Remove All Added Ports On All DUTs From Topology | ${nodes} | | Show VAT History On All DUTs | ${nodes} | | Show statistics on all DUTs | ${nodes} | Tear down performance pdrchk test | | [Documentation] | Common test teardown for pdrchk performance tests. | | ... +| | Remove All Added Ports On All DUTs From Topology | ${nodes} | | Show VAT History On All DUTs | ${nodes} | | Show statistics on all DUTs | ${nodes} @@ -478,6 +481,7 @@ | | ... | ${dut1_node}=${None} | ${dut1_vm_refs}=${None} | | ... | ${dut2_node}=${None} | ${dut2_vm_refs}=${None} | | ... +| | Remove All Added Ports On All DUTs From Topology | ${nodes} | | Show VAT History On All DUTs | ${nodes} | | Show VPP vhost on all DUTs | ${nodes} | | Show statistics on all DUTs | ${nodes} @@ -512,6 +516,7 @@ | | ... | ${dut1_node}=${None} | ${dut1_vm_refs}=${None} | | ... | ${dut2_node}=${None} | ${dut2_vm_refs}=${None} | | ... +| | Remove All Added Ports On All DUTs From Topology | ${nodes} | | Show VAT History On All DUTs | ${nodes} | | Show VPP vhost on all DUTs | ${nodes} | | Show statistics on all DUTs | ${nodes} diff --git a/resources/libraries/robot/shared/default.robot b/resources/libraries/robot/shared/default.robot index fa291bf1aa..555919f9c8 100644 --- a/resources/libraries/robot/shared/default.robot +++ b/resources/libraries/robot/shared/default.robot @@ -312,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} @@ -320,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']} @@ -340,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']} |