diff options
author | Tibor Frank <tifrank@cisco.com> | 2016-10-27 15:33:42 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2016-11-07 17:07:12 +0100 |
commit | 440370de3fc66d5bb9754a55fa78ccce8c598f5d (patch) | |
tree | e5c9b88a6f854d9fc55d5e36e2897809b8fb1300 /tests/func/iacl | |
parent | efe5c162d2311ed470285a6f84af7c0f3a0c109c (diff) |
CSIT-465: Common test setup and teardown
This test setup and teardown is aimed to be used with all functional
tests.
It does not include functionality to manipulate VMs (qemu).
Test setup includes:
- Setup all DUTs before test
- Save VPP PIDs
- Setup all TGs before traffic script
- Update All Interface Data On All Nodes
Test teardown includes:
- Show Packet Trace on All DUTs
- Show vpp trace dump on all DUTs
- Vpp Show Errors On All DUTs
- Check VPP PID in Teardown
Change-Id: Ifee0bd58b7865442c5b510852908fd8363e3c543
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'tests/func/iacl')
-rw-r--r-- | tests/func/iacl/ipv4_iacl_untagged.robot | 9 | ||||
-rw-r--r-- | tests/func/iacl/ipv6_iacl_untagged.robot | 10 | ||||
-rw-r--r-- | tests/func/iacl/l2_iacl_untagged.robot | 9 |
3 files changed, 6 insertions, 22 deletions
diff --git a/tests/func/iacl/ipv4_iacl_untagged.robot b/tests/func/iacl/ipv4_iacl_untagged.robot index d840f38538..ff55d94374 100644 --- a/tests/func/iacl/ipv4_iacl_untagged.robot +++ b/tests/func/iacl/ipv4_iacl_untagged.robot @@ -22,14 +22,9 @@ | Resource | resources/libraries/robot/traffic.robot | Library | resources.libraries.python.Classify.Classify | Library | resources.libraries.python.Trace - | Force Tags | HW_ENV | VM_ENV | 3_NODE_SINGLE_LINK_TOPO -| Suite Setup | Run Keywords | Setup all TGs before traffic script -| ... | AND | Update All Interface Data On All Nodes | ${nodes} -| Test Setup | Setup all DUTs before test -| Test Teardown | Run Keywords | Show packet trace on all DUTs | ${nodes} -| ... | AND | Vpp Show Errors | ${nodes['DUT1']} -| ... | AND | Show vpp trace dump on all DUTs +| Test Setup | Func Test Setup +| Test Teardown | Func Test Teardown | Documentation | *IPv4 routing with ingress ACL test cases* | ... | ... | Encapsulations: Eth-IPv4 on links TG-DUT1, TG-DUT2, DUT1-DUT2. IPv4 diff --git a/tests/func/iacl/ipv6_iacl_untagged.robot b/tests/func/iacl/ipv6_iacl_untagged.robot index db814b221b..47daac02a5 100644 --- a/tests/func/iacl/ipv6_iacl_untagged.robot +++ b/tests/func/iacl/ipv6_iacl_untagged.robot @@ -21,15 +21,9 @@ | Resource | resources/libraries/robot/traffic.robot | Library | resources.libraries.python.Classify.Classify | Library | resources.libraries.python.Trace - | Force Tags | HW_ENV | VM_ENV | 3_NODE_SINGLE_LINK_TOPO -| Suite Setup | Run Keywords | Setup all DUTs before test -| ... | AND | Setup all TGs before traffic script -| ... | AND | Update All Interface Data On All Nodes | ${nodes} -| Test Setup | Setup all DUTs before test -| Test Teardown | Run Keywords | Show packet trace on all DUTs | ${nodes} -| ... | AND | Vpp Show Errors | ${nodes['DUT1']} -| ... | AND | Show vpp trace dump on all DUTs +| Test Setup | Func Test Setup +| Test Teardown | Func Test Teardown | Documentation | *IPv6 routing with ingress ACL test cases* | ... | ... | Encapsulations: Eth-IPv6 on links TG-DUT1, TG-DUT2, DUT1-DUT2. IPv6 diff --git a/tests/func/iacl/l2_iacl_untagged.robot b/tests/func/iacl/l2_iacl_untagged.robot index 071ce1b34c..06ecc99176 100644 --- a/tests/func/iacl/l2_iacl_untagged.robot +++ b/tests/func/iacl/l2_iacl_untagged.robot @@ -20,15 +20,10 @@ | Resource | resources/libraries/robot/l2_traffic.robot | Library | resources.libraries.python.Classify.Classify | Library | resources.libraries.python.Trace - | Force Tags | HW_ENV | VM_ENV | 3_NODE_SINGLE_LINK_TOPO | ... | 3_NODE_DOUBLE_LINK_TOPO -| Suite Setup | Run Keywords | Setup all TGs before traffic script -| ... | AND | Update All Interface Data On All Nodes | ${nodes} -| Test Setup | Setup all DUTs before test -| Test Teardown | Run Keywords | Show packet trace on all DUTs | ${nodes} -| ... | AND | Vpp Show Errors | ${nodes['DUT1']} -| ... | AND | Show vpp trace dump on all DUTs +| Test Setup | Func Test Setup +| Test Teardown | Func Test Teardown | Documentation | *Ingress ACL test cases* | ... | ... | *[Top] Network Topologies:* TG - DUT1 - DUT2 - TG |