diff --git a/etsi_nfv_sol001_common_types.yaml b/etsi_nfv_sol001_common_types.yaml index 061257edcb3a57f0e9b85b9f21922638c0f6230d..f6bab7cc2849a887a310b3b0b1aa45009a09a833 100644 --- a/etsi_nfv_sol001_common_types.yaml +++ b/etsi_nfv_sol001_common_types.yaml @@ -1,9 +1,9 @@ -tosca_definitions_version: tosca_simple_yaml_1_2 -description: ETSI NFV SOL 001 common types definitions version 2.8.1 +tosca_definitions_version: tosca_simple_yaml_1_3 +description: ETSI NFV SOL 001 common types definitions version 3.3.1 metadata: template_name: etsi_nfv_sol001_common_types template_author: ETSI_NFV - template_version: 2.8.1 + template_version: 3.3.1 data_types: tosca.datatypes.nfv.L2AddressData: @@ -29,7 +29,7 @@ data_types: required: true ip_address_type: type: string - description: Defines address type. The address type should be aligned with the address type supported by the layer_protocols properties of the connection point + description: Defines address type. The address type should be aligned with the address type supported by the layer_protocols properties of the connetion point required: false constraints: - valid_values: [ ipv4, ipv6 ] @@ -132,6 +132,12 @@ data_types: required: true constraints: - greater_or_equal: 0 + service_availability_level: + type: integer + description: Specifies the service availability level for the VNF instance created from this profile. + required: false + constraints: + - greater_or_equal: 1 tosca.datatypes.nfv.Qos: derived_from: tosca.datatypes.Root @@ -273,3 +279,5 @@ policy_types: - greater_or_equal: 0 - less_or_equal: 65535 default: 65535 + + diff --git a/etsi_nfv_sol001_nsd_types.yaml b/etsi_nfv_sol001_nsd_types.yaml index 17c5936a969bfd09a2ac0314eed5c8a5ab1bbd5c..2f1772462452e6de78c71631d5576291cbe85478 100644 --- a/etsi_nfv_sol001_nsd_types.yaml +++ b/etsi_nfv_sol001_nsd_types.yaml @@ -1,29 +1,17 @@ -tosca_definitions_version: tosca_simple_yaml_1_2 -description: ETSI NFV SOL 001 nsd types definitions version 2.8.1 +tosca_definitions_version: tosca_simple_yaml_1_3 +description: ETSI NFV SOL 001 nsd types definitions version 3.3.1 metadata: template_name: etsi_nfv_sol001_nsd_types template_author: ETSI_NFV - template_version: 2.8.1 + template_version: 3.3.1 imports: - - https://forge.etsi.org/rep/nfv/SOL001/raw/v2.8.1/etsi_nfv_sol001_common_types.yaml - - https://forge.etsi.org/rep/nfv/SOL001/raw/v2.8.1/etsi_nfv_sol001_vnfd_types.yaml - - https://forge.etsi.org/rep/nfv/SOL001/raw/v2.8.1/etsi_nfv_sol001_pnfd_types.yaml - # editor's note: During the development of the SOL001ed281 GS, to enable this file to be verified by a TOSCA parser, the imports statement has to be replaced with a reference to a local copy of the common definitions YAML file + - https://forge.etsi.org/rep/nfv/SOL001/raw/v3.3.1/etsi_nfv_sol001_common_types.yaml + - https://forge.etsi.org/rep/nfv/SOL001/raw/v3.3.1/etsi_nfv_sol001_vnfd_types.yaml + - https://forge.etsi.org/rep/nfv/SOL001/raw/v3.3.1/etsi_nfv_sol001_pnfd_types.yaml data_types: - tosca.datatypes.nfv.ServiceAvailability: - derived_from: tosca.datatypes.Root - description: service availability - properties: - level: - type: string - description: service availability levels - required: true - constraints: - - valid_values: [ level1, level2, level3 ] - tosca.datatypes.nfv.NsVlProfile: derived_from: tosca.datatypes.Root description: Describes additional instantiation data for a given NsVirtualLink used in a specific NS deployment flavour. @@ -40,10 +28,12 @@ data_types: type: tosca.datatypes.nfv.NsVirtualLinkQos description: Specifies the QoS requirements of a VL instantiated according to this profile. required: false - service_availability: - type: tosca.datatypes.nfv.ServiceAvailability - description: Network service virtual link service availability levels, as described in ETSI GS NFV-REL 001 + service_availability_level: + type: integer + description: Specifies the service availability level for the VL instance created from this profile required: false + constraints: + - greater_or_equal: 1 tosca.datatypes.nfv.NsVirtualLinkQos: derived_from: tosca.datatypes.nfv.Qos @@ -134,48 +124,49 @@ interface_types: tosca.interfaces.nfv.Nslcm: derived_from: tosca.interfaces.Root description: This interface encompasses a set of TOSCA operations corresponding to NS LCM operations defined in ETSI GS NFV-IFA 013. as well as to preamble and postamble procedures to the execution of the NS LCM operations. - instantiate_start: - description: Preamble to execution of the instantiate operation - instantiate: - description: Base procedure for instantiating an NS, corresponding to the Instantiate NS operation defined in ETSI GS NFV-IFA 013. - # inputs: - # additional_parameters: - # type: tosca.datatypes.nfv.NsOperationAdditionalParameters - # required: false - instantiate_end: - description: Postamble to the execution of the instantiate operation - terminate_start: - description: Preamble to execution of the terminate operation - terminate: - description: Base procedure for terminating an NS, corresponding to the Terminate NS operation defined in ETSI GS NFV-IFA 013. - terminate_end: - description: Postamble to the execution of the terminate operation - update_start: - description: Preamble to execution of the update operation - update: - description: Base procedure for updating an NS, corresponding to the Update NS operation defined in ETSI GS NFV-IFA 013. - update_end: - description: Postamble to the execution of the update operation - scale_start: - description: Preamble to execution of the scale operation - scale: - description: Base procedure for scaling an NS, corresponding to the Scale NS operation defined in ETSI GS NFV-IFA 013. - # inputs: - # additional_parameters: - # type: tosca.datatypes.nfv.NsOperationAdditionalParameters - # required: false - scale_end: - description: Postamble to the execution of the scale operation - heal_start: - description: Preamble to execution of the heal operation - heal: - description: Base procedure for healing an NS, corresponding to the Heal NS operation defined in ETSI GS NFV-IFA 013. - # inputs: - # additional_parameters: - # type: tosca.datatypes.nfv.NsOperationAdditionalParameters - # required: false - heal_end: - description: Postamble to the execution of the heal operation + operations: + instantiate_start: + description: Preamble to execution of the instantiate operation + instantiate: + description: Base procedure for instantiating an NS, corresponding to the Instantiate NS operation defined in ETSI GS NFV-IFA 013. + # inputs: + # additional_parameters: + # type: tosca.datatypes.nfv.NsOperationAdditionalParameters + # required: false + instantiate_end: + description: Postamble to the execution of the instantiate operation + terminate_start: + description: Preamble to execution of the terminate operation + terminate: + description: Base procedure for terminating an NS, corresponding to the Terminate NS operation defined in ETSI GS NFV-IFA 013. + terminate_end: + description: Postamble to the execution of the terminate operation + update_start: + description: Preamble to execution of the update operation + update: + description: Base procedure for updating an NS, corresponding to the Update NS operation defined in ETSI GS NFV-IFA 013. + update_end: + description: Postamble to the execution of the update operation + scale_start: + description: Preamble to execution of the scale operation + scale: + description: Base procedure for scaling an NS, corresponding to the Scale NS operation defined in ETSI GS NFV-IFA 013. + # inputs: + # additional_parameters: + # type: tosca.datatypes.nfv.NsOperationAdditionalParameters + # required: false + scale_end: + description: Postamble to the execution of the scale operation + heal_start: + description: Preamble to execution of the heal operation + heal: + description: Base procedure for healing an NS, corresponding to the Heal NS operation defined in ETSI GS NFV-IFA 013. + # inputs: + # additional_parameters: + # type: tosca.datatypes.nfv.NsOperationAdditionalParameters + # required: false + heal_end: + description: Postamble to the execution of the heal operation node_types: tosca.nodes.nfv.NS: @@ -209,6 +200,12 @@ node_types: type: tosca.datatypes.nfv.NsProfile description: Specifies a profile of a NS, when this NS is used as nested NS within another NS. required: false + service_availability_level: + type: integer + description: Specifies the service availability level for the NS instance. + required: false + constraints: + - greater_or_equal: 1 requirements: - virtual_link: capability: tosca.capabilities.nfv.VirtualLinkable @@ -353,7 +350,7 @@ policy_types: description: Specifies the scope of the local affinity rule. required: true constraints: - - valid_values: [ nfvi_node, zone, zone_group, nfvi_pop ] + - valid_values: [ nfvi_node, zone, zone_group, nfvi_pop, network_link_and_node ] targets: [tosca.nodes.nfv.VNF, tosca.nodes.nfv.NsVirtualLink, tosca.nodes.nfv.NS, tosca.groups.nfv.NsPlacementGroup ] tosca.policies.nfv.NsAntiAffinityRule: @@ -365,7 +362,7 @@ policy_types: description: Specifies the scope of the local affinity rule.. required: true constraints: - - valid_values: [ nfvi_node, zone, zone_group, nfvi_pop ] + - valid_values: [ nfvi_node, zone, zone_group, nfvi_pop, network_link_and_node ] targets: [tosca.nodes.nfv.VNF, tosca.nodes.nfv.NsVirtualLink, tosca.nodes.nfv.NS, tosca.groups.nfv.NsPlacementGroup ] tosca.policies.nfv.NsSecurityGroupRule: @@ -460,3 +457,4 @@ policy_types: constraints: - min_length: 1 targets: [ tosca.nodes.nfv.VNF ] + diff --git a/etsi_nfv_sol001_pnfd_types.yaml b/etsi_nfv_sol001_pnfd_types.yaml index 6105408a0952d51a5d8fc185fb0dffed4b7fc493..02be48a6cd51ca95387a5090efc6a6f46f306390 100644 --- a/etsi_nfv_sol001_pnfd_types.yaml +++ b/etsi_nfv_sol001_pnfd_types.yaml @@ -1,14 +1,12 @@ -tosca_definitions_version: tosca_simple_yaml_1_2 -description: ETSI NFV SOL 001 pnfd types definitions version 2.8.1 +tosca_definitions_version: tosca_simple_yaml_1_3 +description: ETSI NFV SOL 001 pnfd types definitions version 3.3.1 metadata: template_name: etsi_nfv_sol001_pnfd_types template_author: ETSI_NFV - template_version: 2.8.1 + template_version: 3.3.1 imports: - - https://forge.etsi.org/rep/nfv/SOL001/raw/v2.8.1/etsi_nfv_sol001_common_types.yaml - # editor's note: During the development of the SOL001ed281 GS, to enable this file to be verified by a TOSCA parser, the imports statement has to be replaced with a reference to a local copy of the common definitions YAML file - + - https://forge.etsi.org/rep/nfv/SOL001/raw/v3.3.1/etsi_nfv_sol001_common_types.yaml data_types: tosca.datatypes.nfv.LocationInfo: @@ -45,7 +43,7 @@ data_types: tosca.datatypes.nfv.GeographicCoordinates: derived_from: tosca.datatypes.Root - description: Represents an element of a geographic coordinate location as specified in IETF RFC?6225 [21]. + description: Represents an element of a geographic coordinate location as specified in IETF RFC?6225. properties: latitude_uncertainty: type: string # RFC 6225 @@ -76,6 +74,8 @@ data_types: description: Altitude value as per RFC 6225 required: true + + node_types: tosca.nodes.nfv.PNF: derived_from: tosca.nodes.Root diff --git a/etsi_nfv_sol001_vnfd_types.yaml b/etsi_nfv_sol001_vnfd_types.yaml index af71eb21540cb7ebee152f624df632f0861af1b6..89825b36c13cb597a76b65a19cdc5151f69b0b0a 100644 --- a/etsi_nfv_sol001_vnfd_types.yaml +++ b/etsi_nfv_sol001_vnfd_types.yaml @@ -1,13 +1,12 @@ -tosca_definitions_version: tosca_simple_yaml_1_2 -description: ETSI NFV SOL 001 vnfd types definitions version 2.8.1 +tosca_definitions_version: tosca_simple_yaml_1_3 +description: ETSI NFV SOL 001 vnfd types definitions version 3.3.1 metadata: template_name: etsi_nfv_sol001_vnfd_types template_author: ETSI_NFV - template_version: 2.8.1 + template_version: 3.3.1 imports: - - https://forge.etsi.org/rep/nfv/SOL001/raw/v2.8.1/etsi_nfv_sol001_common_types.yaml - # editor's note: During the development of the SOL001ed281 GS, to enable this file to be verified by a TOSCA parser, the imports statement has to be replaced with a reference to a local copy of the common definitions YAML file + - https://forge.etsi.org/rep/nfv/SOL001/raw/v3.3.1/etsi_nfv_sol001_common_types.yaml data_types: tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements: @@ -360,6 +359,21 @@ data_types: type: tosca.datatypes.nfv.VnfChangeExtConnectivityOperationConfiguration description: Configuration parameters for the changeExtVnfConnectivityOpConfig operation required: false + change_current_package: + type: tosca.datatypes.nfv.VnfChangeCurrentPackageOperationConfiguration + description: Configuration parameters for the ChangeCurrentVnfPackage operation + required: false + # derived types are expected to introduce new properties, with their type derived from + # tosca.datatypes.nfv.VnfChangeCurrentPackageOperationConfiguration, + # with the same name as the operation designated to the ChangeCurrentVnfPackage request + create_snapshot: + type: tosca.datatypes.nfv.VnfCreateSnapshotOperationConfiguration + description: Configuration parameters for the CreateVnfSnapshot operation + required: false + revert_to_snapshot: + type: tosca.datatypes.nfv.VnfRevertToSnapshotOperationConfiguration + description: Configuration parameters for the RevertToVnfSnapshot operation + required: false tosca.datatypes.nfv.VnfInstantiateOperationConfiguration: derived_from: tosca.datatypes.Root @@ -880,11 +894,124 @@ data_types: type: string required: true -artifact_types: - + tosca.datatypes.nfv.VnfPackageChangeSelector: + derived_from: tosca.datatypes.Root + description: data type describes the source and destination VNFDs as well as source deployment flavour for a change current VNF Package. + properties: + source_descriptor_id: + type: string + description: Identifier of the source VNFD and the source VNF package. + required: true + destination_descriptor_id: + type: string + description: Identifier of the destination VNFD and the destination VNF package. + required: true + source_flavour_id: + type: string + description: Identifier of the deployment flavour in the source VNF package for which this data type applies. + required: true + + tosca.datatypes.nfv.VnfPackageChangeComponentMapping: + derived_from: tosca.datatypes.Root + description: A mapping between the identifier of a components or property in the source VNFD and the identifier of the corresponding component or property in the destination VNFD. + properties: + component_type: + type: string + description: The type of component or property. Possible values differentiate whether changes concern to some VNF component (e.g. VDU, internal VLD, etc.) or property (e.g. a Scaling Aspect, etc.). + constraints: + - valid_values: [ vdu, cp, virtual_link, virtual_storage, deployment_flavour, instantiation_level, scaling_aspect ] + required: true + source_id: + type: string + description: Identifier of the component or property in the source VNFD. + required: true + destination_id: + type: string + description: Identifier of the component or property in the destination VNFD. + required: true + description: + type: string + description: Human readable description of the component changes. + required: false + + tosca.datatypes.nfv.VnfChangeCurrentPackageOperationConfiguration: + derived_from: tosca.datatypes.Root + description: represents information that affect the invocation of the change current VNF Package operation. + # This data type definition is reserved for future use in the present document. + # properties: + # derived types are expected to introduce new properties, with their type derived from tosca.datatypes.nfv.VnfChangeCurrentPackageOperationConfiguration, with the same name as the operation designated to the ChangeCurrentVnfPackage request + + tosca.datatypes.nfv.VnfCreateSnapshotOperationConfiguration: + derived_from: tosca.datatypes.Root + description: represents information that affect the invocation of the CreateVnfSnapshot operation + # This data type definition is reserved for future use in the present document. + # properties: + + tosca.datatypes.nfv.VnfRevertToSnapshotOperationConfiguration: + derived_from: tosca.datatypes.Root + description: represents information that affect the invocation of the RevertToVnfSnapshot operation + # This data type definition is reserved for future use in the present document. + # properties: + +artifact_types: tosca.artifacts.nfv.SwImage: derived_from: tosca.artifacts.Deployment.Image description: describes the software image which is directly loaded on the virtualisation container realizing of the VDU or is to be loaded on a virtual storage resource + properties: + name: + type: string + description: Name of this software image + required: true + version: + type: string + description: Version of this software image + required: true + provider: + type: string + description: Provider of this software image + required: false + checksum: + type: tosca.datatypes.nfv.ChecksumData + description: Checksum of the software image file + required: true + container_format: + type: string + description: The container format describes the container file format in which software image is provided + required: true + constraints: + - valid_values: [ aki, ami, ari, bare, docker, ova, ovf ] + disk_format: + type: string + description: The disk format of a software image is the format of the underlying disk image + required: true + constraints: + - valid_values: [ aki, ami, ari, iso, qcow2, raw, vdi, vhd, vhdx, vmdk ] + min_disk: + type: scalar-unit.size # Number + description: The minimal disk size requirement for this software image + required: true + constraints: + - greater_or_equal: 0 B + min_ram: + type: scalar-unit.size # Number + description: The minimal RAM requirement for this software image + required: false + constraints: + - greater_or_equal: 0 B + size: + type: scalar-unit.size # Number + description: The size of this software image + required: true + operating_system: + type: string + description: Identifies the operating system used in the software image + required: false + supported_virtualisation_environments: + type: list + description: Identifies the virtualisation environments (e.g. hypervisor) compatible with this software image + required: false + entry_schema: + type: string tosca.artifacts.Implementation.nfv.Mistral: derived_from: tosca.artifacts.Implementation @@ -899,8 +1026,7 @@ capability_types: derived_from: tosca.capabilities.Node description: Indicates that the node that includes it can be pointed by a tosca.relationships.nfv.VirtualBindsTo relationship type which is used to model the VduHasCpd association - tosca.capabilities.nfv.VirtualCompute: - + tosca.capabilities.nfv.VirtualCompute: derived_from: tosca.capabilities.Node description: Describes the capabilities related to virtual compute resources properties: @@ -958,112 +1084,207 @@ interface_types: tosca.interfaces.nfv.Vnflcm: derived_from: tosca.interfaces.Root description: This interface encompasses a set of TOSCA operations corresponding to the VNF LCM operations defined in ETSI GS NFV-IFA 007 as well as to preamble and postamble procedures to the execution of the VNF LCM operations. - instantiate: - description: Invoked upon receipt of an Instantiate VNF request - # inputs: - # additional_parameters: - # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters - # required: false - # derived types are expected to introduce additional_parameters with its - # type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters - instantiate_start: - description: Invoked before instantiate - instantiate_end: - description: Invoked after instantiate - terminate: - description: Invoked upon receipt Terminate VNF request - # inputs: - # additional_parameters: - # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters - # required: false + operations: + instantiate: + description: Invoked upon receipt of an Instantiate VNF request + # inputs: + # additional_parameters: + # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters + # required: false # derived types are expected to introduce additional_parameters with its # type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters - terminate_start: - description: Invoked before terminate - terminate_end: - description: Invoked after terminate - modify_information: - description: Invoked upon receipt of a Modify VNF Information request - modify_information_start: - description: Invoked before modify_information - modify_information_end: - description: Invoked after modify_information - change_flavour: - description: Invoked upon receipt of a Change VNF Flavour request - # inputs: - # additional_parameters: - # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters - # required: false + instantiate_start: + description: Invoked before instantiate + instantiate_end: + description: Invoked after instantiate + terminate: + description: Invoked upon receipt Terminate VNF request + # inputs: + # additional_parameters: + # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters + # required: false # derived types are expected to introduce additional_parameters with its # type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters - change_flavour_start: - description: Invoked before change_flavour - change_flavour_end: - description: Invoked after change_flavour - change_external_connectivity: - description: Invoked upon receipt of a Change External VNF Connectivity request - # inputs: - # additional_parameters: - # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters - # required: false + terminate_start: + description: Invoked before terminate + terminate_end: + description: Invoked after terminate + modify_information: + description: Invoked upon receipt of a Modify VNF Information request + modify_information_start: + description: Invoked before modify_information + modify_information_end: + description: Invoked after modify_information + change_flavour: + description: Invoked upon receipt of a Change VNF Flavour request + # inputs: + # additional_parameters: + # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters + # required: false # derived types are expected to introduce additional_parameters with its # type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters - change_external_connectivity_start: - description: Invoked before change_external_connectivity - change_external_connectivity_end: - description: Invoked after change_external_connectivity - operate: - description: Invoked upon receipt of an Operate VNF request - # inputs: - # additional_parameters: - # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters - # required: false + change_flavour_start: + description: Invoked before change_flavour + change_flavour_end: + description: Invoked after change_flavour + change_external_connectivity: + description: Invoked upon receipt of a Change External VNF Connectivity request + # inputs: + # additional_parameters: + # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters + # required: false # derived types are expected to introduce additional_parameters with its # type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters - operate_start: - description: Invoked before operate - operate_end: - description: Invoked after operate - heal: - description: Invoked upon receipt of a Heal VNF request - # inputs: - # additional_parameters: - # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters - # required: false + change_external_connectivity_start: + description: Invoked before change_external_connectivity + change_external_connectivity_end: + description: Invoked after change_external_connectivity + operate: + description: Invoked upon receipt of an Operate VNF request + # inputs: + # additional_parameters: + # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters + # required: false # derived types are expected to introduce additional_parameters with its # type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters - heal_start: - description: Invoked before heal - heal_end: - description: Invoked after heal - scale: - description: Invoked upon receipt of a Scale VNF request - # inputs: - # additional_parameters: - # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters - # required: false + operate_start: + description: Invoked before operate + operate_end: + description: Invoked after operate + heal: + description: Invoked upon receipt of a Heal VNF request + # inputs: + # additional_parameters: + # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters + # required: false + # derived types are expected to introduce additional_parameters with its + # type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters + inputs: + cause: + type: string + description: Indicates the reason why a healing procedure is required. + required: false + vnfc_instance_ids: + type: list + entry_schema: + type: string + description: List of VNFC instances requiring a healing action. + required: false + heal_start: + description: Invoked before heal + heal_end: + description: Invoked after heal + scale: + description: Invoked upon receipt of a Scale VNF request + # inputs: + # additional_parameters: + # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters + # required: false # derived types are expected to introduce additional_parameters with its # type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters - scale_start: - description: Invoked before scale - scale_end: - description: Invoked after scale - scale_to_level: - description: Invoked upon receipt of a Scale VNF to Level request - # inputs: - # additional_parameters: - # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters - # required: false + inputs: + type: + type: string + description: Indicates the type of the scale operation requested. + constraints: + - valid_values: [ scale_out, scale_in ] + aspect: + type: string + description: Identifier of the scaling aspect. + number_of_steps: + type: integer + description: Number of scaling steps to be executed. + required: true + constraints: + - greater_than: 0 + default: 1 + scale_start: + description: Invoked before scale + scale_end: + description: Invoked after scale + scale_to_level: + description: Invoked upon receipt of a Scale VNF to Level request + # inputs: + # additional_parameters: + # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters + # required: false # derived types are expected to introduce additional_parameters with its # type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters - scale_to_level_start: - description: Invoked before scale_to_level - scale_to_level_end: - description: Invoked after scale_to_level + inputs: + instantiation_level: + type: string + description: Identifier of the target instantiation level of the current deployment flavour to which the VNF is requested to be scaled. Either instantiation_level or scale_info shall be provided. + required: false + scale_info: + type: map # key: aspectId + description: For each scaling aspect of the current deployment flavour, indicates the target scale level to which the VNF is to be scaled. Either instantiation_level or scale_info shall be provided. + required: false + entry_schema: + type: tosca.datatypes.nfv.ScaleInfo + scale_to_level_start: + description: Invoked before scale_to_level + scale_to_level_end: + description: Invoked after scale_to_level + create_snapshot: + description: Invoked upon receipt of a Create VNF snapshot request + # inputs: + # additional_parameters: + # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters + # required: false + # derived types are expected to introduce additional_parameters with its + # type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters + create_snapshot_start: + description: Invoked before create_snapshot + create_snapshot_end: + description: Invoked after create_snapshot + revert_to_snapshot: + description: Invoked upon receipt of a Revert to VNF snapshot request + # inputs: + # additional_parameters: + # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters + # required: false + # derived types are expected to introduce additional_parameters with its + # type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters + revert_to_snapshot_start: + description: Invoked before revert_to_snapshot + revert_to_snapshot_end: + description: Invoked after revert_to_snapshot + change_current_package: + description: Invoked by tosca.policies.nfv.VnfPackageChange + # inputs: + # additional_parameters: + # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters + # required: false + # derived types are expected to introduce additional_parameters with its + # type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters + change_current_package_start: + description: Invoked by tosca.policies.nfv.VnfPackageChange + change_current_package_end: + description: Invoked by tosca.policies.nfv.VnfPackageChange + notifications: + change_current_package_notification: + description: Invoked upon receipt of a ChangeCurrentVnfPackage request + change_current_package_start_notification: + description: Invoked before the operation designated to changing the current VNF package + change_current_package_end_notification: + description: Invoked after the operation designated to changing the current VNF package tosca.interfaces.nfv.VnfIndicator: - derived_from: tosca.interfaces.Root - description: This interface is an empty base interface type for deriving VNF specific interface types that include VNF indicator specific notifications. + derived_from: tosca.interfaces.Root + description: This interface is an empty base interface type for deriving VNF specific interface types that include VNF indicator specific notifications. + + tosca.interfaces.nfv.ChangeCurrentVnfPackage: + derived_from: tosca.interfaces.Root + description: This interface is an empty base interface type for deriving VNF specific interface types that include VNF Change Current VNF Package specific operation. + operations: + # operation_name: name of a VNF-specific operation serving the Change current VNF Package request. + # description: Invoked by tosca.policies.nfv.VnfPackageChange + # inputs: + # additional_parameters: + # type: tosca.datatypes.nfv.VnfOperationAdditionalParameters + # required: false + # derived types are expected to introduce additional_parameters with its + # type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters node_types: tosca.nodes.nfv.VNF: @@ -1151,6 +1372,12 @@ node_types: type: tosca.datatypes.nfv.VnfProfile description: Describes a profile for instantiating VNFs of a particular NS DF according to a specific VNFD and VNF DF required: false + attributes: + scale_status: + type: map # key: aspectId + description: Scale status of the VNF, one entry per aspect. Represents for every scaling aspect how "big" the VNF has been scaled w.r.t. that aspect. + entry_schema: + type: tosca.datatypes.nfv.ScaleInfo requirements: - virtual_link: capability: tosca.capabilities.nfv.VirtualLinkable @@ -1190,30 +1417,30 @@ node_types: description: Describes the virtual compute part of a VDU which is a construct supporting the description of the deployment and operational behavior of a VNFC properties: name: - type: string - description: Human readable name of the VDU - required: true + type: string + description: Human readable name of the VDU + required: true description: - type: string - description: Human readable description of the VDU - required: true + type: string + description: Human readable description of the VDU + required: true boot_order: - type: boolean - description: indicates whether the order of the virtual_storage requirements is used as the boot index (the first requirement represents the lowest index and defines highest boot priority) - required: true - default: false + type: boolean + description: indicates whether the order of the virtual_storage requirements is used as the boot index (the first requirement represents the lowest index and defines highest boot priority) + required: true + default: false nfvi_constraints: - type: map - description: Describes constraints on the NFVI for the VNFC instance(s) created from this VDU. This property is reserved for future use in the present document. - required: false - entry_schema: - type: string + type: map + description: Describes constraints on the NFVI for the VNFC instance(s) created from this VDU. This property is reserved for future use in the present document. + required: false + entry_schema: + type: string monitoring_parameters: - type: list - description: Describes monitoring parameters applicable to a VNFC instantiated from this VDU - required: false - entry_schema: - type: tosca.datatypes.nfv.VnfcMonitoringParameter + type: list + description: Describes monitoring parameters applicable to a VNFC instantiated from this VDU + required: false + entry_schema: + type: tosca.datatypes.nfv.VnfcMonitoringParameter #configurable_properties: #type: tosca.datatypes.nfv.VnfcConfigurableProperties #required: false @@ -1221,24 +1448,25 @@ node_types: # configurable_properties with its type derived from # tosca.datatypes.nfv.VnfcConfigurableProperties vdu_profile: - type: tosca.datatypes.nfv.VduProfile - description: Defines additional instantiation data for the VDU.Compute node - required: true + type: tosca.datatypes.nfv.VduProfile + description: Defines additional instantiation data for the VDU.Compute node + required: true sw_image_data: - type: tosca.datatypes.nfv.SwImageData - description: Defines information related to a SwImage artifact used by this Vdu.Compute node - required: false # property is required when the node template has an associated artifact of type tosca.artifacts.nfv.SwImage and not required otherwise + type: tosca.datatypes.nfv.SwImageData + description: Defines information related to a SwImage artifact used by this Vdu.Compute node + required: false # property is required when the node template has an associated artifact of type tosca.artifacts.nfv.SwImage and not required otherwise + status: deprecated boot_data: - type: tosca.datatypes.nfv.BootData - description: Contains the information used to customize a virtualised compute resource at boot time. The bootData may contain variable parts that are replaced by deployment specific values before being sent to the VIM. - required: false + type: tosca.datatypes.nfv.BootData + description: Contains the information used to customize a virtualised compute resource at boot time. The bootData may contain variable parts that are replaced by deployment specific values before being sent to the VIM. + required: false capabilities: virtual_compute: - type: tosca.capabilities.nfv.VirtualCompute - occurrences: [ 1, 1 ] + type: tosca.capabilities.nfv.VirtualCompute + occurrences: [ 1, 1 ] virtual_binding: - type: tosca.capabilities.nfv.VirtualBindable - occurrences: [ 1, UNBOUNDED ] + type: tosca.capabilities.nfv.VirtualBindable + occurrences: [ 1, UNBOUNDED ] requirements: - virtual_storage: capability: tosca.capabilities.nfv.VirtualStorage @@ -1257,6 +1485,7 @@ node_types: type: tosca.datatypes.nfv.SwImageData description: Defines information related to a SwImage artifact used by this Vdu.Compute node. required: false # property is required when the node template has an associated artifact of type tosca.artifacts.nfv.SwImage and not required otherwise + status: deprecated capabilities: virtual_storage: type: tosca.capabilities.nfv.VirtualStorage @@ -1523,7 +1752,7 @@ policy_types: description: scope of the rule is an NFVI_node, an NFVI_PoP, etc. required: true constraints: - - valid_values: [ nfvi_node, zone, zone_group, nfvi_pop ] + - valid_values: [ nfvi_node, zone, zone_group, nfvi_pop, network_link_and_node ] targets: [ tosca.nodes.nfv.Vdu.Compute, tosca.nodes.nfv.VnfVirtualLink, tosca.groups.nfv.PlacementGroup ] tosca.policies.nfv.AntiAffinityRule: @@ -1535,7 +1764,7 @@ policy_types: description: scope of the rule is an NFVI_node, an NFVI_PoP, etc. required: true constraints: - - valid_values: [ nfvi_node, zone, zone_group, nfvi_pop ] + - valid_values: [ nfvi_node, zone, zone_group, nfvi_pop, network_link_and_node ] targets: [ tosca.nodes.nfv.Vdu.Compute, tosca.nodes.nfv.VnfVirtualLink, tosca.groups.nfv.PlacementGroup ] tosca.policies.nfv.SupportedVnfInterface: @@ -1558,3 +1787,47 @@ policy_types: derived_from: tosca.policies.nfv.Abstract.SecurityGroupRule description: The SecurityGroupRule type is a policy type specified the matching criteria for the ingress and/or egress traffic to/from visited connection points as defined in ETSI GS NFV-IFA 011 [1]. targets: [ tosca.nodes.nfv.VduCp, tosca.nodes.nfv.VnfExtCp ] + + tosca.policies.nfv.VnfIndicator: + derived_from: tosca.policies.Root + description: The VnfIndicator policy type is a base policy type for defining VNF indicator specific policies that define the conditions to assess and the action to perform when a VNF indicator changes value as defined in ETSI GS NFV-IFA 011 [1]. + properties: + source: + type: string + description: Describe the source of the indicator. + required: true + constraints: + - valid_values: [ vnf, em, both_vnf_and_em ] + targets: [ tosca.nodes.nfv.VNF ] + + tosca.policies.nfv.VnfPackageChange: + derived_from: tosca.policies.Root + description: policy type specifying the processes and rules to be used for performing the resource related tasks, to change VNF instance to a different VNF Package (destination package) + properties: + selector: + type: tosca.datatypes.nfv.VnfPackageChangeSelector + description: Information to identify the source and destination VNFD for the change, and the related deployment flavours. + required: true + modification_qualifier: + type: string + description: Specifies the type of modification resulting from transitioning from srcVnfdId to dstVnfdId. The possible values are UP indicating that the destination VNF version is newer than the source version, DOWN indicating that the destination VNF version is older than the source version. + constraints: [ valid_values: [ up, down ] ] + required: true + additional_modification_description: + type: string + description: Additional information to qualify further the change between the two versions. + required: false + component_mappings: + type: list + entry_schema: + type: tosca.datatypes.nfv.VnfPackageChangeComponentMapping + description: Mapping information related to identifiers of components in source VNFD and destination VNFD that concern to the change process. + required: false + destination_flavour_id: + type: string + description: Identifies the deployment flavour in the destination VNF package for which this change applies. The flavour ID is defined in the destination VNF package. + required: true + + + +