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 #TODO workaround of SDC bug
592 type: tosca.datatypes.nfv.injectFile
594 meta_data: #metadata attached to the VM or container
599 user_data: #cloudinit userdata script support
602 #attributes: NOT DEFINED IN ONAP IM and SOL001
613 type: tosca.capabilities.nfv.VirtualCompute
615 type: tosca.capabilities.nfv.VirtualBindable
616 occurrences: [1, UNBOUNDED]
617 monitoring_parameter:
618 type: tosca.capabilities.nfv.Metric
619 occurrences: [0, UNBOUNDED]
622 capability: tosca.capabilities.nfv.VirtualStorage
623 relationship: tosca.relationships.nfv.Vdu.AttachedTo
624 node: tosca.nodes.nfv.Vdu.VirtualStorage
625 occurrences: [ 0, UNBOUNDED ]
629 # type: tosca.artifacts.nfv.SwImage
631 tosca.nodes.nfv.Vdu.VirtualStorage:
632 derived_from: tosca.nodes.Root
639 - valid_values: [volume, object, root, block]
642 type: scalar-unit.size
645 vdu_storage_requirements:
655 type: tosca.capabilities.nfv.VirtualStorage
659 # type: tosca.artifacts.Deployment.Image
662 derived_from: tosca.nodes.Root
668 - valid_values: [ethernet, mpls, odu2, ipv4, ipv6, pseudo_wire ]
671 role: #Name in ETSI NFV IFA011 v0.7.3 cpRole
674 - valid_values: [ root, leaf ]
682 type: tosca.datatypes.nfv.CpProtocolData
687 allowedAddressData: # Aligned with ONAP R2 Im.not defined in IFA011 v2.4.1 and SOL001 v0.6.0
688 type: tosca.datatypes.nfv.AddressData
691 tosca.nodes.nfv.VduCp:
692 derived_from: tosca.nodes.nfv.Cp
697 vnic_name: # Aligned with ONAP R2 Im.not defined in IFA011 v2.4.1 and SOL001 v0.6.0
700 vnic_order: # Aligned with ONAP R2 Im. not defined in IFA011 v2.4.1 and SOL001 v0.6.0
703 vnic_type: # Aligned with ONAP R2 Im. not defined in IFA011 v2.4.1 and SOL001 v0.6.0
706 - valid_values: [normal, macvtap, direct, baremetal, direct-physical, virtio-forwarder]
708 virtual_network_interface_requirements:
711 type: tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements
717 # - greater_or_equal: 0
720 capability: tosca.capabilities.nfv.VirtualLinkable
721 relationship: tosca.relationships.nfv.VirtualLinksTo
722 node: tosca.nodes.nfv.VnfVirtualLink
724 capability: tosca.capabilities.nfv.VirtualBindable
725 relationship: tosca.relationships.nfv.VirtualBindsTo
726 node: tosca.nodes.nfv.Vdu.Compute
728 tosca.nodes.nfv.VnfVirtualLink:
729 derived_from: tosca.nodes.Root
732 type: tosca.datatypes.nfv.ConnectivityType
743 type: tosca.datatypes.nfv.VlProfile
746 monitoring_parameter:
747 type: tosca.capabilities.nfv.Metric
748 occurrences: [0, UNBOUNDED]
750 type: tosca.capabilities.nfv.VirtualLinkable
753 derived_from: tosca.nodes.Root
755 descriptor_id: # instead of vnfd_id
758 descriptor_version: # instead of vnfd_version
761 provider: # instead of vnf_provider
764 product_name: # instead of vnf_product_name
767 software_version: # instead of vnf_software_version
770 product_info_name: # instead of vnf_product_info_name
773 product_info_description: # instead of vnf_product_info_description
781 localization_languages:
786 default_localization_language:
789 configurable_properties:
790 type: tosca.datatypes.nfv.VnfConfigurableProperties
792 modifiable_attributes:
793 type: tosca.datatypes.nfv.VnfInfoModifiableAttributes
794 required: false # true in IFA011, but all of members are false
802 # monitoring_parameter:
803 # modelled as ad hoc capabilities in the VNF node template
806 capability: tosca.capabilities.nfv.VirtualLinkable
807 relationship: tosca.relationships.nfv.VirtualLinksTo
808 node: tosca.nodes.nfv.VnfVirtualLink
809 occurrences: [ 0, UNBOUNDED ]
812 type: tosca.interfaces.nfv.vnf.lifecycle.Nfv
815 #Based on R2 Design-time Resource DM clean version v4
817 tosca.relationships.nfv.VirtualBindsTo:
818 derived_from: tosca.relationships.DependsOn
819 valid_target_types: [ tosca.capabilities.nfv.VirtualBindable]
821 tosca.relationships.nfv.VirtualLinksTo:
822 derived_from: tosca.relationships.DependsOn
823 valid_target_types: [ tosca.capabilities.nfv.VirtualLinkable]
825 tosca.relationships.nfv.Vdu.AttachedTo:
826 derived_from: tosca.relationships.DependsOn
827 valid_target_types: [ tosca.capabilities.nfv.VirtualStorage]