[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 / fulltest / nestedSingleCompute / threeNestedSameTypeTwoPointingOnSameNestedFile / out / MainServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     pcm_flavor_name:
12       label: PCRF CM flavor name
13       hidden: false
14       immutable: false
15       type: string
16       description: flavor name of PCRF CM instance
17       default: cps
18     availabilityzone_name:
19       label: availabilityzone name
20       hidden: false
21       immutable: false
22       type: string
23       description: availabilityzone name
24       default: nova
25     oam_net_gw:
26       label: CPS network gateway
27       hidden: false
28       immutable: false
29       type: string
30       description: CPS network gateway
31     pcm_server_names:
32       label: PCRF CM server names
33       hidden: false
34       immutable: false
35       type: list
36       description: name of the PCRF CM instance
37       default:
38       - ZRDM1PCRF01PCM001
39       entry_schema:
40         type: string
41     pcm_image_name:
42       label: PCRF CM image name
43       hidden: false
44       immutable: false
45       type: string
46       description: PCRF CM image name
47       default: rhel2
48     net_name:
49       hidden: false
50       immutable: false
51       type: string
52     compute_image_name:
53       hidden: false
54       immutable: false
55       type: string
56   node_templates:
57     abstract_pcm_server_1:
58       type: org.openecomp.resource.abstract.nodes.heat.pcm_server
59       directives:
60       - substitutable
61       properties:
62         pcm_flavor_name:
63           get_input: pcm_flavor_name
64         service_template_filter:
65           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
66         availabilityzone_name:
67           get_input: availabilityzone_name
68         pcm_image_name:
69           get_input: pcm_image_name
70         pcm_server_name:
71           get_input:
72           - pcm_server_names
73           - 0
74     abstract_pcm_server_1_0:
75       type: org.openecomp.resource.abstract.nodes.heat.pcm_server_1
76       directives:
77       - substitutable
78       properties:
79         pcm_flavor_name:
80           get_input: pcm_flavor_name
81         service_template_filter:
82           substitute_service_template: nested-pcm_v0.2ServiceTemplate.yaml
83         availabilityzone_name:
84           get_input: availabilityzone_name
85         pcm_image_name:
86           get_input: pcm_image_name
87         pcm_server_name:
88           get_input:
89           - pcm_server_names
90           - 0
91     abstract_pcm_server_0:
92       type: org.openecomp.resource.abstract.nodes.heat.pcm_server
93       directives:
94       - substitutable
95       properties:
96         pcm_flavor_name:
97           get_input: pcm_flavor_name
98         service_template_filter:
99           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
100         availabilityzone_name:
101           get_input: availabilityzone_name
102         pcm_image_name:
103           get_input: pcm_image_name
104         pcm_server_name:
105           get_input:
106           - pcm_server_names
107           - 0
108     compute_port_0:
109       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
110       properties:
111         ip_requirements:
112         - ip_version: 4
113           ip_count_required:
114             is_required: false
115           floating_ip_count_required:
116             is_required: false
117         mac_requirements:
118           mac_count_required:
119             is_required: false
120         network:
121           get_input: net_name
122   groups:
123     hot-nimbus-pcm_v0.4_group:
124       type: org.openecomp.groups.heat.HeatStack
125       properties:
126         heat_file: ../Artifacts/hot-nimbus-pcm_v0.4.yaml
127         description: heat template that creates PCRF Cluman stack
128       members:
129       - compute_port_0
130       - abstract_pcm_server_0
131       - abstract_pcm_server_1
132       - abstract_pcm_server_1_0