aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/ymlFiles/groups.yml
blob: 0fea540ce164060f726ffb5d17df22ebda73d911 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

tosca_definitions_version: tosca_simple_yaml_1_0

#metadata:
#  filename: tosca/groups.yml
#  version: '1.0'

imports:
- data.yml

group_types:
  tosca.groups.Root:
    description: This is the default (root) TOSCA Group Type definition that all other TOSCA base Group Types derive from.
    interfaces:
      standard:
        type: tosca.interfaces.node.lifecycle.Standard
  org.openecomp.groups.VfModule:
    derived_from: tosca.groups.Root
    description: Grouped all heat resources which are in the same VF Module
    properties:
      isBase:
        description: Whether this module should be deployed before other modules
        type: boolean
        status: supported
        default: false
        required: true
      vf_module_label:
        description: |
          Alternate textual key used to reference this VF-Module model.  Must be unique within the VNF model
        type: string
        required: true
      vf_module_description:
        description: |
          Description of the VF-modules contents and purpose   (e.g. "Front-End" or "Database Cluster")
        type: string
        required: true
      min_vf_module_instances:
        description: The minimum instances of this VF-Module
        type: integer
        required: true
      max_vf_module_instances:
        description: The maximum instances of this VF-Module
        type: integer
        required: false
      initial_count:
        description: |
          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.
        type: integer
        required: false
      vf_module_type:
        type: string
        required: true
        constraints:
        - valid_values:
          - Base
          - Expansion
      volume_group:
        description: |
          "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.
        type: boolean
        default: false
        required: true
      availability_zone_count:
        type: integer
        required: false
        description: >
         Quantity of Availability Zones needed for this VF-Module    
         (source: Extracted from VF-Module HEAT template)
      vfc_list:
        type: map
        entry_schema: 
          description: <vfc_id>:<count>
          type: string
        required: false
        description: >
          Identifies the set of VM types and their count included in the VF-Module

  org.openecomp.groups.heat.HeatStack:
    derived_from: org.openecomp.groups.VfModule
    description: Grouped all heat resources which are in the same heat stack
    properties:
      heat_file:
        description: Heat file which associate to this group/heat stack
        type: string
        status: supported
        required: true
      description:
        description: group description
        type: string
        status: supported
        required: true