blob: e3896b2be60e8ff8b67d6d54b916c75391f0e8df (
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
654
655
656
657
658
659
660
661
662
663
664
665
666
667
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
template_name: FEAdd_On_Module_vLBTemplate
imports:
- openecomp_heat_index:
file: openecomp-heat/_index.yml
- GlobalSubstitutionTypes:
file: GlobalSubstitutionTypesServiceTemplate.yaml
node_types:
org.openecomp.resource.vfc.nodes.heat.vLB:
derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
topology_template:
inputs:
vf_module_id:
hidden: false
immutable: false
type: string
packet_mirror_network:
hidden: false
immutable: false
type: string
oam_private_net_name:
hidden: false
immutable: false
type: string
vProbe_cluster_name:
hidden: false
immutable: false
type: string
vLB_version_name:
hidden: false
immutable: false
type: string
vf_module_name:
hidden: false
immutable: false
type: string
vLB_node_count:
hidden: false
immutable: false
type: float
domain_name:
hidden: false
immutable: false
type: string
ntp_timezone:
hidden: false
immutable: false
type: string
packet_internal_network:
hidden: false
immutable: false
type: string
vnf_id:
hidden: false
immutable: false
type: string
vLB_type:
hidden: false
immutable: false
type: string
availability_zone_0:
hidden: false
immutable: false
type: string
region_name:
hidden: false
immutable: false
type: string
manager_name_0:
hidden: false
immutable: false
type: string
vLB_cluster_name:
hidden: false
immutable: false
type: string
tenant_name:
hidden: false
immutable: false
type: string
vLB_names:
hidden: false
immutable: false
type: list
entry_schema:
type: string
vLB_index:
hidden: false
immutable: false
type: float
security_group:
hidden: false
immutable: false
type: string
vLB_volume_name_2:
hidden: false
immutable: false
type: string
vLB_volume_name_0:
hidden: false
immutable: false
type: string
vLB_volume_type_1:
hidden: false
immutable: false
type: string
vLB_flavor_name:
hidden: false
immutable: false
type: string
vLB_volume_name_1:
hidden: false
immutable: false
type: string
vLB_volume_type_2:
hidden: false
immutable: false
type: string
vLB_volume_type_0:
hidden: false
immutable: false
type: string
vLB_volume_size_1:
hidden: false
immutable: false
type: float
vlb_image_name:
hidden: false
immutable: false
type: string
vLB_volume_size_0:
hidden: false
immutable: false
type: float
manager_oam_direct_ip_0:
hidden: false
immutable: false
type: string
rpmrepository_ip_0:
hidden: false
immutable: false
type: string
vLB_volume_size_2:
hidden: false
immutable: false
type: float
node_templates:
packet_internal_network_port_2:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- ip_version: 4
ip_count_required:
is_required: false
floating_ip_count_required:
is_required: false
security_groups:
- get_input: security_group
mac_requirements:
mac_count_required:
is_required: false
network:
get_input: packet_internal_network
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
node: vLBInstance
relationship: tosca.relationships.network.BindsTo
oam_private_net_network_port_2:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- ip_version: 4
ip_count_required:
is_required: false
floating_ip_count_required:
is_required: false
security_groups:
- get_input: security_group
mac_requirements:
mac_count_required:
is_required: false
network_role_tag: oam_private
network:
get_input: oam_private_net_name
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
node: vLBInstance
relationship: tosca.relationships.network.BindsTo
packet_mirror_network_port:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- ip_version: 4
ip_count_required:
is_required: false
floating_ip_count_required:
is_required: false
security_groups:
- get_input: security_group
mac_requirements:
mac_count_required:
is_required: false
network:
get_input: packet_mirror_network
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
node: vLBInstance
relationship: tosca.relationships.network.BindsTo
vLB_volume_1:
type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
properties:
volume_type:
get_input: vLB_volume_type_1
size: '(get_input : vLB_volume_size_1) * 1024'
vLB_volume_0:
type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
properties:
volume_type:
get_input: vLB_volume_type_0
size: '(get_input : vLB_volume_size_0) * 1024'
vLB_volume_2:
type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
properties:
volume_type:
get_input: vLB_volume_type_2
size: '(get_input : vLB_volume_size_2) * 1024'
vLBInstance:
type: org.openecomp.resource.vfc.nodes.heat.vLB
properties:
flavor:
get_input: vLB_flavor_name
availability_zone:
get_input: availability_zone_0
image:
get_input: vlb_image_name
metadata:
vf_module_id:
get_input: vf_module_id
packet_mirror_network_cidr:
get_attribute:
- packet_mirror_network_port
- subnets
- 0
- cidr
packet_internal_network_ip_0:
- UNSUPPORTED_ATTRIBUTE_packet_internal_network_port_2.fixed_ip_0s
version_number:
get_input: vLB_version_name
machine_name:
get_input:
- vLB_names
- get_input: vLB_index
vf_module_name:
get_input: vf_module_name
ntp_timezone:
get_input: ntp_timezone
vnf_id:
get_input: vnf_id
mount_colon__slash_log: vLB_volume_1
mount_colon__slash_config: vLB_volume_2
oam_private_network_cidr:
get_attribute:
- oam_private_net_network_port_2
- subnets
- 0
- cidr
tenant:
get_input: tenant_name
machine_type: vLB
cluster_name:
get_input: vLB_cluster_name
repo_ip_0:
get_input: rpmrepository_ip_0
mount_colon__slash_data: vLB_volume_0
vLBAgentInstance:
get_input: vLB_index
vLBAgent_id:
- UNSUPPORTED_RESOURCE_vLB_id
vLBAgent_version_name:
get_input: vLB_version_name
packet_internal_network_cidr:
get_attribute:
- packet_internal_network_port_2
- subnets
- 0
- cidr
vLBAgent_type:
get_input: vLB_type
DPDK: DPDK_IP
oam_private_network_ip_0:
- UNSUPPORTED_ATTRIBUTE_oam_private_net_network_port_2.fixed_ip_0s
packet_mirror_network_ip_0:
- UNSUPPORTED_ATTRIBUTE_packet_mirror_network_port.fixed_ip_0s
vLBAgent_name:
get_input:
- vLB_names
- get_input: vLB_index
region:
get_input: region_name
manager_oam_direct_ip_0:
get_input: manager_oam_direct_ip_0
config_drive: true
personality:
/root/RegisterStatus/register_status.py:
get_artifact:
- SELF
- register_status
/root/CheckAvailability/check_availability.py:
get_artifact:
- SELF
- check_availability
/tmp/wait_for_resources.py:
get_artifact:
- SELF
- wait_for_resources
/root/call_home.py:
get_artifact:
- SELF
- call_home
/root/dependencies.json:
get_artifact:
- SELF
- vlbdependencies
user_data_format: RAW
name:
get_input:
- vLB_names
- get_input: vLB_index
requirements:
- local_storage:
capability: tosca.capabilities.Attachment
node: vLB_volume_0
relationship: vLB_volume_0_att
- local_storage:
capability: tosca.capabilities.Attachment
node: vLB_volume_1
relationship: vLB_volume_1_att
- local_storage:
capability: tosca.capabilities.Attachment
node: vLB_volume_2
relationship: vLB_volume_2_att
artifacts:
call_home:
type: tosca.artifacts.Deployment
file: ../Artifacts/call_home.py
check_availability:
type: tosca.artifacts.Deployment
file: ../Artifacts/check_availability.py
vlbdependencies:
type: tosca.artifacts.Deployment
file: ../Artifacts/vlbdependencies.json
wait_for_resources:
type: tosca.artifacts.Deployment
file: ../Artifacts/wait_for_resources.py
register_status:
type: tosca.artifacts.Deployment
file: ../Artifacts/register_status.py
relationship_templates:
vLB_volume_2_att:
type: org.openecomp.relationships.VolumeAttachesTo
properties:
volume_id: vLB_volume_2
instance_uuid: vLBInstance
vLB_volume_1_att:
type: org.openecomp.relationships.VolumeAttachesTo
properties:
volume_id: vLB_volume_1
instance_uuid: vLBInstance
vLB_volume_0_att:
type: org.openecomp.relationships.VolumeAttachesTo
properties:
volume_id: vLB_volume_0
instance_uuid: vLBInstance
groups:
FEAdd_On_Module_vLBTemplate_group:
type: org.openecomp.groups.heat.HeatStack
properties:
heat_file: ../Artifacts/FEAdd_On_Module_vLBTemplate.yaml
members:
- packet_internal_network_port_2
- oam_private_net_network_port_2
- packet_mirror_network_port
- vLB_volume_1
- vLB_volume_0
- vLB_volume_2
- vLBInstance
substitution_mappings:
node_type: org.openecomp.resource.abstract.nodes.heat.FEAdd_On_Module_vLBTemplate
capabilities:
disk.iops_vLBInstance:
- vLBInstance
- disk.iops
network.incoming.packets_packet_internal_network_port_2:
- packet_internal_network_port_2
- network.incoming.packets
network.outgoing.bytes.rate_oam_private_net_network_port_2:
- oam_private_net_network_port_2
- network.outgoing.bytes.rate
feature_vLBInstance:
- vLBInstance
- feature
vcpus_vLBInstance:
- vLBInstance
- vcpus
os_vLBInstance:
- vLBInstance
- os
network.outgoing.bytes.rate_packet_internal_network_port_2:
- packet_internal_network_port_2
- network.outgoing.bytes.rate
network.incoming.packets_oam_private_net_network_port_2:
- oam_private_net_network_port_2
- network.incoming.packets
disk.device.write.bytes.rate_vLBInstance:
- vLBInstance
- disk.device.write.bytes.rate
network.outgoing.bytes_packet_mirror_network_port:
- packet_mirror_network_port
- network.outgoing.bytes
network.incoming.bytes.rate_oam_private_net_network_port_2:
- oam_private_net_network_port_2
- network.incoming.bytes.rate
disk.write.bytes.rate_vLBInstance:
- vLBInstance
- disk.write.bytes.rate
feature_oam_private_net_network_port_2:
- oam_private_net_network_port_2
- feature
network.outgoing.bytes_packet_internal_network_port_2:
- packet_internal_network_port_2
- network.outgoing.bytes
network.incoming.packets.rate_packet_internal_network_port_2:
- packet_internal_network_port_2
- network.incoming.packets.rate
memory.usage_vLBInstance:
- vLBInstance
- memory.usage
host_vLBInstance:
- vLBInstance
- host
network.outgoing.bytes.rate_packet_mirror_network_port:
- packet_mirror_network_port
- network.outgoing.bytes.rate
network.outpoing.packets_packet_internal_network_port_2:
- packet_internal_network_port_2
- network.outpoing.packets
disk.device.capacity_vLBInstance:
- vLBInstance
- disk.device.capacity
network.outpoing.packets_oam_private_net_network_port_2:
- oam_private_net_network_port_2
- network.outpoing.packets
network.incoming.packets.rate_oam_private_net_network_port_2:
- oam_private_net_network_port_2
- network.incoming.packets.rate
instance_vLBInstance:
- vLBInstance
- instance
binding_vLBInstance:
- vLBInstance
- binding
binding_oam_private_net_network_port_2:
- oam_private_net_network_port_2
- binding
disk.device.latency_vLBInstance:
- vLBInstance
- disk.device.latency
network.outpoing.packets_packet_mirror_network_port:
- packet_mirror_network_port
- network.outpoing.packets
binding_packet_internal_network_port_2:
- packet_internal_network_port_2
- binding
network.incoming.bytes_packet_mirror_network_port:
- packet_mirror_network_port
- network.incoming.bytes
network.incoming.packets_packet_mirror_network_port:
- packet_mirror_network_port
- network.incoming.packets
disk.device.read.requests.rate_vLBInstance:
- vLBInstance
- disk.device.read.requests.rate
network.incoming.packets.rate_packet_mirror_network_port:
- packet_mirror_network_port
- network.incoming.packets.rate
network.outgoing.packets.rate_packet_mirror_network_port:
- packet_mirror_network_port
- network.outgoing.packets.rate
memory_vLBInstance:
- vLBInstance
- memory
network.incoming.bytes.rate_packet_internal_network_port_2:
- packet_internal_network_port_2
- network.incoming.bytes.rate
cpu.delta_vLBInstance:
- vLBInstance
- cpu.delta
disk.write.bytes_vLBInstance:
- vLBInstance
- disk.write.bytes
disk.write.requests_vLBInstance:
- vLBInstance
- disk.write.requests
attachment_vLB_volume_2:
- vLB_volume_2
- attachment
disk.ephemeral.size_vLBInstance:
- vLBInstance
- disk.ephemeral.size
disk.device.iops_vLBInstance:
- vLBInstance
- disk.device.iops
disk.capacity_vLBInstance:
- vLBInstance
- disk.capacity
disk.device.read.bytes_vLBInstance:
- vLBInstance
- disk.device.read.bytes
attachment_packet_internal_network_port_2:
- packet_internal_network_port_2
- attachment
attachment_vLB_volume_0:
- vLB_volume_0
- attachment
network.outgoing.packets.rate_oam_private_net_network_port_2:
- oam_private_net_network_port_2
- network.outgoing.packets.rate
attachment_vLB_volume_1:
- vLB_volume_1
- attachment
disk.root.size_vLBInstance:
- vLBInstance
- disk.root.size
disk.allocation_vLBInstance:
- vLBInstance
- disk.allocation
memory.resident_vLBInstance:
- vLBInstance
- memory.resident
disk.write.requests.rate_vLBInstance:
- vLBInstance
- disk.write.requests.rate
disk.device.write.requests_vLBInstance:
- vLBInstance
- disk.device.write.requests
network.outgoing.packets.rate_packet_internal_network_port_2:
- packet_internal_network_port_2
- network.outgoing.packets.rate
attachment_oam_private_net_network_port_2:
- oam_private_net_network_port_2
- attachment
attachment_packet_mirror_network_port:
- packet_mirror_network_port
- attachment
disk.read.requests_vLBInstance:
- vLBInstance
- disk.read.requests
disk.device.read.requests_vLBInstance:
- vLBInstance
- disk.device.read.requests
disk.latency_vLBInstance:
- vLBInstance
- disk.latency
network.incoming.bytes_packet_internal_network_port_2:
- packet_internal_network_port_2
- network.incoming.bytes
feature_packet_mirror_network_port:
- packet_mirror_network_port
- feature
feature_packet_internal_network_port_2:
- packet_internal_network_port_2
- feature
binding_packet_mirror_network_port:
- packet_mirror_network_port
- binding
network.outgoing.bytes_oam_private_net_network_port_2:
- oam_private_net_network_port_2
- network.outgoing.bytes
network.incoming.bytes_oam_private_net_network_port_2:
- oam_private_net_network_port_2
- network.incoming.bytes
network.incoming.bytes.rate_packet_mirror_network_port:
- packet_mirror_network_port
- network.incoming.bytes.rate
disk.device.write.requests.rate_vLBInstance:
- vLBInstance
- disk.device.write.requests.rate
disk.read.bytes_vLBInstance:
- vLBInstance
- disk.read.bytes
scalable_vLBInstance:
- vLBInstance
- scalable
disk.device.read.bytes.rate_vLBInstance:
- vLBInstance
- disk.device.read.bytes.rate
disk.read.bytes.rate_vLBInstance:
- vLBInstance
- disk.read.bytes.rate
disk.device.write.bytes_vLBInstance:
- vLBInstance
- disk.device.write.bytes
feature_vLB_volume_1:
- vLB_volume_1
- feature
cpu_vLBInstance:
- vLBInstance
- cpu
feature_vLB_volume_2:
- vLB_volume_2
- feature
endpoint_vLBInstance:
- vLBInstance
- endpoint
disk.device.allocation_vLBInstance:
- vLBInstance
- disk.device.allocation
disk.device.usage_vLBInstance:
- vLBInstance
- disk.device.usage
feature_vLB_volume_0:
- vLB_volume_0
- feature
disk.usage_vLBInstance:
- vLBInstance
- disk.usage
cpu_util_vLBInstance:
- vLBInstance
- cpu_util
requirements:
dependency_vLB_volume_0:
- vLB_volume_0
- dependency
dependency_vLB_volume_1:
- vLB_volume_1
- dependency
local_storage_vLBInstance:
- vLBInstance
- local_storage
dependency_oam_private_net_network_port_2:
- oam_private_net_network_port_2
- dependency
dependency_vLB_volume_2:
- vLB_volume_2
- dependency
link_oam_private_net_network_port_2:
- oam_private_net_network_port_2
- link
dependency_packet_internal_network_port_2:
- packet_internal_network_port_2
- dependency
dependency_packet_mirror_network_port:
- packet_mirror_network_port
- dependency
dependency_vLBInstance:
- vLBInstance
- dependency
link_packet_mirror_network_port:
- packet_mirror_network_port
- link
link_packet_internal_network_port_2:
- packet_internal_network_port_2
- link
|