diff options
author | Tibor Frank <tifrank@cisco.com> | 2017-06-08 14:45:26 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-06-13 09:00:09 +0200 |
commit | 53d69321e41aa6fd94abc16c7050314dc2e53f08 (patch) | |
tree | 21977de9cc93e53eb2625224262e583a3476bc91 /tests/func/honeycomb/mgmt-cfg-pbb-apihc-apivat-func.robot | |
parent | 5f6802ba1d16005e7562f0eace81512dddab6762 (diff) |
CSIT-664: Refactor setups and teardowns
- Add suite setup for performance IPSec tests
- Add test teardown for performance SNAT tests
- Add setups and teardowns for functional tests
- Clean up the code
Change-Id: Ia456e9f3ff0f0f2bb9a03f692f27c7f9a2817621
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'tests/func/honeycomb/mgmt-cfg-pbb-apihc-apivat-func.robot')
-rw-r--r-- | tests/func/honeycomb/mgmt-cfg-pbb-apihc-apivat-func.robot | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/tests/func/honeycomb/mgmt-cfg-pbb-apihc-apivat-func.robot b/tests/func/honeycomb/mgmt-cfg-pbb-apihc-apivat-func.robot index 4d7c8a21ef..a04932556a 100644 --- a/tests/func/honeycomb/mgmt-cfg-pbb-apihc-apivat-func.robot +++ b/tests/func/honeycomb/mgmt-cfg-pbb-apihc-apivat-func.robot @@ -19,9 +19,12 @@ | Resource | resources/libraries/robot/honeycomb/honeycomb.robot | Resource | resources/libraries/robot/honeycomb/provider_backbone_bridge.robot | Variables | resources/test_data/honeycomb/pbb/pbb.py +| ... | Documentation | *Honeycomb provider backbone bridge test suite.* +| ... | Suite Teardown | Run Keyword If Any Tests Failed | ... | Restart Honeycomb and VPP | ${node} +| ... | Force Tags | HC_FUNC *** Test Cases *** @@ -29,33 +32,33 @@ | TC01: Honeycomb sets PBB sub-interface | | [Documentation] | Honeycomb creates a new PBB sub-interface. | | ... -| | Honeycomb creates PBB sub interface | ${node} | ${super_if} +| | Honeycomb creates PBB sub-interface | ${node} | ${super_if} | | ... | ${cfg_pbb_sub_if_1} | TC02: Honeycomb modifies existing PBB sub-interface | | [Documentation] | Honeycomb modifies an existing PBB sub-interface. | | ... -| | Honeycomb creates PBB sub interface | ${node} | ${super_if} +| | Honeycomb creates PBB sub-interface | ${node} | ${super_if} | | ... | ${cfg_pbb_sub_if_1_mod} | TC03: Honeycomb deletes existing PBB sub-interface | | [Documentation] | Honeycomb deletes an existing PBB sub-interface. | | ... -| | Honeycomb Removes PBB sub interface +| | Honeycomb removes PBB sub-interface | | ... | ${node} | ${super_if} | TC04: Honeycomb fails to set wrong destination-address for new PBB sub-interface | | [Documentation] | Honeycomb fails to create a new PBB sub-interface with\ | | ... | wrong value of parameter destination-address, type yang:mac-address. | | ... -| | Honeycomb fails to create PBB sub interface | ${node} | ${super_if} +| | Honeycomb fails to create PBB sub-interface | ${node} | ${super_if} | | ... | ${cfg_pbb_sub_if_wrong_dst_addr} | TC05: Honeycomb fails to set wrong source-address for new PBB sub-interface | | [Documentation] | Honeycomb fails to create a new PBB sub-interface with\ | | ... | wrong value of parameter source-address, type yang:mac-address. | | ... -| | Honeycomb fails to create PBB sub interface | ${node} | ${super_if} +| | Honeycomb fails to create PBB sub-interface | ${node} | ${super_if} | | ... | ${cfg_pbb_sub_if_wrong_src_addr} | TC06: Honeycomb fails to set wrong b-vlan-tag-vlan-id for new PBB sub-interface @@ -63,7 +66,7 @@ | | ... | wrong value of parameter b-vlan-tag-vlan-id, type uint16, 12 bit\ | | ... | range, range 1..4095. | | ... -| | Honeycomb fails to create PBB sub interface | ${node} | ${super_if} +| | Honeycomb fails to create PBB sub-interface | ${node} | ${super_if} | | ... | ${cfg_pbb_sub_if_wrong_vlan_tag} | TC07: Honeycomb fails to set wrong i-tag-isid for new PBB sub-interface @@ -71,12 +74,12 @@ | | ... | wrong value of parameter i-tag-isid, type uint32, 24 bit range,\ | | ... | range 1..16777215. | | ... -| | Honeycomb fails to create PBB sub interface | ${node} | ${super_if} +| | Honeycomb fails to create PBB sub-interface | ${node} | ${super_if} | | ... | ${cfg_pbb_sub_if_wrong_i_tag} | TC08: Honeycomb fails to create new PBB sub-interface without vlan tag | | [Documentation] | Honeycomb fails to create a new PBB sub-interface without\ | | ... | parameter b-vlan-tag-vlan-id. | | ... -| | Honeycomb fails to create PBB sub interface | ${node} | ${super_if} +| | Honeycomb fails to create PBB sub-interface | ${node} | ${super_if} | | ... | ${cfg_pbb_sub_if_no_vlan_tag} |