Add VF Module Groups to the SD-WAN Service test
[aai/babel.git] / src / test / resources / ymlFiles / groups.yml
1 #
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
15 tosca_definitions_version: tosca_simple_yaml_1_0
16
17 #metadata:
18 #  filename: tosca/groups.yml
19 #  version: '1.0'
20
21 imports:
22 - data.yml
23
24 group_types:
25   tosca.groups.Root:
26     description: This is the default (root) TOSCA Group Type definition that all other TOSCA base Group Types derive from.
27     interfaces:
28       standard:
29         type: tosca.interfaces.node.lifecycle.Standard
30   org.openecomp.groups.VfModule:
31     derived_from: tosca.groups.Root
32     description: Grouped all heat resources which are in the same VF Module
33     properties:
34       isBase:
35         description: Whether this module should be deployed before other modules
36         type: boolean
37         status: supported
38         default: false
39         required: true
40       vf_module_label:
41         description: |
42           Alternate textual key used to reference this VF-Module model.  Must be unique within the VNF model
43         type: string
44         required: true
45       vf_module_description:
46         description: |
47           Description of the VF-modules contents and purpose   (e.g. "Front-End" or "Database Cluster")
48         type: string
49         required: true
50       min_vf_module_instances:
51         description: The minimum instances of this VF-Module
52         type: integer
53         required: true
54       max_vf_module_instances:
55         description: The maximum instances of this VF-Module
56         type: integer
57         required: false
58       initial_count:
59         description: |
60           The initial count of instances of the VF-Module. The value must be in the  range between min_vfmodule_instances and max_vfmodule_instances. If no value provided the initial count is the min_vfmodule_instances.
61         type: integer
62         required: false
63       vf_module_type:
64         type: string
65         required: true
66         constraints:
67         - valid_values:
68           - Base
69           - Expansion
70       volume_group:
71         description: |
72           "true" indicates that this VF Module model requires attachment to a Volume   Group.  VID operator must select the Volume Group instance to attach to a VF-Module  at deployment time.
73         type: boolean
74         default: false
75         required: true
76       availability_zone_count:
77         type: integer
78         required: false
79         description: >
80          Quantity of Availability Zones needed for this VF-Module    
81          (source: Extracted from VF-Module HEAT template)
82       vfc_list:
83         type: map
84         entry_schema: 
85           description: <vfc_id>:<count>
86           type: string
87         required: false
88         description: >
89           Identifies the set of VM types and their count included in the VF-Module
90
91   org.openecomp.groups.heat.HeatStack:
92     derived_from: org.openecomp.groups.VfModule
93     description: Grouped all heat resources which are in the same heat stack
94     properties:
95       heat_file:
96         description: Heat file which associate to this group/heat stack
97         type: string
98         status: supported
99         required: true
100       description:
101         description: group description
102         type: string
103         status: supported
104         required: true