aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_ioxServiceTemplate.yaml
blob: 5776405b4f84c4df3775b0be74d60ab758e3b77e (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
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  template_name: Nested_iox
imports:
- openecomp_heat_index:
    file: openecomp-heat/_index.yml
- GlobalSubstitutionTypes:
    file: GlobalSubstitutionTypesServiceTemplate.yaml
node_types:
  org.openecomp.resource.vfc.compute.nodes.heat.iox:
    derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
topology_template:
  inputs:
    port_iox_data_0_port_ip_requirements:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.network.IpRequirements
    port_iox_oam_0_port_exCP_naming:
      type: org.openecomp.datatypes.Naming
      required: true
    port_iox_internal_0_port_network:
      type: list
      required: true
      entry_schema:
        type: string
    port_iox_data_0_port_name:
      type: list
      required: true
      entry_schema:
        type: string
    vm_flavor_name:
      type: string
      required: true
    port_iox_data_0_port_subnetpoolid:
      type: string
      required: true
    port_iox_data_0_port_allowed_address_pairs:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.heat.network.AddressPair
    port_iox_internal_0_port_ip_requirements:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.network.IpRequirements
    vm_image_name:
      type: string
      required: true
    port_iox_oam_0_port_name:
      type: list
      required: true
      entry_schema:
        type: string
    port_iox_oam_0_port_network_role_tag:
      type: string
      required: true
    port_iox_oam_0_port_subnetpoolid:
      type: string
      required: true
    compute_iox_user_data_format:
      type: list
      required: true
      entry_schema:
        type: string
    port_iox_data_0_port_fixed_ips:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.heat.neutron.port.FixedIps
    port_iox_internal_0_port_allowed_address_pairs:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.heat.network.AddressPair
    compute_iox_config_drive:
      type: list
      required: true
      entry_schema:
        type: boolean
    port_iox_internal_0_port_order:
      type: integer
      required: true
    port_iox_oam_0_port_replacement_policy:
      type: list
      required: true
      entry_schema:
        type: string
    port_iox_data_0_port_security_groups:
      type: list
      required: true
      entry_schema:
        type: json
    port_iox_internal_0_port_vlan_requirements:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.network.VlanRequirements
    compute_iox_image_update_policy:
      type: list
      required: true
      entry_schema:
        type: string
    port_iox_oam_0_port_order:
      type: integer
      required: true
    port_iox_oam_0_port_network:
      type: list
      required: true
      entry_schema:
        type: string
    port_iox_internal_0_port_security_groups:
      type: list
      required: true
      entry_schema:
        type: json
    port_iox_oam_0_port_vlan_requirements:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.network.VlanRequirements
    port_iox_data_0_port_order:
      type: integer
      required: true
    port_iox_internal_0_port_name:
      type: list
      required: true
      entry_schema:
        type: string
    port_iox_oam_0_port_fixed_ips:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.heat.neutron.port.FixedIps
    port_iox_data_0_port_vlan_requirements:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.network.VlanRequirements
    compute_iox_name:
      type: list
      required: true
      entry_schema:
        type: string
    port_iox_data_0_port_network:
      type: list
      required: true
      entry_schema:
        type: string
    port_iox_internal_0_port_replacement_policy:
      type: list
      required: true
      entry_schema:
        type: string
    port_iox_internal_0_port_mac_requirements:
      type: org.openecomp.datatypes.network.MacRequirements
      required: true
    port_iox_data_0_port_mac_requirements:
      type: org.openecomp.datatypes.network.MacRequirements
      required: true
    port_iox_data_0_port_exCP_naming:
      type: org.openecomp.datatypes.Naming
      required: true
    port_iox_oam_0_port_network_role:
      type: string
      required: true
    port_iox_internal_0_port_network_role:
      type: string
      required: true
    port_iox_data_0_port_network_role:
      type: string
      required: true
    port_iox_data_0_port_replacement_policy:
      type: list
      required: true
      entry_schema:
        type: string
    compute_iox_metadata:
      type: list
      required: true
      entry_schema:
        type: json
    index_value:
      type: integer
      description: Index value of this substitution service template runtime instance
      required: false
      default: 0
      constraints:
      - greater_or_equal: 0
    port_iox_internal_0_port_network_role_tag:
      type: string
      required: true
    port_iox_oam_0_port_allowed_address_pairs:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.heat.network.AddressPair
    port_iox_internal_0_port_subnetpoolid:
      type: string
      required: true
    compute_iox_availability_zone:
      type: list
      required: true
      entry_schema:
        type: string
    port_iox_oam_0_port_security_groups:
      type: list
      required: true
      entry_schema:
        type: json
    port_iox_oam_0_port_mac_requirements:
      type: org.openecomp.datatypes.network.MacRequirements
      required: true
    port_iox_oam_0_port_ip_requirements:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.network.IpRequirements
    port_iox_internal_0_port_exCP_naming:
      type: org.openecomp.datatypes.Naming
      required: true
    port_iox_data_0_port_network_role_tag:
      type: string
      required: true
  node_templates:
    iox_iox_data_0_port:
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        replacement_policy:
          get_input:
          - port_iox_data_0_port_replacement_policy
          - index_value
        mac_requirements:
          get_input: port_iox_data_0_port_mac_requirements
        allowed_address_pairs:
          get_input: port_iox_data_0_port_allowed_address_pairs
        order:
          get_input: port_iox_data_0_port_order
        security_groups:
          get_input:
          - port_iox_data_0_port_security_groups
          - index_value
        exCP_naming:
          get_input: port_iox_data_0_port_exCP_naming
        vlan_requirements:
          get_input: port_iox_data_0_port_vlan_requirements
        subinterface_indicator: false
        ip_requirements:
          get_input: port_iox_data_0_port_ip_requirements
        network_role_tag:
          get_input: port_iox_data_0_port_network_role_tag
        network_role:
          get_input: port_iox_data_0_port_network_role
        subnetpoolid:
          get_input: port_iox_data_0_port_subnetpoolid
        fixed_ips:
          get_input:
          - port_iox_data_0_port_fixed_ips
          - index_value
        name:
          get_input:
          - port_iox_data_0_port_name
          - index_value
        network:
          get_input:
          - port_iox_data_0_port_network
          - index_value
      requirements:
      - binding:
          capability: tosca.capabilities.network.Bindable
          node: iox
          relationship: tosca.relationships.network.BindsTo
    iox:
      type: org.openecomp.resource.vfc.compute.nodes.heat.iox
      properties:
        availability_zone:
          get_input:
          - compute_iox_availability_zone
          - index_value
        flavor:
          get_input: vm_flavor_name
        metadata:
          get_input:
          - compute_iox_metadata
          - index_value
        config_drive:
          get_input:
          - compute_iox_config_drive
          - index_value
        image:
          get_input: vm_image_name
        name:
          get_input:
          - compute_iox_name
          - index_value
        image_update_policy:
          get_input:
          - compute_iox_image_update_policy
          - index_value
        user_data_format:
          get_input:
          - compute_iox_user_data_format
          - index_value
    iox_iox_oam_0_port:
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        replacement_policy:
          get_input:
          - port_iox_oam_0_port_replacement_policy
          - index_value
        mac_requirements:
          get_input: port_iox_oam_0_port_mac_requirements
        allowed_address_pairs:
          get_input: port_iox_oam_0_port_allowed_address_pairs
        order:
          get_input: port_iox_oam_0_port_order
        security_groups:
          get_input:
          - port_iox_oam_0_port_security_groups
          - index_value
        exCP_naming:
          get_input: port_iox_oam_0_port_exCP_naming
        vlan_requirements:
          get_input: port_iox_oam_0_port_vlan_requirements
        subinterface_indicator: false
        ip_requirements:
          get_input: port_iox_oam_0_port_ip_requirements
        network_role_tag:
          get_input: port_iox_oam_0_port_network_role_tag
        network_role:
          get_input: port_iox_oam_0_port_network_role
        subnetpoolid:
          get_input: port_iox_oam_0_port_subnetpoolid
        fixed_ips:
          get_input:
          - port_iox_oam_0_port_fixed_ips
          - index_value
        name:
          get_input:
          - port_iox_oam_0_port_name
          - index_value
        network:
          get_input:
          - port_iox_oam_0_port_network
          - index_value
      requirements:
      - binding:
          capability: tosca.capabilities.network.Bindable
          node: iox
          relationship: tosca.relationships.network.BindsTo
    iox_iox_internal_0_port:
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        replacement_policy:
          get_input:
          - port_iox_internal_0_port_replacement_policy
          - index_value
        mac_requirements:
          get_input: port_iox_internal_0_port_mac_requirements
        allowed_address_pairs:
          get_input: port_iox_internal_0_port_allowed_address_pairs
        order:
          get_input: port_iox_internal_0_port_order
        security_groups:
          get_input:
          - port_iox_internal_0_port_security_groups
          - index_value
        exCP_naming:
          get_input: port_iox_internal_0_port_exCP_naming
        vlan_requirements:
          get_input: port_iox_internal_0_port_vlan_requirements
        subinterface_indicator: false
        ip_requirements:
          get_input: port_iox_internal_0_port_ip_requirements
        network_role_tag:
          get_input: port_iox_internal_0_port_network_role_tag
        network_role:
          get_input: port_iox_internal_0_port_network_role
        subnetpoolid:
          get_input: port_iox_internal_0_port_subnetpoolid
        name:
          get_input:
          - port_iox_internal_0_port_name
          - index_value
        network:
          get_input:
          - port_iox_internal_0_port_network
          - index_value
      requirements:
      - binding:
          capability: tosca.capabilities.network.Bindable
          node: iox
          relationship: tosca.relationships.network.BindsTo
  substitution_mappings:
    node_type: org.openecomp.resource.abstract.nodes.iox
    capabilities:
      forwarder_iox_iox_oam_0_port:
      - iox_iox_oam_0_port
      - forwarder
      cpu.delta_iox:
      - iox
      - cpu.delta
      disk.device.latency_iox:
      - iox
      - disk.device.latency
      memory_iox:
      - iox
      - memory
      network.outgoing.packets.rate_iox_iox_data_0_port:
      - iox_iox_data_0_port
      - network.outgoing.packets.rate
      disk.device.read.bytes_iox:
      - iox
      - disk.device.read.bytes
      disk.read.requests_iox:
      - iox
      - disk.read.requests
      disk.write.requests_iox:
      - iox
      - disk.write.requests
      network.incoming.bytes_iox_iox_oam_0_port:
      - iox_iox_oam_0_port
      - network.incoming.bytes
      network.incoming.packets.rate_iox_iox_internal_0_port:
      - iox_iox_internal_0_port
      - network.incoming.packets.rate
      disk.device.read.requests.rate_iox:
      - iox
      - disk.device.read.requests.rate
      disk.device.write.requests.rate_iox:
      - iox
      - disk.device.write.requests.rate
      disk.capacity_iox:
      - iox
      - disk.capacity
      disk.write.bytes_iox:
      - iox
      - disk.write.bytes
      disk.device.write.requests_iox:
      - iox
      - disk.device.write.requests
      disk.device.allocation_iox:
      - iox
      - disk.device.allocation
      feature_iox_iox_data_0_port:
      - iox_iox_data_0_port
      - feature
      disk.root.size_iox:
      - iox
      - disk.root.size
      vcpus_iox:
      - iox
      - vcpus
      disk.device.iops_iox:
      - iox
      - disk.device.iops
      network.outgoing.bytes.rate_iox_iox_data_0_port:
      - iox_iox_data_0_port
      - network.outgoing.bytes.rate
      disk.read.bytes.rate_iox:
      - iox
      - disk.read.bytes.rate
      network.outgoing.bytes_iox_iox_oam_0_port:
      - iox_iox_oam_0_port
      - network.outgoing.bytes
      attachment_iox_iox_data_0_port:
      - iox_iox_data_0_port
      - attachment
      network.incoming.packets.rate_iox_iox_oam_0_port:
      - iox_iox_oam_0_port
      - network.incoming.packets.rate
      disk.latency_iox:
      - iox
      - disk.latency
      network.incoming.packets.rate_iox_iox_data_0_port:
      - iox_iox_data_0_port
      - network.incoming.packets.rate
      network.incoming.bytes_iox_iox_internal_0_port:
      - iox_iox_internal_0_port
      - network.incoming.bytes
      cpu_util_iox:
      - iox
      - cpu_util
      binding_iox_iox_oam_0_port:
      - iox_iox_oam_0_port
      - binding
      network.incoming.bytes_iox_iox_data_0_port:
      - iox_iox_data_0_port
      - network.incoming.bytes
      disk.device.capacity_iox:
      - iox
      - disk.device.capacity
      disk.iops_iox:
      - iox
      - disk.iops
      network.outpoing.packets_iox_iox_internal_0_port:
      - iox_iox_internal_0_port
      - network.outpoing.packets
      endpoint_iox:
      - iox
      - endpoint
      binding_iox_iox_internal_0_port:
      - iox_iox_internal_0_port
      - binding
      disk.device.read.requests_iox:
      - iox
      - disk.device.read.requests
      memory.usage_iox:
      - iox
      - memory.usage
      attachment_iox_iox_internal_0_port:
      - iox_iox_internal_0_port
      - attachment
      network.outgoing.bytes_iox_iox_internal_0_port:
      - iox_iox_internal_0_port
      - network.outgoing.bytes
      cpu_iox:
      - iox
      - cpu
      feature_iox_iox_oam_0_port:
      - iox_iox_oam_0_port
      - feature
      disk.usage_iox:
      - iox
      - disk.usage
      scalable_iox:
      - iox
      - scalable
      feature_iox:
      - iox
      - feature
      memory.resident_iox:
      - iox
      - memory.resident
      disk.device.write.bytes_iox:
      - iox
      - disk.device.write.bytes
      network.outgoing.packets.rate_iox_iox_internal_0_port:
      - iox_iox_internal_0_port
      - network.outgoing.packets.rate
      binding_iox_iox_data_0_port:
      - iox_iox_data_0_port
      - binding
      network.outgoing.bytes.rate_iox_iox_oam_0_port:
      - iox_iox_oam_0_port
      - network.outgoing.bytes.rate
      network.incoming.bytes.rate_iox_iox_internal_0_port:
      - iox_iox_internal_0_port
      - network.incoming.bytes.rate
      network.incoming.bytes.rate_iox_iox_oam_0_port:
      - iox_iox_oam_0_port
      - network.incoming.bytes.rate
      disk.allocation_iox:
      - iox
      - disk.allocation
      network.outgoing.packets.rate_iox_iox_oam_0_port:
      - iox_iox_oam_0_port
      - network.outgoing.packets.rate
      binding_iox:
      - iox
      - binding
      os_iox:
      - iox
      - os
      host_iox:
      - iox
      - host
      disk.write.requests.rate_iox:
      - iox
      - disk.write.requests.rate
      disk.write.bytes.rate_iox:
      - iox
      - disk.write.bytes.rate
      disk.read.bytes_iox:
      - iox
      - disk.read.bytes
      network.incoming.packets_iox_iox_oam_0_port:
      - iox_iox_oam_0_port
      - network.incoming.packets
      instance_iox:
      - iox
      - instance
      disk.ephemeral.size_iox:
      - iox
      - disk.ephemeral.size
      network.outpoing.packets_iox_iox_data_0_port:
      - iox_iox_data_0_port
      - network.outpoing.packets
      attachment_iox_iox_oam_0_port:
      - iox_iox_oam_0_port
      - attachment
      feature_iox_iox_internal_0_port:
      - iox_iox_internal_0_port
      - feature
      network.incoming.packets_iox_iox_internal_0_port:
      - iox_iox_internal_0_port
      - network.incoming.packets
      network.outpoing.packets_iox_iox_oam_0_port:
      - iox_iox_oam_0_port
      - network.outpoing.packets
      forwarder_iox_iox_data_0_port:
      - iox_iox_data_0_port
      - forwarder
      disk.device.read.bytes.rate_iox:
      - iox
      - disk.device.read.bytes.rate
      network.incoming.bytes.rate_iox_iox_data_0_port:
      - iox_iox_data_0_port
      - network.incoming.bytes.rate
      network.incoming.packets_iox_iox_data_0_port:
      - iox_iox_data_0_port
      - network.incoming.packets
      disk.device.write.bytes.rate_iox:
      - iox
      - disk.device.write.bytes.rate
      network.outgoing.bytes.rate_iox_iox_internal_0_port:
      - iox_iox_internal_0_port
      - network.outgoing.bytes.rate
      forwarder_iox_iox_internal_0_port:
      - iox_iox_internal_0_port
      - forwarder
      disk.device.usage_iox:
      - iox
      - disk.device.usage
      network.outgoing.bytes_iox_iox_data_0_port:
      - iox_iox_data_0_port
      - network.outgoing.bytes
    requirements:
      dependency_iox_iox_internal_0_port:
      - iox_iox_internal_0_port
      - dependency
      link_iox_iox_oam_0_port:
      - iox_iox_oam_0_port
      - link
      dependency_iox:
      - iox
      - dependency
      dependency_iox_iox_data_0_port:
      - iox_iox_data_0_port
      - dependency
      link_iox_iox_data_0_port:
      - iox_iox_data_0_port
      - link
      link_iox_iox_internal_0_port:
      - iox_iox_internal_0_port
      - link
      local_storage_iox:
      - iox
      - local_storage
      dependency_iox_iox_oam_0_port:
      - iox_iox_oam_0_port
      - dependency