Update the list of disabled pluggins
[csit.git] / tests / honeycomb / func / mgmt-cfg-pbb-apihc-apivat-func.robot
1 # Copyright (c) 2016 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 *** Variables***
15 | ${super_if}= | ${node['interfaces']['port1']['name']}
16
17 *** Settings ***
18 | Resource | resources/libraries/robot/shared/default.robot
19 | Resource | resources/libraries/robot/honeycomb/honeycomb.robot
20 | Resource | resources/libraries/robot/honeycomb/provider_backbone_bridge.robot
21 | Variables | resources/test_data/honeycomb/pbb/pbb.py
22 | ...
23 | Documentation | *Honeycomb provider backbone bridge test suite.*
24 | ...
25 | Suite Setup | Set Up Honeycomb Functional Test Suite | ${node}
26 | ...
27 | Suite Teardown | Tear Down Honeycomb Functional Test Suite | ${node}
28 | ...
29 | Force Tags | HC_FUNC
30
31 *** Test Cases ***
32 # TODO: add verifications once operational data or VPP dump is available.
33 | TC01: Honeycomb sets PBB sub-interface
34 | | [Documentation] | Honeycomb creates a new PBB sub-interface.
35 | | ...
36 | | Honeycomb creates PBB sub-interface | ${node} | ${super_if}
37 | | ... | ${cfg_pbb_sub_if_1}
38
39 | TC02: Honeycomb modifies existing PBB sub-interface
40 | | [Documentation] | Honeycomb modifies an existing PBB sub-interface.
41 | | ...
42 | | Honeycomb creates PBB sub-interface | ${node} | ${super_if}
43 | | ... | ${cfg_pbb_sub_if_1_mod}
44
45 | TC03: Honeycomb deletes existing PBB sub-interface
46 | | [Documentation] | Honeycomb deletes an existing PBB sub-interface.
47 | | ...
48 | | Honeycomb removes PBB sub-interface
49 | | ... | ${node} | ${super_if}
50
51 | TC04: Honeycomb fails to set wrong destination-address for new PBB sub-interface
52 | | [Documentation] | Honeycomb fails to create a new PBB sub-interface with\
53 | | ... | wrong value of parameter destination-address, type yang:mac-address.
54 | | ...
55 | | Honeycomb fails to create PBB sub-interface | ${node} | ${super_if}
56 | | ... | ${cfg_pbb_sub_if_wrong_dst_addr}
57
58 | TC05: Honeycomb fails to set wrong source-address for new PBB sub-interface
59 | | [Documentation] | Honeycomb fails to create a new PBB sub-interface with\
60 | | ... | wrong value of parameter source-address, type yang:mac-address.
61 | | ...
62 | | Honeycomb fails to create PBB sub-interface | ${node} | ${super_if}
63 | | ... | ${cfg_pbb_sub_if_wrong_src_addr}
64
65 | TC06: Honeycomb fails to set wrong b-vlan-tag-vlan-id for new PBB sub-interface
66 | | [Documentation] | Honeycomb fails to create a new PBB sub-interface with\
67 | | ... | wrong value of parameter b-vlan-tag-vlan-id, type uint16, 12 bit\
68 | | ... | range, range 1..4095.
69 | | ...
70 | | Honeycomb fails to create PBB sub-interface | ${node} | ${super_if}
71 | | ... | ${cfg_pbb_sub_if_wrong_vlan_tag}
72
73 | TC07: Honeycomb fails to set wrong i-tag-isid for new PBB sub-interface
74 | | [Documentation] | Honeycomb fails to create a new PBB sub-interface with\
75 | | ... | wrong value of parameter i-tag-isid, type uint32, 24 bit range,\
76 | | ... | range 1..16777215.
77 | | ...
78 | | Honeycomb fails to create PBB sub-interface | ${node} | ${super_if}
79 | | ... | ${cfg_pbb_sub_if_wrong_i_tag}
80
81 | TC08: Honeycomb fails to create new PBB sub-interface without vlan tag
82 | | [Documentation] | Honeycomb fails to create a new PBB sub-interface without\
83 | | ... | parameter b-vlan-tag-vlan-id.
84 | | ...
85 | | Honeycomb fails to create PBB sub-interface | ${node} | ${super_if}
86 | | ... | ${cfg_pbb_sub_if_no_vlan_tag}