push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / nested / resource_group_with_dynamic_count / expectedoutputfiles / GlobalSubstitutionTypesServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: GlobalSubstitutionTypes
4 imports:
5   ContrailComputeGlobalTypes:
6     file: ContrailComputeGlobalTypesServiceTemplate.yaml
7   CinderVolumeGlobalTypes:
8     file: CinderVolumeGlobalTypesServiceTemplate.yaml
9   ContrailVirtualNetworkGlobalType:
10     file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
11   AbstractSubstituteGlobalTypes:
12     file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
13   ContrailPortGlobalTypes:
14     file: ContrailPortGlobalTypesServiceTemplate.yaml
15   NeutronPortGlobalTypes:
16     file: NeutronPortGlobalTypesServiceTemplate.yaml
17   NeutronNetGlobalTypes:
18     file: NeutronNetGlobalTypesServiceTemplate.yaml
19   CommonGlobalTypes:
20     file: CommonGlobalTypesServiceTemplate.yaml
21   ContrailAbstractSubstituteGlobalTypes:
22     file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
23   ContrailNetworkRuleGlobalType:
24     file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
25   NeutronSecurityRulesGlobalTypes:
26     file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
27   NovaServerGlobalTypes:
28     file: NovaServerGlobalTypesServiceTemplate.yaml
29   ContrailV2VirtualMachineInterfaceGlobalType:
30     file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
31 node_types:
32   org.openecomp.resource.abstract.nodes.heat.mvs.nested.heat:
33     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
34     properties:
35       vf_module_id:
36         type: string
37         description: Unique ID for this VF_MODULE instance
38       vf_name:
39         type: string
40         description: The VF Name; defaults to VMVM for the virtual MVM VNF.
41         constraints:
42         - pattern: '[a-zA-Z0-9]+'
43         - max_length: 4
44         - min_length: 4
45       cloud_zone_id:
46         type: string
47         description: The cloud zone for this VF instance
48       vf_instance_num:
49         type: string
50         description: The number for this VF instance
51         constraints:
52         - pattern: '[0-9]+'
53         - max_length: 2
54         - min_length: 2
55       virtual_mgmt_ip_0:
56         type: string
57         description: Virtual management network ip address
58       indx:
59         type: float
60         description: Index of the current instance
61       mvs_mgmt_ip_0:
62         type: list
63         description: List of Management network IP addresses for IPv4
64         entry_schema:
65           type: string
66       flavor:
67         type: string
68         description: Server flavor
69         constraints: [
70           ]
71       key_name:
72         type: string
73         description: SSH key name
74         constraints: [
75           ]
76       vnf_id:
77         type: string
78         description: Unique ID for this VF instance
79       availability_zone_0:
80         type: list
81         description: List of Availability Zone IDs or Names
82         entry_schema:
83           type: string
84       mgmt_net_id:
85         type: string
86         description: Neutron UUID for the Management network
87         constraints: [
88           ]
89       vm_instance_num:
90         type: list
91         description: VM instance number list must be a list of three-digit numeric value
92         entry_schema:
93           type: string
94       bootimage:
95         type: string
96         description: Master bootimage volume id
97       sec_groups:
98         type: list
99         description: Security groups
100         entry_schema:
101           type: string
102       vf_component:
103         type: string
104         description: The component that this VF instance is running
105         constraints:
106         - pattern: '[a-zA-Z0-9]+'
107         - max_length: 3
108         - min_length: 3
109     requirements:
110     - local_storage_vnfci:
111         capability: tosca.capabilities.Attachment
112         node: tosca.nodes.BlockStorage
113         relationship: tosca.relationships.AttachesTo
114         occurrences:
115         - 0
116         - UNBOUNDED
117     - link_mgmt_port:
118         capability: tosca.capabilities.network.Linkable
119         node: tosca.nodes.Root
120         relationship: tosca.relationships.network.LinksTo
121         occurrences:
122         - 1
123         - 1
124     capabilities:
125       os_vnfci:
126         type: tosca.capabilities.OperatingSystem
127         occurrences:
128         - 1
129         - UNBOUNDED
130       attachment_mgmt_port:
131         type: tosca.capabilities.Attachment
132         occurrences:
133         - 1
134         - UNBOUNDED
135       endpoint_vnfci:
136         type: tosca.capabilities.Endpoint.Admin
137         occurrences:
138         - 1
139         - UNBOUNDED
140       host_vnfci:
141         type: tosca.capabilities.Container
142         valid_source_types:
143         - tosca.nodes.SoftwareComponent
144         occurrences:
145         - 1
146         - UNBOUNDED
147       binding_vnfci:
148         type: tosca.capabilities.network.Bindable
149         occurrences:
150         - 1
151         - UNBOUNDED
152       attachment_boot_volume:
153         type: tosca.capabilities.Attachment
154         occurrences:
155         - 1
156         - UNBOUNDED
157       scalable_vnfci:
158         type: tosca.capabilities.Scalable
159         occurrences:
160         - 1
161         - UNBOUNDED
162       attachment_data_volume:
163         type: tosca.capabilities.Attachment
164         occurrences:
165         - 1
166         - UNBOUNDED