1 tosca_definitions_version: tosca_simple_yaml_1_0
3 #Based on R2 Design-time Resource DM clean version v8
5 tosca.artifacts.nfv.SwImage:
6 derived_from: tosca.artifacts.Deployment.Image
9 #Based on R2 Design-time Resource DM clean version v21
11 tosca.capabilities.nfv.VirtualBindable:
12 derived_from: tosca.capabilities.Root
14 tosca.capabilities.nfv.Metric:
15 derived_from: tosca.capabilities.Root
17 tosca.capabilities.nfv.VirtualCompute:
18 derived_from: tosca.capabilities.Root
21 type: tosca.datatypes.nfv.LogicalNodeData
28 requested_additional_capabilities:
31 type: tosca.datatypes.nfv.RequestedAdditionalCapability
34 type: tosca.datatypes.nfv.VirtualMemory
37 type: tosca.datatypes.nfv.VirtualCpu
40 tosca.capabilities.nfv.VirtualStorage:
41 derived_from: tosca.capabilities.Root
43 tosca.capabilities.nfv.VirtualLinkable:
44 derived_from: tosca.capabilities.Root
46 tosca.capabilities.nfv.ExtVirtualLinkable:
47 derived_from: tosca.capabilities.Root
50 #Based on R2 Design-time Resource DM clean version v45
52 tosca.datatypes.nfv.L2AddressData:
53 derived_from: tosca.datatypes.Root
55 mac_address_assignment:
59 tosca.datatypes.nfv.injectFile:
60 derived_from: tosca.datatypes.Root
69 tosca.datatypes.nfv.L3AddressData:
70 derived_from: tosca.datatypes.Root
72 ip_address_assignment:
75 floating_ip_activated:
82 - valid_values: [ipv4, ipv6]
92 tosca.datatypes.nfv.AddressData:
93 derived_from: tosca.datatypes.Root
99 - valid_values: [mac_address, ip_address]
101 type: tosca.datatypes.nfv.L2AddressData # empty in "GS NFV IFA011 V0.7.3"
104 type: tosca.datatypes.nfv.L3AddressData
107 tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements:
108 derived_from: tosca.datatypes.Root
120 network_interface_requirements:
126 type: tosca.datatypes.nfv.LogicalNodeData
129 tosca.datatypes.nfv.ConnectivityType:
130 derived_from: tosca.datatypes.Root
136 - valid_values: [ethernet, mpls, odu2, ipv4, ipv6, pseudo_wire ]
140 constraints: # not defined in IFA011 v2.4.1 and SOL001 v.6.0
141 - valid_values: [Line, Tree, Mesh]
143 tosca.datatypes.nfv.RequestedAdditionalCapability:
144 derived_from: tosca.datatypes.Root
147 # key of containing map
151 min_requested_additional_capability_version:
154 preferred_requested_additional_capability_version:
157 requested_additional_capability_name:
160 target_performance_parameters:
166 tosca.datatypes.nfv.VirtualMemory:
167 derived_from: tosca.datatypes.Root
170 type: scalar-unit.size # Number
172 virtual_mem_oversubscription_policy:
176 vdu_memory_requirements:
185 tosca.datatypes.nfv.VirtualCpu:
186 derived_from: tosca.datatypes.Root
195 type: scalar-unit.frequency
197 virtual_cpu_oversubscription_policy:
201 vdu_cpu_requirements:
207 type: tosca.datatypes.nfv.VirtualCpuPinning
210 tosca.datatypes.nfv.VirtualCpuPinning:
211 derived_from: tosca.datatypes.Root
214 type: string # CpuPinningPolicy
216 - valid_values: [ static, dynamic ]
224 tosca.datatypes.nfv.VnfcConfigurableProperties:
225 derived_from: tosca.datatypes.Root
227 additional_vnfc_configurable_properties:
233 tosca.datatypes.nfv.VduProfile:
234 derived_from: tosca.datatypes.Root
236 min_number_of_instances:
239 max_number_of_instances:
242 #localAffinityOrAntiAffinityRule: # not defined in SOL001 v.6.0
243 # type: tosca.datatype.nfv.LocalAffinityOrAntiAffinityRule
245 #affinityOrAntiAffinityGroupId: # not defined in SOL001 v.6.0
248 watchdog: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
251 vmBootUpTimeOut: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
256 tosca.datatypes.nfv.VlProfile:
257 derived_from: tosca.datatypes.Root
259 max_bit_rate_requirements:
260 type: tosca.datatypes.nfv.LinkBitRateRequirements
262 min_bit_rate_requirements:
263 type: tosca.datatypes.nfv.LinkBitRateRequirements
266 type: tosca.datatypes.nfv.Qos
268 initiationParameters: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
273 cidr: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
276 networkName: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
279 startIp: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
282 endIp: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
285 gatewayIp: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
288 segmentationId: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
291 physicalNetwork: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
294 networkType: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
298 - valid_values: [VLAN, VXLAN]
299 dhcpEnabled: # not defined in IFA011 v2.4.1 and SOL001 v.6.0
302 vlanTransparent: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
306 tosca.datatypes.nfv.InstantiationLevel:
307 derived_from: tosca.datatypes.Root
313 type: map # key: vduId
316 type: tosca.datatypes.nfv.VduLevel
318 type: map # key: aspectId
321 type: tosca.datatypes.nfv.ScaleInfo
323 tosca.datatypes.nfv.VduLevel:
324 derived_from: tosca.datatypes.Root
330 tosca.datatypes.nfv.VnfLcmOperationsConfiguration:
331 derived_from: tosca.datatypes.Root
334 type: tosca.datatypes.nfv.VnfInstantiateOperationConfiguration
336 type: tosca.datatypes.nfv.VnfScaleOperationConfiguration
338 type: tosca.datatypes.nfv.VnfScaleToLevelOperationConfiguration
340 type: tosca.datatypes.nfv.VnfHealOperationConfiguration
342 type: tosca.datatypes.nfv.VnfTerminateOperationConfiguration
344 type: tosca.datatypes.nfv.VnfOperateOperationConfiguration
346 tosca.datatypes.nfv.VnfInstantiateOperationConfiguration:
347 derived_from: tosca.datatypes.Root
350 #modeled as part of operation parameter list
352 tosca.datatypes.nfv.VnfScaleOperationConfiguration:
353 derived_from: tosca.datatypes.Root
356 #modeled as part of the operation parameter list
357 scaling_by_more_than_one_step_supported:
360 tosca.datatypes.nfv.VnfScaleToLevelOperationConfiguration:
361 derived_from: tosca.datatypes.Root
364 #modeled as part of the operation parameter list
365 arbitrary_target_levels_supported:
368 tosca.datatypes.nfv.VnfHealOperationConfiguration:
369 derived_from: tosca.datatypes.Root
372 #modeled as part of the operation parameter list
378 tosca.datatypes.nfv.VnfTerminateOperationConfiguration:
379 derived_from: tosca.datatypes.Root
381 min_graceful_termination_timeout:
383 max_recommended_graceful_termination_timeout:
386 tosca.datatypes.nfv.VnfOperateOperationConfiguration:
387 derived_from: tosca.datatypes.Root
389 min_graceful_termination_timeout:
391 max_recommended_graceful_termination_timeout:
394 tosca.datatypes.nfv.ScaleInfo:
395 derived_from: tosca.datatypes.Root
401 tosca.datatypes.nfv.ScaleAspect:
402 derived_from: tosca.datatypes.Root
411 type: string #Identifier
414 type: integer #PositiveInteger
417 tosca.datatypes.nfv.LinkBitRateRequirements:
418 derived_from: tosca.datatypes.Root
427 tosca.datatypes.nfv.Qos:
428 derived_from: tosca.datatypes.Root
431 type: integer #Number [ms]
433 packet_delay_variation:
434 type: integer #Number [ms]
439 - in_range: [ 0.0, 1.0 ]
442 tosca.datatypes.nfv.CpProtocolData:
443 derived_from: tosca.datatypes.Root
445 asscociated_layer_protocol:
448 - valid_values: [ethernet, mpls, odu2, ipv4, ipv6, pseudo-wire ]
451 type: tosca.datatypes.nfv.AddressData
454 tosca.datatypes.nfv.VnfConfigurableProperties:
455 derived_from: tosca.datatypes.Root
457 is_autoscale_enabled:
463 additional_configurable_properties:
464 type: tosca.datatypes.nfv.VnfAdditionalConfigurableProperties
467 tosca.datatypes.nfv.VnfAdditionalConfigurableProperties:
468 derived_from: tosca.datatypes.Root
470 tosca.datatypes.nfv.VnfInfoModifiableAttributes:
471 derived_from: tosca.datatypes.Root
474 type: tosca.datatypes.nfv.VnfInfoModifiableAttributesExtensions
477 type: tosca.datatypes.nfv.VnfInfoModifiableAttributesMetadata
480 tosca.datatypes.nfv.VnfInfoModifiableAttributesExtensions:
481 derived_from: tosca.datatypes.Root
483 tosca.datatypes.nfv.VnfInfoModifiableAttributesMetadata:
484 derived_from: tosca.datatypes.Root
486 tosca.datatypes.nfv.LogicalNodeData:
487 derived_from: tosca.datatypes.Root
490 logical_node_requirements:
491 type: map # not defined in SOL001 v.6.0
497 #Based on R2 Design-time Resource DM clean version v10
499 tosca.interfaces.nfv.vnf.lifecycle.Nfv:
500 derived_from: tosca.interfaces.Root
502 description: Invoked upon receipt of an Instantiate VNF request
504 description: Invoked before instantiate
506 description: Invoked after instantiate
508 description: Invoked upon receipt Terminate VNF request
510 description: Invoked before terminate
512 description: Invoked after terminate
514 description: Invoked upon receipt of a Modify VNF Information request
515 modify_information_start:
516 description: Invoked before modify_information
517 modify_information_end:
518 description: Invoked after modify_information
520 description: Invoked upon receipt of a Change VNF Flavour request
521 change_flavour_start:
522 description: Invoked before change_flavour
524 description: Invoked after change_flavour
525 change_external_connectivity:
526 description: Invoked upon receipt of a Change External VNF Connectivity request
527 change_external_connectivity_start:
528 description: Invoked before change_external_connectivity
529 change_external_connectivity_end:
530 description: Invoked after change_external_connectivity
532 description: Invoked upon receipt of an Operate VNF request
534 description: Invoked before operate
536 description: Invoked after operate
538 description: Invoked upon receipt of a Heal VNF request
540 description: Invoked before heal
542 description: Invoked after heal
544 description: Invoked upon receipt of a Scale VNF request
546 description: Invoked before scale
548 description: Invoked after scale
550 description: Invoked upon receipt of a Scale VNF to Level request
551 scale_to_level_start:
552 description: Invoked before scale_to_level
554 description: Invoked after scale_to_level
556 # description: On receiving a VNF indicator value change notification
559 #Based on R2 Design-time Resource DM clean version v36
561 tosca.nodes.nfv.Vdu.Compute:
562 derived_from: tosca.nodes.Root
571 type: list # explicit index (boot index) not necessary, contrary to IFA011
580 configurable_properties:
583 type: tosca.datatypes.nfv.VnfcConfigurableProperties
586 type: tosca.datatypes.nfv.VduProfile
588 inject_files: #Aligned with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v0.6.0
591 type: tosca.datatypes.nfv.injectFile
593 meta_data: #metadata attached to the VM or container
598 user_data: #cloudinit userdata script support
601 #attributes: NOT DEFINED IN ONAP IM and SOL001
612 type: tosca.capabilities.nfv.VirtualCompute
614 type: tosca.capabilities.nfv.VirtualBindable
615 occurrences: [1, UNBOUNDED]
616 monitoring_parameter:
617 type: tosca.capabilities.nfv.Metric
618 occurrences: [0, UNBOUNDED]
621 capability: tosca.capabilities.nfv.VirtualStorage
622 relationship: tosca.relationships.nfv.Vdu.AttachedTo
623 node: tosca.nodes.nfv.Vdu.VirtualStorage
624 occurrences: [ 0, UNBOUNDED ]
628 # type: tosca.artifacts.nfv.SwImage
630 tosca.nodes.nfv.Vdu.VirtualStorage:
631 derived_from: tosca.nodes.Root
638 - valid_values: [volume, object, root, block]
641 type: scalar-unit.size
644 vdu_storage_requirements:
654 type: tosca.capabilities.nfv.VirtualStorage
658 # type: tosca.artifacts.Deployment.Image
661 derived_from: tosca.nodes.Root
667 - valid_values: [ethernet, mpls, odu2, ipv4, ipv6, pseudo_wire ]
670 role: #Name in ETSI NFV IFA011 v0.7.3 cpRole
673 - valid_values: [ root, leaf ]
681 type: tosca.datatypes.nfv.CpProtocolData
686 allowedAddressData: # Aligned with ONAP R2 Im.not defined in IFA011 v2.4.1 and SOL001 v0.6.0
687 type: tosca.datatypes.nfv.AddressData
690 tosca.nodes.nfv.VduCp:
691 derived_from: tosca.nodes.nfv.Cp
696 vnic_name: # Aligned with ONAP R2 Im.not defined in IFA011 v2.4.1 and SOL001 v0.6.0
699 vnic_order: # Aligned with ONAP R2 Im. not defined in IFA011 v2.4.1 and SOL001 v0.6.0
702 vnic_type: # Aligned with ONAP R2 Im. not defined in IFA011 v2.4.1 and SOL001 v0.6.0
705 - valid_values: [normal, macvtap, direct, baremetal, direct-physical, virtio-forwarder]
707 virtual_network_interface_requirements:
710 type: tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements
716 # - greater_or_equal: 0
719 capability: tosca.capabilities.nfv.VirtualLinkable
720 relationship: tosca.relationships.nfv.VirtualLinksTo
721 node: tosca.nodes.nfv.VnfVirtualLink
723 capability: tosca.capabilities.nfv.VirtualBindable
724 relationship: tosca.relationships.nfv.VirtualBindsTo
725 node: tosca.nodes.nfv.Vdu.Compute
727 tosca.nodes.nfv.VnfVirtualLink:
728 derived_from: tosca.nodes.Root
731 type: tosca.datatypes.nfv.ConnectivityType
742 type: tosca.datatypes.nfv.VlProfile
745 monitoring_parameter:
746 type: tosca.capabilities.nfv.Metric
747 occurrences: [0, UNBOUNDED]
749 type: tosca.capabilities.nfv.VirtualLinkable
752 derived_from: tosca.nodes.Root
754 descriptor_id: # instead of vnfd_id
757 descriptor_version: # instead of vnfd_version
760 provider: # instead of vnf_provider
763 product_name: # instead of vnf_product_name
766 software_version: # instead of vnf_software_version
769 product_info_name: # instead of vnf_product_info_name
772 product_info_description: # instead of vnf_product_info_description
780 localization_languages:
785 default_localization_language:
788 configurable_properties:
789 type: tosca.datatypes.nfv.VnfConfigurableProperties
791 modifiable_attributes:
792 type: tosca.datatypes.nfv.VnfInfoModifiableAttributes
793 required: false # true in IFA011, but all of members are false
801 # monitoring_parameter:
802 # modelled as ad hoc capabilities in the VNF node template
805 capability: tosca.capabilities.nfv.VirtualLinkable
806 relationship: tosca.relationships.nfv.VirtualLinksTo
807 node: tosca.nodes.nfv.VnfVirtualLink
808 occurrences: [ 0, UNBOUNDED ]
811 type: tosca.interfaces.nfv.vnf.lifecycle.Nfv
814 #Based on R2 Design-time Resource DM clean version v4
816 tosca.relationships.nfv.VirtualBindsTo:
817 derived_from: tosca.relationships.DependsOn
818 valid_target_types: [ tosca.capabilities.nfv.VirtualBindable]
820 tosca.relationships.nfv.VirtualLinksTo:
821 derived_from: tosca.relationships.DependsOn
822 valid_target_types: [ tosca.capabilities.nfv.VirtualLinkable]
824 tosca.relationships.nfv.Vdu.AttachedTo:
825 derived_from: tosca.relationships.DependsOn
826 valid_target_types: [ tosca.capabilities.nfv.VirtualStorage]