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
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
|
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
tosca_definitions_version: tosca_simple_openecomp_1_0
metadata:
filename: openecomp/data.yml
version: '1.0'
imports:
- openecomp_index:
file: _index.yml
data_types:
org.openecomp.datatypes.network.ProviderNetwork:
derived_from: org.openecomp.datatypes.Root
properties:
is_provider_network:
description: \"true\" indicates that this a Neutron provider type of network
type: boolean
required: true
physical_network_name:
description: |
Identifies the NUMA processor cluster to which this physical network interface belongs. NUMA instance correlates to the first digit of the Physical Network Name suffix (e.g. \"01\" = NUMA 0, \"11\" = NUMA 1)
type: string
required: false
constraints:
- valid_values:
- Physnet41
- Physnet42
- Physnet43
- Physnet44
- Physnet21
- Physnet22
numa:
description: |
PNIC instance within the NUMA processor cluster PNIC Instance correlates to the second digit of the Physical Network Name suffix (e.g. "01" = PNIC 1, "02" = "PNIC 2)
type: string
required: false
constraints:
- valid_values:
- NUMA 0
- NUMA 1
pnic_instance:
description: PNIC instance within the NUMA processor cluster
type: integer
required: false
org.openecomp.datatypes.DeploymentFlavor:
derived_from: tosca.datatypes.Root
description: Deployment Flavor
properties:
name:
description: Deployment Flavor Name
type: string
status: SUPPORTED
required: true
license_feature_group:
description: license feature group associated with Deployment Flavor
type: org.openecomp.datatypes.FeatureGroup
status: SUPPORTED
required: true
compute_size:
description: Size of VM
type: org.openecomp.datatypes.ComputeFlavor
status: SUPPORTED
required: true
org.openecomp.datatypes.FeatureGroup:
derived_from: tosca.datatypes.Root
description: License Feature Group
properties:
license_feature_group_ref:
description: Deployment Flavor Name
type: string
status: SUPPORTED
required: true
part_number:
description: refrence part number related to feature group
type: string
status: SUPPORTED
required: true
org.openecomp.datatypes.EcompHoming:
derived_from: org.openecomp.datatypes.Root
properties:
ecomp_selected_instance_node_target:
description: |
"true" indicates that the target deployment node for this instance will be auto-selected by OPENECOMP "false" indicates operator-supplied instance target deployment node required (e.g. VID will present a prompt to operator and collect the operator-selected target node for the deployment of this Network instance).
type: boolean
default: false
required: true
homing_policy:
description: Referenc to a service level homing policy that OPENECOMP will use for instance deployment target node
type: string
required: false
instance_node_target:
description: Instance target deployment node
type: string
required: false
org.openecomp.datatypes.AssignmentRequirements:
derived_from: org.openecomp.datatypes.Root
properties:
is_required:
description: |
"true" indicates that assignment is required
type: boolean
default: false
required: true
count:
description: number of assignments required
type: integer
required: false
org.openecomp.resource.abstract.nodes.PNF:
derived_from: tosca.nodes.Root
properties:
nf_function:
type: string
nf_role:
type: string
nf_type:
type: string
org.openecomp.datatypes.network.IpRequirements:
derived_from: org.openecomp.datatypes.Root
properties:
ip_version:
type: integer
required: true
constraints:
- valid_values:
- 4
- 6
ip_count:
description: identifies the number of ip address to assign to the CP from the plan
type: integer
required: false
floating_ip_count:
type: integer
required: false
subnet_role:
type: string
required: false
assingment_method:
type: string
required: true
constraints:
- valid_values:
- fixed
- dhcp
dhcp_enabled:
type: boolean
required: false
ip_count_required:
description: identifies the number of ip address to assign to the CP from the plan
type: org.openecomp.datatypes.AssignmentRequirements
required: false
floating_ip_count_required:
type: org.openecomp.datatypes.AssignmentRequirements
required: false
ip_address_plan_name:
type: string
required: false
vrf_name:
type: string
required: false
org.openecomp.datatypes.network.PhysicalNetwork:
derived_from: org.openecomp.datatypes.Root
properties:
provider_network:
description: true indicates that this a Neutron provider type of network
type: boolean
required: true
physical_network_name:
description: |
Identifies the NUMA processor cluster to which this physical network interface belongs. NUMA instance correlates to the first digit of the Physical Network Name suffix (e.g. "01" = NUMA 0, "11" = NUMA 1)
type: string
required: false
constraints:
- valid_values:
- Physnet-SRIOV-1
- Physnet-SRIOV-2
- Physnet-SRIOV-11
- Physnet-SRIOV-12
numa:
description: |
PNIC instance within the NUMA processor cluster PNIC Instance correlates to the second digit of the Physical Network Name suffix (e.g. "01" = PNIC 1, "02" = "PNIC 2)
type: string
required: false
constraints:
- valid_values:
- NUMA 0
- NUMA 1
pnic_instance:
description: PNIC instance within the NUMA processor cluster
type: integer
required: false
org.openecomp.datatypes.network.VlanRequirements:
derived_from: org.openecomp.datatypes.Root
properties:
vlan_range_plan:
description: reference to a vlan range plan
type: string
required: true
vlan_type:
description: identifies the vlan type (e.g., c-tag)
type: string
required: true
constraints:
- valid_values:
- c-tag
- s-tag
vlan_count:
description: identifies the number of vlan tags to assign to the CP from the plan
type: integer
required: true
org.openecomp.datatypes.ComputeFlavor:
derived_from: tosca.datatypes.Root
description: Compute Flavor (Size)
properties:
name:
description: Compute Flavor Name
type: string
status: SUPPORTED
required: true
num_cpus:
description: Number of cpu
type: integer
status: SUPPORTED
required: true
disk_size:
description: Disk size
type: scalar-unit.size
status: SUPPORTED
required: true
mem_size:
description: Memory size
type: scalar-unit.size
status: SUPPORTED
required: true
org.openecomp.datatypes.network.MacAssignments:
derived_from: org.openecomp.datatypes.Root
properties:
mac_range_plan:
description: reference to a MAC address range plan
type: string
required: true
mac_count:
description: identifies the number of MAC addresses to assign to the CP from the plan
type: integer
required: false
mac_count_required:
description: identifies the number of MAC addresses to assign to the CP from the plan
type: org.openecomp.datatypes.AssignmentRequirements
required: false
org.openecomp.datatypes.network.MacRequirements:
derived_from: org.openecomp.datatypes.Root
properties:
mac_range_plan:
description: reference to a MAC address range plan
type: string
required: true
mac_count:
description: identifies the number of MAC addresses to assign to the CP from the plan
type: integer
required: false
mac_count_required:
description: identifies the number of MAC addresses to assign to the CP from the plan
type: org.openecomp.datatypes.AssignmentRequirements
required: false
org.openecomp.datatypes.network.SubnetAssignments:
derived_from: org.openecomp.datatypes.Root
properties:
ip_network_address_plan:
description: Reference to EIPAM, VLAN or other address plan ID used to assign subnets to this network
type: string
required: false
dhcp_enabled:
description: \"true\" indicates the network has 1 or more policies
type: boolean
required: false
ip_version:
description: The IP version of the subnet
type: integer
required: true
constraints:
- valid_values:
- 4
- 6
cidr_mask:
description: The default subnet CIDR mask
type: integer
required: true
min_subnets_count:
description: Quantity of subnets that must be initially assigned
type: integer
default: 1
required: true
org.openecomp.datatypes.Artifact:
derived_from: org.openecomp.datatypes.Root
properties:
artifact_name:
description: Artifcat name
type: string
required: true
artifact_type:
description: Artifcat type
type: string
required: true
artifact_uuid:
description: Artifcat UUID
type: string
required: true
artifact_checksum:
description: Artifact checksum
type: string
required: true
artifact_url:
description: Artifcay URL. Can also include only the file name
type: string
required: true
org.openecomp.datatypes.network.IPv4SubnetAssignments:
derived_from: org.openecomp.datatypes.network.SubnetAssignments
properties:
use_ipv4:
description: Indicates IPv4 subnet assignments
type: boolean
required: true
org.openecomp.datatypes.Root:
derived_from: tosca.datatypes.Root
description: |
The AT&T root Data Type all other Data Types derive from
properties:
supplemental_data:
type: map
entry_schema:
type: string
description: |
A placeholder for missing properties that would be included in future OPENecomp model
versions. fromat <key>:<value>
org.openecomp.datatypes.substitution.SubstitutionFiltering:
derived_from: tosca.datatypes.Root
description: Substitution Filter
properties:
substitute_service_template:
description: Substitute Service Template
type: string
status: SUPPORTED
required: true
index_value:
description: Index value of the substitution service template runtime instance
type: integer
status: SUPPORTED
default: 0
required: false
constraints:
- greater_or_equal: 0
count:
description: Count
type: string
status: SUPPORTED
default: 1
required: false
scaling_enabled:
description: Indicates whether service scaling is enabled
type: boolean
status: SUPPORTED
default: true
required: false
mandatory:
description: Mandatory
type: boolean
status: SUPPORTED
required: false
org.openecomp.datatypes.network.NetworkFlows:
derived_from: org.openecomp.datatypes.Root
properties:
is_network_policy:
description: true indicates the network has 1 or more policies
type: boolean
default: false
required: false
network_policy:
description: Identifies the specific OPENECOMP Contrail network policy that must be applied to this network (source - from Policy Manager)
type: string
required: false
vpn_binding:
description: Identifies the specific VPN Binding entry in A&AI that must be applied when creating this network (source - A&AI)
type: string
required: false
org.openecomp.datatypes.network.NetworkAssignments:
derived_from: org.openecomp.datatypes.Root
properties:
ecomp_generated_network_assignment:
description: |
"true" indicates that the network assignments will be auto-generated by OPENECOMP "false" indicates operator-supplied Network assignments file upload is required (e.g. VID will present prompt to operator to upload operator-supplied Network assignments file).
type: boolean
default: false
required: true
network_assignments_file:
description: Filename of the template that specifies all of the configurable name/value pairs of Network assignments in this Network model
type: string
required: false
multi_tenant:
description: true means this network is shared by multiple Openstack tenants
type: boolean
default: true
required: true
min_subnets_count:
description: Quantity of subnets that must be initially assigned
type: integer
required: true
ip_network_address_plan:
description: Reference to EIPAM, VLAN or other address plan ID used to assign subnets to this network
type: string
required: true
vlan_network_address_plan:
description: Reference to VLAN or other address plan ID used to assign subnets to this network
type: string
required: true
org.openecomp.datatypes.network.IPv6SubnetAssignments:
derived_from: org.openecomp.datatypes.network.SubnetAssignments
properties:
use_ipv6:
description: Indicates IPv6 subnet assignments
type: boolean
required: true
org.openecomp.datatypes.EcompNaming:
derived_from: org.openecomp.datatypes.Root
properties:
ecomp_generated_naming:
description: |
"true" indicates that the name for the instance will be auto-generated by OPENECOMP. "false" indicates operator-supplied name required (e.g. VID will present prompt to operator and collect the operator-supplied instance name).
type: boolean
default: true
required: true
naming_policy:
description: Referenc to naming policy that OPENECOMP will use when the name is auto-generated
type: string
required: false
org.openecomp.datatypes.Naming:
derived_from: org.openecomp.datatypes.Root
properties:
ecomp_generated_naming:
description: |
"true" indicates that the name for the instance will be auto-generated by OPENECOMP. "false" indicates operator-supplied name required (e.g. VID will present prompt to operator and collect the operator-supplied instance name).
type: boolean
default: true
required: true
org.openecomp.datatypes.EcompGeneratedNaming:
derived_from: org.openecomp.datatypes.Naming
properties:
naming_policy:
description: Referenc to naming policy that OPENECOMP will use when the name is auto-generated
type: string
required: false
org.openecomp.datatypes.UserDefinedNaming:
derived_from: org.openecomp.datatypes.Naming
properties:
instance_name:
description: Reference to naming policy that OPENECOMP will use when the name is auto-generated
type: string
required: false
org.openecomp.datatypes.flavors.DeploymentFlavor:
properties:
sp_part_number:
type: string # under discussion; need confirmation
description: Part number of the feature group associated with the deployment flavor
vendor_info:
type: org.opencomp.datatypes.flavors.VendorInfo
description: Vendor information for the deployment flavor
compute_flavor:
type: org.opencomp.datatypes.flavors.ComputeFlavor
description: Compute information for the deployment flavor
license_flavor:
type: org.opencomp.datatypes.flavors.LicenseFlavor
description: License information for the deployment flavor
required: false
org.openecomp.datatypes.flavors.ComputeFlavor:
properties:
num_cpus:
type: integer
description: Number of CPUs for the VM
disk_size:
type: scalar-unit.size
description: Disk size of the VM
mem_size:
type: scalar-unit.size
description: Memory size of the VM
org.openecomp.datatypes.flavors.LicenseFlavor:
properties:
feature_group_uuid:
type: string
description: Feature Group Id
org.openecomp.datatypes.flavors.VendorInfo:
properties:
manufacturer_reference_number:
type: string
description: Manufacturer reference number
vendor_model:
type: string
description: Vendor License Model Id
org.openecomp.datatypes.ImageInfo:
properties:
software_version:
type: string
description: Image version
file_name:
type: string
description: Image file name
file_hash:
type: string
description: checksum/signature
file_hash_type:
type: string
description: Hash type
required: false
default: md5
tosca.datatypes.nfv.RequestedAdditionalCapability:
derived_from: tosca.datatypes.Root
properties:
support_mandatory:
type: boolean
required: true
min_requested_additional_capability_version:
type: string
required: false
preferred_requested_additional_capability_version:
type: string
required: false
requested_additional_capability_name:
type: string
required: true
target_performance_parameters:
type: map
entry_schema:
type: string
required: true
tosca.datatypes.nfv.VirtualMemory:
derived_from: tosca.datatypes.Root
properties:
virtual_mem_size:
type: string
required: true
virtual_mem_oversubscription_policy:
type: string
required: false
numa_enabled:
type: boolean
required: false
tosca.datatypes.nfv.VirtualCpu:
derived_from: tosca.datatypes.Root
properties:
cpu_architecture:
type: string
required: false
num_virtual_cpu:
type: integer
required: true
virtual_cpu_clock:
type: scalar-unit.frequency
required: false
virtual_cpu_oversubscription_policy:
type: string
required: false
virtual_cpu_pinning:
type: tosca.datatypes.nfv.VirtualCpuPinning
required: false
tosca.datatypes.nfv.VirtualCpuPinning:
derived_from: tosca.datatypes.Root
properties:
cpu_pinning_policy:
type: string
constraints:
- valid_values: [ static, dynamic ]
required: false
cpu_pinning_map:
type: map
entry_schema:
type: string
required: false
tosca.datatypes.nfv.VnfcConfigurableProperties:
properties:
additional_vnfc_configurable_properties:
entry_schema:
type: string
required: false
type: map
tosca.datatypes.network.NetworkInfo:
properties:
network_id:
required: false
type: string
addresses:
entry_schema:
type: string
required: false
type: list
network_name:
required: false
type: string
tosca.datatypes.network.PortInfo:
properties:
port_name:
required: false
type: string
network_id:
required: false
type: string
addresses:
entry_schema:
type: string
required: false
type: list
mac_address:
required: false
type: string
port_id:
required: false
type: string
tosca.datatypes.nfv.L3AddressData:
properties:
number_of_ip_address:
required: false
type: integer
ip_address_assignment:
type: boolean
ip_address_type:
constraints:
- valid_values:
- ipv4
- ipv6
required: false
type: string
floating_ip_activated:
type: string
tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements:
properties:
name:
required: false
type: string
support_mandatory:
type: boolean
description:
required: false
type: string
requirement:
entry_schema:
type: string
type: map
tosca.datatype.nfv.AddressData:
properties:
address_type:
constraints:
- valid_values:
- mac_address
- ip_address
type: string
l2_address_data:
required: false
type: tosca.datatypes.nfv.L2AddressData
l3_address_data:
required: false
type: tosca.datatypes.nfv.L3AddressData
tosca.datatypes.nfv.L2AddressData: {}
tosca.datatypes.nfv.ConnectivityType:
properties:
layer_protocol:
constraints:
- valid_values:
- ethernet
- mpls
- odu2
- ipv4
- ipv6
- pseudo_wire
type: string
flow_pattern:
required: false
type: string
tosca.datatypes.nfv.ext.FloatingIP:
properties:
external_network:
required: false
type: string
ip_address:
required: false
type: string
tosca.datatypes.nfv.ext.AddressPairs:
properties:
ip:
required: false
type: string
mac:
required: false
type: string
tosca.datatypes.nfv.ext.InjectData:
properties:
file_name:
required: false
type: string
file_data:
required: false
type: string
tosca.datatypes.nfv.ext.zte.WatchDog:
properties:
enable_delay:
required: false
type: integer
action:
required: false
type: string
tosca.datatypes.nfv.ext.LocalAffinityOrAntiAffinityRule:
properties:
scope:
required: false
type: string
affinity_antiaffinity:
required: false
type: string
tosca.datatypes.nfv.ext.LocationInfo:
properties:
availability_zone:
required: false
type: string
vimid:
required: false
type: integer
tenant:
required: false
type: string
tosca.datatypes.nfv.ext.HostRouteInfo:
properties:
destination:
required: false
type: string
nexthop:
required: false
type: string
|