push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / nested / multi / 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.nested-pcm_v0.1_2:
33     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
34     properties:
35       pcm_flavor_name:
36         type: string
37         description: flavor name of PCRF CM instance
38       availabilityzone_name:
39         type: string
40         description: availabilityzone name
41       pcm_image_name:
42         type: string
43         description: PCRF CM image name
44       pcm_vol:
45         type: string
46         description: CPS Cluman Cinder Volume
47       security_group_name:
48         type: string
49         description: the name of security group
50       cps_net_ip:
51         type: string
52         description: CPS network ip
53       pcm_server_name:
54         type: string
55         description: PCRF CM server name
56       cps_net_name:
57         type: string
58         description: CPS network name
59       cps_net_mask:
60         type: string
61         description: CPS network mask
62       oam_net_ip:
63         type: string
64       oam_net_name:
65         type: string
66         description: OAM network name
67     attributes:
68       server_pcm_id:
69         type: string
70         description: the pcm nova service id
71     requirements:
72     - link_pcm_port_1:
73         capability: tosca.capabilities.network.Linkable
74         node: tosca.nodes.Root
75         relationship: tosca.relationships.network.LinksTo
76         occurrences:
77         - 1
78         - 1
79     - local_storage_server_pcm:
80         capability: tosca.capabilities.Attachment
81         node: tosca.nodes.BlockStorage
82         relationship: tosca.relationships.AttachesTo
83         occurrences:
84         - 0
85         - UNBOUNDED
86     - link_pcm_port_0:
87         capability: tosca.capabilities.network.Linkable
88         node: tosca.nodes.Root
89         relationship: tosca.relationships.network.LinksTo
90         occurrences:
91         - 1
92         - 1
93     capabilities:
94       endpoint_server_pcm:
95         type: tosca.capabilities.Endpoint.Admin
96         occurrences:
97         - 1
98         - UNBOUNDED
99       os_server_pcm:
100         type: tosca.capabilities.OperatingSystem
101         occurrences:
102         - 1
103         - UNBOUNDED
104       host_server_pcm:
105         type: tosca.capabilities.Container
106         valid_source_types:
107         - tosca.nodes.SoftwareComponent
108         occurrences:
109         - 1
110         - UNBOUNDED
111       scalable_server_pcm:
112         type: tosca.capabilities.Scalable
113         occurrences:
114         - 1
115         - UNBOUNDED
116       binding_server_pcm:
117         type: tosca.capabilities.network.Bindable
118         occurrences:
119         - 1
120         - UNBOUNDED
121       attachment_pcm_port_0:
122         type: tosca.capabilities.Attachment
123         occurrences:
124         - 1
125         - UNBOUNDED
126       attachment_pcm_port_1:
127         type: tosca.capabilities.Attachment
128         occurrences:
129         - 1
130         - UNBOUNDED
131   org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1:
132     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
133     properties:
134       availabilityzone_name:
135         type: string
136         description: availabilityzone name
137       oam_net_gw:
138         type: string
139         description: CPS network gateway
140       pcm_image_name:
141         type: string
142         description: PCRF CM image name
143       security_group_name:
144         type: string
145         description: the name of security group
146       cps_net_ip:
147         type: string
148         description: CPS network ip
149       pcm_flavor_name:
150         type: string
151         description: flavor name of PCRF CM instance
152       pcm_vol:
153         type: string
154         description: CPS Cluman Cinder Volume
155       pcm_server_name:
156         type: string
157         description: PCRF CM server name
158       cps_net_name:
159         type: string
160         description: CPS network name
161       cps_net_mask:
162         type: string
163         description: CPS network mask
164       oam_net_ip:
165         type: string
166         description: OAM network ip
167       oam_net_mask:
168         type: string
169         description: CPS network mask
170       oam_net_name:
171         type: string
172         description: OAM network name
173     attributes:
174       server_pcm_id:
175         type: string
176         description: the pcm nova service id
177     requirements:
178     - link_pcm_port_1:
179         capability: tosca.capabilities.network.Linkable
180         node: tosca.nodes.Root
181         relationship: tosca.relationships.network.LinksTo
182         occurrences:
183         - 1
184         - 1
185     - local_storage_server_pcm:
186         capability: tosca.capabilities.Attachment
187         node: tosca.nodes.BlockStorage
188         relationship: tosca.relationships.AttachesTo
189         occurrences:
190         - 0
191         - UNBOUNDED
192     - link_pcm_port_0:
193         capability: tosca.capabilities.network.Linkable
194         node: tosca.nodes.Root
195         relationship: tosca.relationships.network.LinksTo
196         occurrences:
197         - 1
198         - 1
199     capabilities:
200       endpoint_server_pcm:
201         type: tosca.capabilities.Endpoint.Admin
202         occurrences:
203         - 1
204         - UNBOUNDED
205       os_server_pcm:
206         type: tosca.capabilities.OperatingSystem
207         occurrences:
208         - 1
209         - UNBOUNDED
210       host_server_pcm:
211         type: tosca.capabilities.Container
212         valid_source_types:
213         - tosca.nodes.SoftwareComponent
214         occurrences:
215         - 1
216         - UNBOUNDED
217       scalable_server_pcm:
218         type: tosca.capabilities.Scalable
219         occurrences:
220         - 1
221         - UNBOUNDED
222       binding_server_pcm:
223         type: tosca.capabilities.network.Bindable
224         occurrences:
225         - 1
226         - UNBOUNDED
227       attachment_pcm_port_0:
228         type: tosca.capabilities.Attachment
229         occurrences:
230         - 1
231         - UNBOUNDED
232       attachment_pcm_port_1:
233         type: tosca.capabilities.Attachment
234         occurrences:
235         - 1
236         - UNBOUNDED