push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / nested / resource_group / 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     attributes:
110       vnfci_id_2:
111         type: string
112       vnfci_id_1:
113         type: string
114     requirements:
115     - local_storage_vnfci:
116         capability: tosca.capabilities.Attachment
117         node: tosca.nodes.BlockStorage
118         relationship: tosca.relationships.AttachesTo
119         occurrences:
120         - 0
121         - UNBOUNDED
122     - link_mgmt_port:
123         capability: tosca.capabilities.network.Linkable
124         node: tosca.nodes.Root
125         relationship: tosca.relationships.network.LinksTo
126         occurrences:
127         - 1
128         - 1
129     capabilities:
130       os_vnfci:
131         type: tosca.capabilities.OperatingSystem
132         occurrences:
133         - 1
134         - UNBOUNDED
135       attachment_mgmt_port:
136         type: tosca.capabilities.Attachment
137         occurrences:
138         - 1
139         - UNBOUNDED
140       endpoint_vnfci:
141         type: tosca.capabilities.Endpoint.Admin
142         occurrences:
143         - 1
144         - UNBOUNDED
145       host_vnfci:
146         type: tosca.capabilities.Container
147         valid_source_types:
148         - tosca.nodes.SoftwareComponent
149         occurrences:
150         - 1
151         - UNBOUNDED
152       binding_vnfci:
153         type: tosca.capabilities.network.Bindable
154         occurrences:
155         - 1
156         - UNBOUNDED
157       scalable_vnfci:
158         type: tosca.capabilities.Scalable
159         occurrences:
160         - 1
161         - UNBOUNDED