blob: f8be60db8b6ed720e56645c7ce222f6f656af910 [file] [log] [blame]
Lianhao Lude0e18b2018-11-07 16:39:31 +08001#
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#
14tosca_definitions_version: tosca_simple_yaml_1_1
15imports:
16- data.yml
17group_types:
18 tosca.groups.Root:
19 description: The TOSCA Group Type all other TOSCA Group Types derive from
20 interfaces:
21 Standard:
22 type: tosca.interfaces.node.lifecycle.Standard
23 org.openecomp.groups.heat.HeatStack:
24 derived_from: tosca.groups.Root
25 description: Grouped all heat resources which are in the same heat stack
26 properties:
27 heat_file:
28 type: string
29 description: Heat file which associate to this group/heat stack
30 required: true
31 status: SUPPORTED
32 description:
33 type: string
34 description: group description
35 required: true
36 status: SUPPORTED
37 org.openecomp.groups.VfModule:
38 derived_from: tosca.groups.Root
39 description: Grouped all heat resources which are in the same VF Module
40 properties:
41 isBase:
42 type: boolean
43 description: Whether this module should be deployed before other modules
44 required: true
45 default: false
46 status: SUPPORTED
47 vf_module_label:
48 type: string
49 required: true
50 description: |
51 Alternate textual key used to reference this VF-Module model. Must be unique within the VNF model
52 vf_module_description:
53 type: string
54 required: true
55 description: |
56 Description of the VF-modules contents and purpose (e.g. "Front-End" or "Database Cluster")
57 min_vf_module_instances:
58 type: integer
59 required: true
60 description: The minimum instances of this VF-Module
61 max_vf_module_instances:
62 type: integer
63 required: false
64 description: The maximum instances of this VF-Module
65 initial_count:
66 type: integer
67 required: false
68 description: |
69 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.
70 vf_module_type:
71 type: string
72 required: true
73 constraint:
74 - valid_values:
75 - Base
76 - Expansion
77 volume_group:
78 type: boolean
79 required: true
80 default: false
81 description: |
82 "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.
83 availability_zone_count:
84 type: integer
85 required: false
86 description: |
87 Quantity of Availability Zones needed for this VF-Module (source: Extracted from VF-Module HEAT template)
88 vfc_list:
89 type: map
90 entry_schema:
91 description: <vfc_id>:<count>
92 type: string
93 required: false
94 description: |
95 Identifies the set of VM types and their count included in the VF-Module
96 org.openecomp.groups.NetworkCollection:
97 derived_from: tosca.groups.Root
98 description: groups l3-networks in network collection
99 properties:
100 network_collection_function:
101 type: string
102 required: true
103 description: network collection function
104 network_collection_description:
105 type: string
106 required: true
107 description: network collection description, free format text
108 org.openecomp.groups.VfcInstanceGroup:
109 derived_from: tosca.groups.Root
110 description: groups VFCs with same parent port role
111 properties:
112 vfc_instance_group_function:
113 type: string
114 required: true
115 description: function of this VFC group
116 vfc_parent_port_role:
117 type: string
118 required: true
119 description: common role of parent ports of VFCs in this group
120 network_collection_function:
121 type: string
122 required: true
123 description: network collection function assigned to this group
124 subinterface_role:
125 type: string
126 required: true
127 description: common role of subinterfaces of VFCs in this group, criteria the group is created
128 capabilities:
129 vlan_assignment:
130 type: org.openecomp.capabilities.VLANAssignment
131 properties:
132 vfc_instance_group_reference:
133 type: string