[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 / fixNewAbstractNodeTemplate / noConsolidation / in / 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 node_types:
8   org.openecomp.resource.vfc.nodes.heat.FSB1:
9     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
10 topology_template:
11   inputs:
12     fsb1-name:
13       label: FSB1_name
14       hidden: false
15       immutable: false
16       type: string
17       description: FSB1_name
18     fsb1-Internal1-mac:
19       label: FSB1_internal_mac
20       hidden: false
21       immutable: false
22       type: string
23       description: FSB1_internal_mac
24     cps_net_mask:
25       hidden: false
26       immutable: false
27       type: string
28       description: prop
29     fsb1-flavor:
30       label: FSB1_flavor
31       hidden: false
32       immutable: false
33       type: string
34       description: FSB1_flavor
35     fsb1-Internal2-mac:
36       label: FSB1_internal_mac
37       hidden: false
38       immutable: false
39       type: string
40       description: FSB1_internal_mac
41     volume_type:
42       label: volume type
43       hidden: false
44       immutable: false
45       type: string
46       description: volume type Gold
47     fsb_zone:
48       label: FSB1_zone
49       hidden: false
50       immutable: false
51       type: string
52       description: FSB1_zone
53     oam_net_gw:
54       hidden: false
55       immutable: false
56       type: string
57       description: prop
58     network_name:
59       hidden: false
60       immutable: false
61       type: string
62       description: prop
63     cps_net_ip:
64       hidden: false
65       immutable: false
66       type: string
67       description: prop
68     jsa_net_name:
69       label: jsa_net_name
70       hidden: false
71       immutable: false
72       type: string
73       description: jsa_net_name
74       default: jsa_log_net_0
75     pcrf_psm_server_name:
76       label: pcrf_psm_server_name
77       hidden: false
78       immutable: false
79       type: string
80       description: pcrf_psm_server_name
81     pcm_flavor_name:
82       label: pcm_flavor_name
83       hidden: false
84       immutable: false
85       type: string
86       description: pcm_flavor_name
87     oam_net_id:
88       label: oam_net_id
89       hidden: false
90       immutable: false
91       type: string
92       description: oam_net_id
93     oam_net_ip:
94       hidden: false
95       immutable: false
96       type: string
97       description: prop
98     oam_net_mask:
99       hidden: false
100       immutable: false
101       type: string
102       description: prop
103     fsb1-oam-ip:
104       hidden: false
105       immutable: false
106       type: string
107       description: prop
108   node_templates:
109     jsa_net1:
110       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
111       properties:
112         shared: true
113         network_name:
114           get_attribute:
115           - FSB1_Internal1
116           - network_id
117         dhcp_agent_ids:
118           get_attribute:
119           - FSB1_template
120           - addresses
121         tenant_id:
122           get_attribute:
123           - FSB2_Internal2
124           - network_id
125         qos_policy:
126           get_attribute:
127           - FSB2_Internal2
128           - network_id
129     cmaui_volume1:
130       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
131       properties:
132         volume_type:
133           get_attribute:
134           - FSB1_template
135           - addresses
136           - get_attribute:
137             - FSB2_Internal2
138             - index
139         size:
140           get_attribute:
141           - FSB1_Internal1
142           - addresses
143           - get_input:
144             - CMAUI_volume_type
145             - get_attribute:
146               - FSB1_OAM
147               - oam_index
148           - 0
149           - OS-EXT-IPS-MAC:mac_addr
150     cmaui_volume2:
151       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
152       properties:
153         volume_type:
154           get_input: CMAUI_volume_type
155         size:
156           get_input:
157           - a
158           - addresses
159           - get_input:
160             - CMAUI_volume_type
161             - get_attribute:
162               - FSB1_template
163               - accessIPv6
164           - 0
165           - OS-EXT-IPS-MAC:mac_addr
166     FSB1:
167       type: org.openecomp.resource.abstract.nodes.FSB1
168       directives:
169       - substitutable
170       properties:
171         network_name:
172           get_attribute:
173           - FSB1_Internal1
174           - network_id
175         dhcp_agent_ids:
176           get_attribute:
177           - FSB1_template
178           - addresses
179         tenant_id:
180           get_attribute:
181           - FSB1_Internal2
182           - network_id
183         port_FSB1_Internal_mac_address:
184         - get_input: fsb1-Internal1-mac
185
186   groups:
187     ep-jsa_net_group:
188       type: org.openecomp.groups.heat.HeatStack
189       properties:
190         heat_file: ../Artifacts/ep-jsa_net.yaml
191         description: |
192           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
193       members:
194       - cmaui_volume1
195       - cmaui_volume2
196       - jsa_net1
197       - FSB1