aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/unifiedComposition/inputoutputparamtype/out/MainServiceTemplate.yaml
blob: b3db1c2890f3b50e6a061ad46d62007fdb47b22b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  template_name: Main
imports:
- openecomp_heat_index:
    file: openecomp-heat/_index.yml
- GlobalSubstitutionTypes:
    file: GlobalSubstitutionTypesServiceTemplate.yaml
topology_template:
  inputs:
    vipr_atm_name_0:
      label: vipr_atm_name_0
      hidden: false
      immutable: false
      type: string
      description: vipr_atm_name_0
    network_name:
      label: network_name
      hidden: false
      immutable: false
      type: string
      description: network_name
    port_name:
      label: port_name
      hidden: false
      immutable: false
      type: string
      description: port_name
    fsb_zone:
      label: fsb_zone
      hidden: false
      immutable: false
      type: string
      description: fsb_zone
    fsb1-flavor:
      label: fsb1-flavor
      hidden: false
      immutable: false
      type: string
      description: fsb1-flavor
    fsb1-Internal1-mac:
      label: fsb1-flavor
      hidden: false
      immutable: false
      type: string
      description: fsb1-flavor
  node_templates:
    cmaui_volume_test_compute_properties:
      type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
      properties:
        availability_zone:
          get_attribute:
          - abstract_FSB1
          - FSB1_availability_zone
        backup_id:
          get_attribute:
          - abstract_FSB1
          - FSB1_admin_pass
        description:
          get_attribute:
          - abstract_FSB1
          - FSB1_flavor
        image:
          get_attribute:
          - abstract_FSB1
          - FSB1_config_drive
        metadata:
          get_attribute:
          - abstract_FSB1
          - FSB1_metadata
        multiattach:
          get_attribute:
          - abstract_FSB1
          - FSB1_flavor_update_policy
        name:
          get_attribute:
          - abstract_FSB1
          - FSB1_image
        read_only:
          get_attribute:
          - abstract_FSB1
          - FSB1_image_update_policy
        scheduler_hints:
          get_attribute:
          - abstract_FSB1
          - FSB1_key_name
        size:
          get_attribute:
          - abstract_FSB1
          - FSB1_diskConfig
        snapshot_id:
          get_attribute:
          - abstract_FSB1
          - FSB1_name
        source_volid:
          get_attribute:
          - abstract_FSB1
          - FSB1_personality
        volume_id:
          get_attribute:
          - abstract_FSB1
          - FSB1_reservation_id
        volume_type:
          get_attribute:
          - abstract_FSB1
          - FSB1_scheduler_hints
        delete_on_termination:
          get_attribute:
          - abstract_FSB1
          - FSB1_security_groups
        volume_size:
          get_attribute:
          - abstract_FSB1
          - FSB1_software_config_transport
        device_type:
          get_attribute:
          - abstract_FSB1
          - FSB1_user_data_format
        disk_bus:
          get_attribute:
          - abstract_FSB1
          - FSB1_user_data_update_policy
        swap_size:
          get_attribute:
          - abstract_FSB1
          - FSB1_accessIPv4
        image_id:
          get_attribute:
          - abstract_FSB1
          - FSB1_accessIPv6
        attachments:
          get_attribute:
          - abstract_FSB1
          - FSB1_addresses
        encrypted:
          get_attribute:
          - abstract_FSB1
          - FSB1_console_urls
        created_at:
          get_attribute:
          - abstract_FSB1
          - FSB1_instance_name
        display_description:
          get_attribute:
          - abstract_FSB1
          - FSB1_show
    cmaui_volume_test_neutron_port_properties:
      type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
      properties:
        availability_zone:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_ip_address
        backup_id:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_network
        image:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_admin_state_up
        metadata:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_allowed_address_pairs
        multiattach:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_binding:vnic_type
        name:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_device_id
        read_only:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_device_owner
        scheduler_hints:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_fixed_ips
        snapshot_id:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_name
        source_volid:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_port_security_enabled
        volume_id:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_qos_policy
        volume_type:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_security_groups
        delete_on_termination:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_value_specs
        volume_size:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_replacement_policy
        device_type:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_show
        disk_bus:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_subnets
        swap_size:
          get_attribute:
          - abstract_FSB1
          - FSB1_FSB1_Port_tenant_id
    cmaui_volume_test_contrailv2_VMI_properties:
      type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
      properties:
        availability_zone:
          get_attribute:
          - abstract_FSB1
          - FSB1_VMI_virtual_machine_interface_mac_addresses
        description:
          get_attribute:
          - abstract_FSB1
          - FSB1_VMI_virtual_network_refs
        image:
          get_attribute:
          - abstract_FSB1
          - FSB1_VMI_port_tuple_refs
        metadata:
          get_attribute:
          - abstract_FSB1
          - FSB1_VMI_security_group_refs
        multiattach:
          get_attribute:
          - abstract_FSB1
          - FSB1_VMI_virtual_machine_interface_properties
        name:
          get_attribute:
          - abstract_FSB1
          - FSB1_VMI_name
        size:
          get_attribute:
          - abstract_FSB1
          - FSB1_VMI_virtual_machine_interface_allowed_address_pairs
        created_at:
          get_attribute:
          - abstract_FSB1
          - FSB1_VMI_fq_name
        display_description:
          get_attribute:
          - abstract_FSB1
          - FSB1_VMI_show
    abstract_FSB1:
      type: org.openecomp.resource.abstract.nodes.FSB1
      directives:
      - substitutable
      properties:
        port_FSB1_Port_network:
        - Internal1-net
        vm_flavor_name:
          get_input: fsb1-flavor
        port_FSB1_Port_mac_address:
          get_input: fsb1-Internal1-mac
        compute_FSB1_availability_zone:
        - get_input: fsb_zone
        port_VMI_port_tuple_refs:
        - - get_input: port_name
        port_VMI_name:
        - str_replace:
            template: VM_NAME_PORT_3
            params:
              VM_NAME:
                get_input: vipr_atm_name_0
        port_VMI_virtual_network_refs:
        - - get_input: network_name
        service_template_filter:
          substitute_service_template: Nested_FSB1ServiceTemplate.yaml
          count: 1
        index_value:
          get_property:
          - SELF
          - service_template_filter
          - index_value
  groups:
    ep-jsa_net_group:
      type: org.openecomp.groups.heat.HeatStack
      properties:
        heat_file: ../Artifacts/ep-jsa_net.yaml
        description: |
          Version 2.0 02-09-2016 (Authors: Paul Phillips,  pp2854 PROD)
      members:
      - cmaui_volume_test_compute_properties
      - cmaui_volume_test_neutron_port_properties
      - cmaui_volume_test_contrailv2_VMI_properties
      - abstract_FSB1
  outputs:
    simpleOutput1:
      value:
        get_attribute:
        - FSB1
        - accessIPv4
    simpleOutput2:
      value:
        get_attribute:
        - FSB1
        - addresses
        - key1
    complexOutput1:
      value:
        get_attribute:
        - FSB1
        - addresses
        - get_attribute:
          - FSB2_Internal2
          - tenant_id
    complexOutput2:
      description: cgi fw01 left interface Mac-Address
      value:
        get_attribute:
        - FSB1_Port1
        - device_owner
        - get_input:
          - CMAUI_volume_type
          - get_attribute:
            - FSB1
            - user_data_format
        - 0
        - OS-EXT-IPS-MAC:mac_addr
    complexOutput3:
      description: cgi fw01 left interface Mac-Address
      value:
        get_input:
        - a
        - addresses
        - get_input:
          - CMAUI_volume_type
          - get_attribute:
            - FSB1
            - accessIPv6
        - 0
        - OS-EXT-IPS-MAC:mac_addr