[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / unifiedComposition / pattern4 / oneNestedNode / out / MainServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - CommonGlobalTypes:
6     file: CommonGlobalTypesServiceTemplate.yaml
7 - NovaServerGlobalTypes:
8     file: NovaServerGlobalTypesServiceTemplate.yaml
9 - NeutronPortGlobalTypes:
10     file: NeutronPortGlobalTypesServiceTemplate.yaml
11 - NeutronSecurityRulesGlobalTypes:
12     file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
13 - NeutronNetGlobalTypes:
14     file: NeutronNetGlobalTypesServiceTemplate.yaml
15 - CinderVolumeGlobalTypes:
16     file: CinderVolumeGlobalTypesServiceTemplate.yaml
17 - ContrailVirtualNetworkGlobalType:
18     file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
19 - ContrailNetworkRuleGlobalType:
20     file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
21 - AbstractSubstituteGlobalTypes:
22     file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
23 - ContrailV2VirtualMachineInterfaceGlobalType:
24     file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
25 - ContrailComputeGlobalTypes:
26     file: ContrailComputeGlobalTypesServiceTemplate.yaml
27 - ContrailPortGlobalTypes:
28     file: ContrailPortGlobalTypesServiceTemplate.yaml
29 - ContrailAbstractSubstituteGlobalTypes:
30     file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
31 - ContrailV2VirtualNetworkGlobalType:
32     file: ContrailV2VirtualNetworkGlobalTypeServiceTemplate.yaml
33 - ContrailV2NetworkRuleGlobalType:
34     file: ContrailV2NetworkRuleGlobalTypeServiceTemplate.yaml
35 - ContrailV2VLANSubInterfaceGlobalType:
36     file: ContrailV2VLANSubInterfaceGlobalTypeServiceTemplate.yaml
37 - GlobalSubstitutionTypes:
38     file: GlobalSubstitutionTypesServiceTemplate.yaml
39 topology_template:
40   inputs:
41     oam_net_ips:
42       label: OAM network ips
43       hidden: false
44       immutable: false
45       type: list
46       description: OAM network ips
47       entry_schema:
48         type: string
49     availabilityzone_name:
50       label: availabilityzone name
51       hidden: false
52       immutable: false
53       type: string
54       description: availabilityzone name
55     oam_net_gw:
56       label: CPS network gateway
57       hidden: false
58       immutable: false
59       type: string
60       description: CPS network gateway
61     pcm_server_names:
62       label: PCRF CM server names
63       hidden: false
64       immutable: false
65       type: list
66       description: name of the PCRF CM instance
67       entry_schema:
68         type: string
69     pcm_image_name:
70       label: PCRF CM image name
71       hidden: false
72       immutable: false
73       type: string
74       description: PCRF CM image name
75     cps_net_ips:
76       label: CPS network ips
77       hidden: false
78       immutable: false
79       type: list
80       description: CPS network ips
81       entry_schema:
82         type: string
83     security_group_name:
84       label: security group name
85       hidden: false
86       immutable: false
87       type: string
88       description: the name of security group
89     pcm_volumes:
90       label: CPS Cluman Cinder Volume
91       hidden: false
92       immutable: false
93       type: list
94       description: CPS Cluman Cinder Volume
95       entry_schema:
96         type: string
97     pcm_flavor_name:
98       label: PCRF CM flavor name
99       hidden: false
100       immutable: false
101       type: string
102       description: flavor name of PCRF CM instance
103     cps_net_name:
104       label: CPS network name
105       hidden: false
106       immutable: false
107       type: string
108       description: CPS network name
109     cps_net_mask:
110       label: CPS network mask
111       hidden: false
112       immutable: false
113       type: string
114       description: CPS network mask
115     oam_net_mask:
116       label: CPS network mask
117       hidden: false
118       immutable: false
119       type: string
120       description: CPS network mask
121     oam_net_name:
122       label: OAM network name
123       hidden: false
124       immutable: false
125       type: string
126       description: OAM network name
127   node_templates:
128     abstract_pcm_server:
129       type: org.openecomp.resource.abstract.nodes.heat.pcm_server
130       directives:
131       - substitutable
132       properties:
133         service_template_filter:
134           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
135         availabilityzone_name:
136           get_input: availabilityzone_name
137         oam_net_gw:
138           get_input: oam_net_gw
139         pcm_vol:
140           get_input:
141           - pcm_volumes
142           - 0
143         security_group_name:
144           get_input: security_group_name
145         cps_net_ip:
146           get_input:
147           - cps_net_ips
148           - 0
149         cps_net_name:
150           get_input: cps_net_name
151         cps_net_mask:
152           get_input: cps_net_mask
153         oam_net_ip:
154           get_input:
155           - oam_net_ips
156           - 0
157         oam_net_mask:
158           get_input: oam_net_mask
159         oam_net_name:
160           get_input: oam_net_name
161   groups:
162     hot-nimbus-pcm_v0.4_group:
163       type: org.openecomp.groups.heat.HeatStack
164       properties:
165         heat_file: ../Artifacts/hot-nimbus-pcm_v0.4.yaml
166         description: heat template that creates PCRF Cluman stack
167       members:
168       - server_pcm_001