blob: ac6f6704eea31e4ff6ecee54fdc66a078e54dea5 (
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
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
template_name: nested-pcm_v0.1
imports:
- openecomp_heat_index:
file: openecomp-heat/_index.yml
- GlobalSubstitutionTypes:
file: GlobalSubstitutionTypesServiceTemplate.yaml
- openecomp_index:
file: openecomp/_index.yml
node_types:
org.openecomp.resource.vfc.nodes.heat.pcm_server:
derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
topology_template:
inputs:
port_pcm_1port_0_ip_requirements:
type: list
required: true
entry_schema:
type: org.openecomp.datatypes.network.IpRequirements
availabilityzone_name:
label: availabilityzone name
hidden: false
immutable: false
type: string
description: availabilityzone name
port_pcm_1port_0_network_role_tag:
type: string
required: true
pcm_image_name:
label: image name
hidden: false
immutable: false
type: string
description: PCRF CM image name
port_pcm_2port_2_order:
type: integer
required: true
port_pcm_1port_0_subnetpoolid:
type: string
required: true
port_pcm_1port_0_order:
type: integer
required: true
port_pcm_2port_2_exCP_naming:
type: org.openecomp.datatypes.Naming
required: true
port_pcm_2port_2_subnetpoolid:
type: string
required: true
port_pcm_2port_2_vlan_requirements:
type: list
required: true
entry_schema:
type: org.openecomp.datatypes.network.VlanRequirements
port_pcm_2port_1_subnetpoolid:
type: string
required: true
port_pcm_2port_1_mac_requirements:
type: org.openecomp.datatypes.network.MacRequirements
required: true
port_pcm_1port_0_vlan_requirements:
type: list
required: true
entry_schema:
type: org.openecomp.datatypes.network.VlanRequirements
port_pcm_1port_0_exCP_naming:
type: org.openecomp.datatypes.Naming
required: true
port_pcm_2port_2_ip_requirements:
type: list
required: true
entry_schema:
type: org.openecomp.datatypes.network.IpRequirements
pcm_server_name:
label: PCRF CM server name
hidden: false
immutable: false
type: string
description: PCRF CM server name
cps_net_mask:
label: CPS network mask
hidden: false
immutable: false
type: string
description: CPS network mask
port_pcm_2port_2_network_role:
type: string
required: true
oam_net_name:
label: OAM network name
hidden: false
immutable: false
type: string
description: OAM network name
port_pcm_2port_2_mac_requirements:
type: org.openecomp.datatypes.network.MacRequirements
required: true
port_pcm_1port_0_mac_requirements:
type: org.openecomp.datatypes.network.MacRequirements
required: true
port_pcm_2port_1_network_role:
type: string
required: true
oam_net_gw:
label: CPS network gateway
hidden: false
immutable: false
type: string
description: CPS network gateway
packet_internal_network_name:
label: packet internal network name
hidden: false
immutable: false
type: string
description: name of the network
port_pcm_1port_0_network_role:
type: string
required: true
port_pcm_2port_1_network_role_tag:
type: string
required: true
security_group_name:
label: security group name
hidden: false
immutable: false
type: string
description: the name of security group
cps_net_ip:
label: CPS network ip
hidden: false
immutable: false
type: string
description: CPS network ip
port_pcm_2port_1_ip_requirements:
type: list
required: true
entry_schema:
type: org.openecomp.datatypes.network.IpRequirements
pcm_flavor_name:
label: PCRF CM flavor name
hidden: false
immutable: false
type: string
description: flavor name of PCRF CM instance
port_pcm_2port_2_network_role_tag:
type: string
required: true
port_pcm_2port_1_exCP_naming:
type: org.openecomp.datatypes.Naming
required: true
pcm_vol:
label: CPS Cluman Cinder Volume
hidden: false
immutable: false
type: string
description: CPS Cluman Cinder Volume
cps_net_name:
label: CPS network name
hidden: false
immutable: false
type: string
description: CPS network name
oam_net_ip:
label: OAM network ip
hidden: false
immutable: false
type: string
description: OAM network ip
oam_net_mask:
label: CPS network mask
hidden: false
immutable: false
type: string
description: CPS network mask
port_pcm_2port_1_order:
type: integer
required: true
port_pcm_2port_1_vlan_requirements:
type: list
required: true
entry_schema:
type: org.openecomp.datatypes.network.VlanRequirements
node_templates:
server_pcm:
type: org.openecomp.resource.vfc.nodes.heat.pcm_server
properties:
flavor:
get_input: pcm_flavor_name
availability_zone:
get_input: availabilityzone_name
image:
get_input: pcm_image_name
config_drive: true
user_data_format: RAW
name:
get_input: pcm_server_name
packet_internal_network:
type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
properties:
network_name:
get_input: packet_internal_network_name
pcm_1port_0:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
get_input: port_pcm_1port_0_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
get_input: port_pcm_1port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
get_input: port_pcm_1port_0_subnetpoolid
mac_requirements:
get_input: port_pcm_1port_0_mac_requirements
exCP_naming:
get_input: port_pcm_1port_0_exCP_naming
vlan_requirements:
get_input: port_pcm_1port_0_vlan_requirements
network_role_tag:
get_input: port_pcm_1port_0_network_role_tag
network: packet_internal_network
order:
get_input: port_pcm_1port_0_order
requirements:
- link:
capability: tosca.capabilities.network.Linkable
node: packet_internal_network
relationship: tosca.relationships.network.LinksTo
- binding:
capability: tosca.capabilities.network.Bindable
node: server_pcm
relationship: tosca.relationships.network.BindsTo
pcm_3port_1:
type: org.openecomp.resource.cp.v2.extNeutronCP
properties:
ip_requirements:
- ip_version: 4
ip_count_required:
is_required: true
floating_ip_count_required:
is_required: false
security_groups:
- get_input: security_group_name
fixed_ips:
- ip_address:
get_input: oam_net_ip
mac_requirements:
mac_count_required:
is_required: false
network_role_tag: oam
network:
get_input: oam_net_name
capabilities:
- port_mirroring:
properties:
connection_point:
nf_type: ''
nfc_type: ''
network_role: ''
pps_capacity: ''
pcm_2port_2:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
get_input: port_pcm_2port_2_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
get_input: port_pcm_2port_2_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
get_input: port_pcm_2port_2_subnetpoolid
mac_requirements:
get_input: port_pcm_2port_2_mac_requirements
exCP_naming:
get_input: port_pcm_2port_2_exCP_naming
vlan_requirements:
get_input: port_pcm_2port_2_vlan_requirements
network_role_tag:
get_input: port_pcm_2port_2_network_role_tag
network: packet_internal_network
order:
get_input: port_pcm_2port_2_order
requirements:
- link:
capability: tosca.capabilities.network.Linkable
node: packet_internal_network
relationship: tosca.relationships.network.LinksTo
pcm_2port_1:
type: org.openecomp.resource.cp.v2.extNeutronCP
properties:
ip_requirements:
get_input: port_pcm_2port_1_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
get_input: port_pcm_2port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
get_input: port_pcm_2port_1_subnetpoolid
mac_requirements:
get_input: port_pcm_2port_1_mac_requirements
exCP_naming:
get_input: port_pcm_2port_1_exCP_naming
vlan_requirements:
get_input: port_pcm_2port_1_vlan_requirements
network_role_tag:
get_input: port_pcm_2port_1_network_role_tag
network:
get_input: oam_net_name
order:
get_input: port_pcm_2port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
node: server_pcm
relationship: tosca.relationships.network.BindsTo
capabilities:
- port_mirroring:
properties:
connection_point:
nf_type: ''
nfc_type: server_pcm
network_role:
get_input: port_pcm_2port_1_network_role
pps_capacity: ''
groups:
nested-pcm_v0.1_group:
type: org.openecomp.groups.heat.HeatStack
properties:
heat_file: ../Artifacts/nested-pcm_v0.1.yaml
description: heat template that creates PCRF Cluman stack
members:
- server_pcm
- packet_internal_network
- pcm_1port_0
- pcm_3port_1
- pcm_2port_2
- pcm_2port_1
outputs:
server_pcm_id:
description: the pcm nova service id
value: server_pcm
substitution_mappings:
node_type: org.openecomp.resource.abstract.nodes.heat.pcm_server
capabilities:
binding_pcm_2port_1:
- pcm_2port_1
- binding
binding_pcm_2port_2:
- pcm_2port_2
- binding
cpu_server_pcm:
- server_pcm
- cpu
attachment_pcm_2port_1:
- pcm_2port_1
- attachment
network.outgoing.bytes.rate_pcm_2port_1:
- pcm_2port_1
- network.outgoing.bytes.rate
attachment_pcm_2port_2:
- pcm_2port_2
- attachment
network.outgoing.bytes.rate_pcm_2port_2:
- pcm_2port_2
- network.outgoing.bytes.rate
memory_server_pcm:
- server_pcm
- memory
disk.write.requests_server_pcm:
- server_pcm
- disk.write.requests
network.outpoing.packets_pcm_2port_2:
- pcm_2port_2
- network.outpoing.packets
network.incoming.bytes_pcm_2port_2:
- pcm_2port_2
- network.incoming.bytes
network.incoming.bytes_pcm_2port_1:
- pcm_2port_1
- network.incoming.bytes
feature_pcm_1port_0:
- pcm_1port_0
- feature
network.incoming.packets.rate_pcm_2port_1:
- pcm_2port_1
- network.incoming.packets.rate
network.outpoing.packets_pcm_2port_1:
- pcm_2port_1
- network.outpoing.packets
network.incoming.packets.rate_pcm_2port_2:
- pcm_2port_2
- network.incoming.packets.rate
disk.device.iops_server_pcm:
- server_pcm
- disk.device.iops
memory.resident_server_pcm:
- server_pcm
- memory.resident
end_point_packet_internal_network:
- packet_internal_network
- end_point
disk.device.write.requests_server_pcm:
- server_pcm
- disk.device.write.requests
feature_packet_internal_network:
- packet_internal_network
- feature
network.outgoing.packets.rate_pcm_2port_1:
- pcm_2port_1
- network.outgoing.packets.rate
network.outgoing.packets.rate_pcm_2port_2:
- pcm_2port_2
- network.outgoing.packets.rate
disk.device.usage_server_pcm:
- server_pcm
- disk.device.usage
disk.allocation_server_pcm:
- server_pcm
- disk.allocation
network.incoming.packets_pcm_2port_1:
- pcm_2port_1
- network.incoming.packets
network.incoming.packets_pcm_2port_2:
- pcm_2port_2
- network.incoming.packets
network.incoming.bytes.rate_pcm_3port_1:
- pcm_3port_1
- network.incoming.bytes.rate
network.incoming.packets.rate_pcm_3port_1:
- pcm_3port_1
- network.incoming.packets.rate
attachment_packet_internal_network:
- packet_internal_network
- attachment
network.outpoing.packets_pcm_1port_0:
- pcm_1port_0
- network.outpoing.packets
disk.usage_server_pcm:
- server_pcm
- disk.usage
disk.device.write.bytes_server_pcm:
- server_pcm
- disk.device.write.bytes
disk.root.size_server_pcm:
- server_pcm
- disk.root.size
disk.ephemeral.size_server_pcm:
- server_pcm
- disk.ephemeral.size
disk.device.latency_server_pcm:
- server_pcm
- disk.device.latency
network.incoming.bytes_pcm_1port_0:
- pcm_1port_0
- network.incoming.bytes
binding_pcm_3port_1:
- pcm_3port_1
- binding
memory.usage_server_pcm:
- server_pcm
- memory.usage
network.outgoing.bytes.rate_pcm_3port_1:
- pcm_3port_1
- network.outgoing.bytes.rate
disk.read.requests_server_pcm:
- server_pcm
- disk.read.requests
disk.capacity_server_pcm:
- server_pcm
- disk.capacity
os_server_pcm:
- server_pcm
- os
network.outgoing.bytes_pcm_3port_1:
- pcm_3port_1
- network.outgoing.bytes
disk.read.bytes_server_pcm:
- server_pcm
- disk.read.bytes
disk.device.read.bytes_server_pcm:
- server_pcm
- disk.device.read.bytes
network.incoming.packets_pcm_1port_0:
- pcm_1port_0
- network.incoming.packets
feature_pcm_3port_1:
- pcm_3port_1
- feature
network.outgoing.packets.rate_pcm_3port_1:
- pcm_3port_1
- network.outgoing.packets.rate
endpoint_server_pcm:
- server_pcm
- endpoint
network.incoming.packets_pcm_3port_1:
- pcm_3port_1
- network.incoming.packets
disk.device.read.requests.rate_server_pcm:
- server_pcm
- disk.device.read.requests.rate
vcpus_server_pcm:
- server_pcm
- vcpus
disk.write.bytes_server_pcm:
- server_pcm
- disk.write.bytes
disk.iops_server_pcm:
- server_pcm
- disk.iops
network.incoming.bytes.rate_pcm_1port_0:
- pcm_1port_0
- network.incoming.bytes.rate
disk.read.bytes.rate_server_pcm:
- server_pcm
- disk.read.bytes.rate
network.outpoing.packets_pcm_3port_1:
- pcm_3port_1
- network.outpoing.packets
disk.device.allocation_server_pcm:
- server_pcm
- disk.device.allocation
link_packet_internal_network:
- packet_internal_network
- link
network.incoming.packets.rate_pcm_1port_0:
- pcm_1port_0
- network.incoming.packets.rate
feature_pcm_2port_1:
- pcm_2port_1
- feature
scalable_server_pcm:
- server_pcm
- scalable
network.outgoing.bytes.rate_pcm_1port_0:
- pcm_1port_0
- network.outgoing.bytes.rate
feature_pcm_2port_2:
- pcm_2port_2
- feature
network.outgoing.bytes_pcm_2port_1:
- pcm_2port_1
- network.outgoing.bytes
network.outgoing.bytes_pcm_2port_2:
- pcm_2port_2
- network.outgoing.bytes
disk.device.read.bytes.rate_server_pcm:
- server_pcm
- disk.device.read.bytes.rate
cpu_util_server_pcm:
- server_pcm
- cpu_util
attachment_pcm_1port_0:
- pcm_1port_0
- attachment
disk.write.requests.rate_server_pcm:
- server_pcm
- disk.write.requests.rate
network.incoming.bytes.rate_pcm_2port_2:
- pcm_2port_2
- network.incoming.bytes.rate
network.incoming.bytes.rate_pcm_2port_1:
- pcm_2port_1
- network.incoming.bytes.rate
disk.device.write.bytes.rate_server_pcm:
- server_pcm
- disk.device.write.bytes.rate
host_server_pcm:
- server_pcm
- host
attachment_pcm_3port_1:
- pcm_3port_1
- attachment
network.outgoing.bytes_pcm_1port_0:
- pcm_1port_0
- network.outgoing.bytes
binding_pcm_1port_0:
- pcm_1port_0
- binding
cpu.delta_server_pcm:
- server_pcm
- cpu.delta
network.outgoing.packets.rate_pcm_1port_0:
- pcm_1port_0
- network.outgoing.packets.rate
binding_server_pcm:
- server_pcm
- binding
disk.device.capacity_server_pcm:
- server_pcm
- disk.device.capacity
instance_server_pcm:
- server_pcm
- instance
disk.device.write.requests.rate_server_pcm:
- server_pcm
- disk.device.write.requests.rate
network.incoming.bytes_pcm_3port_1:
- pcm_3port_1
- network.incoming.bytes
disk.latency_server_pcm:
- server_pcm
- disk.latency
disk.device.read.requests_server_pcm:
- server_pcm
- disk.device.read.requests
feature_server_pcm:
- server_pcm
- feature
disk.write.bytes.rate_server_pcm:
- server_pcm
- disk.write.bytes.rate
port_mirroring_pcm_3port_1:
- pcm_3port_1
- port_mirroring
port_mirroring_pcm_2port_1:
- pcm_2port_1
- port_mirroring
requirements:
binding_pcm_2port_2:
- pcm_2port_2
- binding
dependency_pcm_3port_1:
- pcm_3port_1
- dependency
dependency_pcm_2port_2:
- pcm_2port_2
- dependency
dependency_pcm_2port_1:
- pcm_2port_1
- dependency
local_storage_server_pcm:
- server_pcm
- local_storage
link_pcm_3port_1:
- pcm_3port_1
- link
dependency_packet_internal_network:
- packet_internal_network
- dependency
dependency_pcm_1port_0:
- pcm_1port_0
- dependency
dependency_server_pcm:
- server_pcm
- dependency
binding_pcm_3port_1:
- pcm_3port_1
- binding
link_pcm_2port_1:
- pcm_2port_1
- link
|