Commit c1657dc0 authored by vreck's avatar vreck
Browse files

Update etsi_nfv_sol001_common_types.yaml, etsi_nfv_sol001_nsd_types.yaml,...

Update etsi_nfv_sol001_common_types.yaml, etsi_nfv_sol001_nsd_types.yaml, etsi_nfv_sol001_pnfd_types.yaml, etsi_nfv_sol001_vnfd_types.yaml files
parent ac6deaaf
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
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 ]
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
......
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: