aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_b_single_1b_0ServiceTemplate.yaml
blob: 97428c699a815debc17176d1fffd6afac1a9e994 (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
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  template_name: Nested_b_single_1b_0
imports:
- openecomp_heat_index:
    file: openecomp-heat/_index.yml
- GlobalSubstitutionTypes:
    file: GlobalSubstitutionTypesServiceTemplate.yaml
node_types:
  org.openecomp.resource.vfc.nodes.heat.b_single_1b:
    derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
topology_template:
  inputs:
    port_1b_t2_port_mac_requirements:
      type: list
      required: true
      entry_schema:
        type: json
    compute_b_single_1b_availability_zone:
      type: list
      required: true
      entry_schema:
        type: string
    index_value:
      type: integer
      description: Index value of this substitution service template runtime instance
      required: false
      default: 0
      constraints:
      - greater_or_equal: 0
    compute_b_single_1b_scheduler_hints:
      type: list
      required: true
      entry_schema:
        type: json
    port_1b_t2_port_ip_requirements:
      type: list
      required: true
      entry_schema:
        type: json
    vm_flavor_name:
      type: string
      required: true
    port_1b_t1_port_ip_requirements:
      type: list
      required: true
      entry_schema:
        type: json
    vm_image_name:
      type: string
      required: true
    compute_b_single_1b_metadata:
      type: list
      required: true
      entry_schema:
        type: json
    port_1b_t1_port_mac_requirements:
      type: list
      required: true
      entry_schema:
        type: json
    port_1b_t2_port_network:
      type: list
      required: true
      entry_schema:
        type: string
    compute_b_single_1b_user_data_format:
      type: list
      required: true
      entry_schema:
        type: string
    compute_b_single_1b_name:
      type: list
      required: true
      entry_schema:
        type: string
  node_templates:
    b_single_1b:
      type: org.openecomp.resource.vfc.nodes.heat.b_single_1b
      properties:
        availability_zone:
          get_input:
          - compute_b_single_1b_availability_zone
          - index_value
        flavor:
          get_input: vm_flavor_name
        metadata:
          get_input:
          - compute_b_single_1b_metadata
          - index_value
        image:
          get_input: vm_image_name
        name:
          get_input:
          - compute_b_single_1b_name
          - index_value
        scheduler_hints:
          get_input:
          - compute_b_single_1b_scheduler_hints
          - index_value
        user_data_format:
          get_input:
          - compute_b_single_1b_user_data_format
          - index_value
    b_single_1b_1b_t1_port:
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        ip_requirements:
          get_input:
          - port_1b_t1_port_ip_requirements
          - index_value
        mac_requirements:
          get_input:
          - port_1b_t1_port_mac_requirements
          - index_value
        network:
          get_attribute:
          - b_single_1b
          - accessIPv6
      requirements:
      - binding:
          capability: tosca.capabilities.network.Bindable
          node: b_single_1b
          relationship: tosca.relationships.network.BindsTo
    b_single_1b_1b_t2_port:
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        ip_requirements:
          get_input:
          - port_1b_t2_port_ip_requirements
          - index_value
        mac_requirements:
          get_input:
          - port_1b_t2_port_mac_requirements
          - index_value
        network:
          get_input:
          - port_1b_t2_port_network
          - index_value
      requirements:
      - binding:
          capability: tosca.capabilities.network.Bindable
          node: b_single_1b
          relationship: tosca.relationships.network.BindsTo
  outputs:
    b_single_1b_instance_name:
      type: list
      value:
        get_attribute:
        - b_single_1b
        - instance_name
      entry_schema:
        type: string
    b_single_1b_1b_t1_port_tenant_id:
      type: list
      value:
        get_attribute:
        - b_single_1b_1b_t1_port
        - tenant_id
      entry_schema:
        type: string
  substitution_mappings:
    node_type: org.openecomp.resource.abstract.nodes.b_single_1b_0
    capabilities:
      attachment_b_single_1b_1b_t2_port:
      - b_single_1b_1b_t2_port
      - attachment
      endpoint_b_single_1b:
      - b_single_1b
      - endpoint
      feature_b_single_1b:
      - b_single_1b
      - feature
      disk.iops_b_single_1b:
      - b_single_1b
      - disk.iops
      network.incoming.bytes.rate_b_single_1b_1b_t2_port:
      - b_single_1b_1b_t2_port
      - network.incoming.bytes.rate
      network.outgoing.bytes.rate_b_single_1b_1b_t2_port:
      - b_single_1b_1b_t2_port
      - network.outgoing.bytes.rate
      scalable_b_single_1b:
      - b_single_1b
      - scalable
      disk.write.bytes_b_single_1b:
      - b_single_1b
      - disk.write.bytes
      os_b_single_1b:
      - b_single_1b
      - os
      vcpus_b_single_1b:
      - b_single_1b
      - vcpus
      cpu_b_single_1b:
      - b_single_1b
      - cpu
      disk.device.read.requests.rate_b_single_1b:
      - b_single_1b
      - disk.device.read.requests.rate
      network.incoming.packets.rate_b_single_1b_1b_t2_port:
      - b_single_1b_1b_t2_port
      - network.incoming.packets.rate
      instance_b_single_1b:
      - b_single_1b
      - instance
      network.incoming.bytes.rate_b_single_1b_1b_t1_port:
      - b_single_1b_1b_t1_port
      - network.incoming.bytes.rate
      disk.read.bytes_b_single_1b:
      - b_single_1b
      - disk.read.bytes
      disk.device.latency_b_single_1b:
      - b_single_1b
      - disk.device.latency
      disk.usage_b_single_1b:
      - b_single_1b
      - disk.usage
      network.incoming.bytes_b_single_1b_1b_t1_port:
      - b_single_1b_1b_t1_port
      - network.incoming.bytes
      disk.device.allocation_b_single_1b:
      - b_single_1b
      - disk.device.allocation
      network.outgoing.packets.rate_b_single_1b_1b_t2_port:
      - b_single_1b_1b_t2_port
      - network.outgoing.packets.rate
      disk.device.capacity_b_single_1b:
      - b_single_1b
      - disk.device.capacity
      disk.latency_b_single_1b:
      - b_single_1b
      - disk.latency
      network.incoming.packets_b_single_1b_1b_t2_port:
      - b_single_1b_1b_t2_port
      - network.incoming.packets
      network.incoming.packets.rate_b_single_1b_1b_t1_port:
      - b_single_1b_1b_t1_port
      - network.incoming.packets.rate
      attachment_b_single_1b_1b_t1_port:
      - b_single_1b_1b_t1_port
      - attachment
      disk.device.write.requests_b_single_1b:
      - b_single_1b
      - disk.device.write.requests
      binding_b_single_1b_1b_t2_port:
      - b_single_1b_1b_t2_port
      - binding
      disk.ephemeral.size_b_single_1b:
      - b_single_1b
      - disk.ephemeral.size
      disk.write.requests.rate_b_single_1b:
      - b_single_1b
      - disk.write.requests.rate
      network.outpoing.packets_b_single_1b_1b_t2_port:
      - b_single_1b_1b_t2_port
      - network.outpoing.packets
      disk.device.iops_b_single_1b:
      - b_single_1b
      - disk.device.iops
      disk.read.requests_b_single_1b:
      - b_single_1b
      - disk.read.requests
      memory.resident_b_single_1b:
      - b_single_1b
      - memory.resident
      disk.root.size_b_single_1b:
      - b_single_1b
      - disk.root.size
      feature_b_single_1b_1b_t1_port:
      - b_single_1b_1b_t1_port
      - feature
      network.outgoing.bytes_b_single_1b_1b_t2_port:
      - b_single_1b_1b_t2_port
      - network.outgoing.bytes
      disk.capacity_b_single_1b:
      - b_single_1b
      - disk.capacity
      disk.device.write.bytes_b_single_1b:
      - b_single_1b
      - disk.device.write.bytes
      disk.device.read.bytes_b_single_1b:
      - b_single_1b
      - disk.device.read.bytes
      disk.device.read.bytes.rate_b_single_1b:
      - b_single_1b
      - disk.device.read.bytes.rate
      cpu_util_b_single_1b:
      - b_single_1b
      - cpu_util
      disk.write.requests_b_single_1b:
      - b_single_1b
      - disk.write.requests
      network.outgoing.packets.rate_b_single_1b_1b_t1_port:
      - b_single_1b_1b_t1_port
      - network.outgoing.packets.rate
      disk.device.usage_b_single_1b:
      - b_single_1b
      - disk.device.usage
      disk.read.bytes.rate_b_single_1b:
      - b_single_1b
      - disk.read.bytes.rate
      network.outgoing.bytes_b_single_1b_1b_t1_port:
      - b_single_1b_1b_t1_port
      - network.outgoing.bytes
      disk.device.read.requests_b_single_1b:
      - b_single_1b
      - disk.device.read.requests
      network.incoming.packets_b_single_1b_1b_t1_port:
      - b_single_1b_1b_t1_port
      - network.incoming.packets
      binding_b_single_1b_1b_t1_port:
      - b_single_1b_1b_t1_port
      - binding
      network.outpoing.packets_b_single_1b_1b_t1_port:
      - b_single_1b_1b_t1_port
      - network.outpoing.packets
      disk.device.write.requests.rate_b_single_1b:
      - b_single_1b
      - disk.device.write.requests.rate
      memory.usage_b_single_1b:
      - b_single_1b
      - memory.usage
      disk.write.bytes.rate_b_single_1b:
      - b_single_1b
      - disk.write.bytes.rate
      network.incoming.bytes_b_single_1b_1b_t2_port:
      - b_single_1b_1b_t2_port
      - network.incoming.bytes
      network.outgoing.bytes.rate_b_single_1b_1b_t1_port:
      - b_single_1b_1b_t1_port
      - network.outgoing.bytes.rate
      cpu.delta_b_single_1b:
      - b_single_1b
      - cpu.delta
      disk.allocation_b_single_1b:
      - b_single_1b
      - disk.allocation
      disk.device.write.bytes.rate_b_single_1b:
      - b_single_1b
      - disk.device.write.bytes.rate
      memory_b_single_1b:
      - b_single_1b
      - memory
      host_b_single_1b:
      - b_single_1b
      - host
      binding_b_single_1b:
      - b_single_1b
      - binding
      feature_b_single_1b_1b_t2_port:
      - b_single_1b_1b_t2_port
      - feature
    requirements:
      local_storage_b_single_1b:
      - b_single_1b
      - local_storage
      dependency_b_single_1b_1b_t1_port:
      - b_single_1b_1b_t1_port
      - dependency
      dependency_b_single_1b:
      - b_single_1b
      - dependency
      link_b_single_1b_1b_t2_port:
      - b_single_1b_1b_t2_port
      - link
      link_b_single_1b_1b_t1_port:
      - b_single_1b_1b_t1_port
      - link
      dependency_b_single_1b_1b_t2_port:
      - b_single_1b_1b_t2_port
      - dependency