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,6 +124,7 @@ 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.
operations:
instantiate_start:
description: Preamble to execution of the instantiate operation
instantiate:
......@@ -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
......@@ -900,7 +1027,6 @@ capability_types:
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:
derived_from: tosca.capabilities.Node
description: Describes the capabilities related to virtual compute resources
properties:
......@@ -958,6 +1084,7 @@ 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.
operations:
instantiate:
description: Invoked upon receipt of an Instantiate VNF request
# inputs:
......@@ -1032,6 +1159,17 @@ interface_types:
# 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:
......@@ -1044,6 +1182,22 @@ interface_types:
# required: false
# derived types are expected to introduce additional_parameters with its
# type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters
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:
......@@ -1056,15 +1210,82 @@ interface_types:
# required: false
# derived types are expected to introduce additional_parameters with its
# type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters
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.
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:
derived_from: tosca.nodes.Root
......@@ -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
......@@ -1228,6 +1455,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
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.
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment