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 tosca_definitions_version: tosca_simple_yaml_1_3
description: ETSI NFV SOL 001 common types definitions version 2.8.1 description: ETSI NFV SOL 001 common types definitions version 3.3.1
metadata: metadata:
template_name: etsi_nfv_sol001_common_types template_name: etsi_nfv_sol001_common_types
template_author: ETSI_NFV template_author: ETSI_NFV
template_version: 2.8.1 template_version: 3.3.1
data_types: data_types:
tosca.datatypes.nfv.L2AddressData: tosca.datatypes.nfv.L2AddressData:
...@@ -29,7 +29,7 @@ data_types: ...@@ -29,7 +29,7 @@ data_types:
required: true required: true
ip_address_type: ip_address_type:
type: string 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 required: false
constraints: constraints:
- valid_values: [ ipv4, ipv6 ] - valid_values: [ ipv4, ipv6 ]
...@@ -132,6 +132,12 @@ data_types: ...@@ -132,6 +132,12 @@ data_types:
required: true required: true
constraints: constraints:
- greater_or_equal: 0 - 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: tosca.datatypes.nfv.Qos:
derived_from: tosca.datatypes.Root derived_from: tosca.datatypes.Root
...@@ -273,3 +279,5 @@ policy_types: ...@@ -273,3 +279,5 @@ policy_types:
- greater_or_equal: 0 - greater_or_equal: 0
- less_or_equal: 65535 - less_or_equal: 65535
default: 65535 default: 65535
tosca_definitions_version: tosca_simple_yaml_1_2 tosca_definitions_version: tosca_simple_yaml_1_3
description: ETSI NFV SOL 001 nsd types definitions version 2.8.1 description: ETSI NFV SOL 001 nsd types definitions version 3.3.1
metadata: metadata:
template_name: etsi_nfv_sol001_nsd_types template_name: etsi_nfv_sol001_nsd_types
template_author: ETSI_NFV template_author: ETSI_NFV
template_version: 2.8.1 template_version: 3.3.1
imports: 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/v3.3.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/v3.3.1/etsi_nfv_sol001_vnfd_types.yaml
- https://forge.etsi.org/rep/nfv/SOL001/raw/v2.8.1/etsi_nfv_sol001_pnfd_types.yaml - https://forge.etsi.org/rep/nfv/SOL001/raw/v3.3.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
data_types: 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: tosca.datatypes.nfv.NsVlProfile:
derived_from: tosca.datatypes.Root derived_from: tosca.datatypes.Root
description: Describes additional instantiation data for a given NsVirtualLink used in a specific NS deployment flavour. description: Describes additional instantiation data for a given NsVirtualLink used in a specific NS deployment flavour.
...@@ -40,10 +28,12 @@ data_types: ...@@ -40,10 +28,12 @@ data_types:
type: tosca.datatypes.nfv.NsVirtualLinkQos type: tosca.datatypes.nfv.NsVirtualLinkQos
description: Specifies the QoS requirements of a VL instantiated according to this profile. description: Specifies the QoS requirements of a VL instantiated according to this profile.
required: false required: false
service_availability: service_availability_level:
type: tosca.datatypes.nfv.ServiceAvailability type: integer
description: Network service virtual link service availability levels, as described in ETSI GS NFV-REL 001 description: Specifies the service availability level for the VL instance created from this profile
required: false required: false
constraints:
- greater_or_equal: 1
tosca.datatypes.nfv.NsVirtualLinkQos: tosca.datatypes.nfv.NsVirtualLinkQos:
derived_from: tosca.datatypes.nfv.Qos derived_from: tosca.datatypes.nfv.Qos
...@@ -134,48 +124,49 @@ interface_types: ...@@ -134,48 +124,49 @@ interface_types:
tosca.interfaces.nfv.Nslcm: tosca.interfaces.nfv.Nslcm:
derived_from: tosca.interfaces.Root 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. 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: operations:
description: Preamble to execution of the instantiate operation instantiate_start:
instantiate: description: Preamble to execution of the instantiate operation
description: Base procedure for instantiating an NS, corresponding to the Instantiate NS operation defined in ETSI GS NFV-IFA 013. instantiate:
# inputs: description: Base procedure for instantiating an NS, corresponding to the Instantiate NS operation defined in ETSI GS NFV-IFA 013.
# additional_parameters: # inputs:
# type: tosca.datatypes.nfv.NsOperationAdditionalParameters # additional_parameters:
# required: false # type: tosca.datatypes.nfv.NsOperationAdditionalParameters
instantiate_end: # required: false
description: Postamble to the execution of the instantiate operation instantiate_end:
terminate_start: description: Postamble to the execution of the instantiate operation
description: Preamble to execution of the terminate operation terminate_start:
terminate: description: Preamble to execution of the terminate operation
description: Base procedure for terminating an NS, corresponding to the Terminate NS operation defined in ETSI GS NFV-IFA 013. terminate:
terminate_end: description: Base procedure for terminating an NS, corresponding to the Terminate NS operation defined in ETSI GS NFV-IFA 013.
description: Postamble to the execution of the terminate operation terminate_end:
update_start: description: Postamble to the execution of the terminate operation
description: Preamble to execution of the update operation update_start:
update: description: Preamble to execution of the update operation
description: Base procedure for updating an NS, corresponding to the Update NS operation defined in ETSI GS NFV-IFA 013. update:
update_end: description: Base procedure for updating an NS, corresponding to the Update NS operation defined in ETSI GS NFV-IFA 013.
description: Postamble to the execution of the update operation update_end:
scale_start: description: Postamble to the execution of the update operation
description: Preamble to execution of the scale operation scale_start:
scale: description: Preamble to execution of the scale operation
description: Base procedure for scaling an NS, corresponding to the Scale NS operation defined in ETSI GS NFV-IFA 013. scale:
# inputs: description: Base procedure for scaling an NS, corresponding to the Scale NS operation defined in ETSI GS NFV-IFA 013.
# additional_parameters: # inputs:
# type: tosca.datatypes.nfv.NsOperationAdditionalParameters # additional_parameters:
# required: false # type: tosca.datatypes.nfv.NsOperationAdditionalParameters
scale_end: # required: false
description: Postamble to the execution of the scale operation scale_end:
heal_start: description: Postamble to the execution of the scale operation
description: Preamble to execution of the heal operation heal_start:
heal: description: Preamble to execution of the heal operation
description: Base procedure for healing an NS, corresponding to the Heal NS operation defined in ETSI GS NFV-IFA 013. heal:
# inputs: description: Base procedure for healing an NS, corresponding to the Heal NS operation defined in ETSI GS NFV-IFA 013.
# additional_parameters: # inputs:
# type: tosca.datatypes.nfv.NsOperationAdditionalParameters # additional_parameters:
# required: false # type: tosca.datatypes.nfv.NsOperationAdditionalParameters
heal_end: # required: false
description: Postamble to the execution of the heal operation heal_end:
description: Postamble to the execution of the heal operation
node_types: node_types:
tosca.nodes.nfv.NS: tosca.nodes.nfv.NS:
...@@ -209,6 +200,12 @@ node_types: ...@@ -209,6 +200,12 @@ node_types:
type: tosca.datatypes.nfv.NsProfile type: tosca.datatypes.nfv.NsProfile
description: Specifies a profile of a NS, when this NS is used as nested NS within another NS. description: Specifies a profile of a NS, when this NS is used as nested NS within another NS.
required: false 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: requirements:
- virtual_link: - virtual_link:
capability: tosca.capabilities.nfv.VirtualLinkable capability: tosca.capabilities.nfv.VirtualLinkable
...@@ -353,7 +350,7 @@ policy_types: ...@@ -353,7 +350,7 @@ policy_types:
description: Specifies the scope of the local affinity rule. description: Specifies the scope of the local affinity rule.
required: true required: true
constraints: 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 ] targets: [tosca.nodes.nfv.VNF, tosca.nodes.nfv.NsVirtualLink, tosca.nodes.nfv.NS, tosca.groups.nfv.NsPlacementGroup ]
tosca.policies.nfv.NsAntiAffinityRule: tosca.policies.nfv.NsAntiAffinityRule:
...@@ -365,7 +362,7 @@ policy_types: ...@@ -365,7 +362,7 @@ policy_types:
description: Specifies the scope of the local affinity rule.. description: Specifies the scope of the local affinity rule..
required: true required: true
constraints: 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 ] targets: [tosca.nodes.nfv.VNF, tosca.nodes.nfv.NsVirtualLink, tosca.nodes.nfv.NS, tosca.groups.nfv.NsPlacementGroup ]
tosca.policies.nfv.NsSecurityGroupRule: tosca.policies.nfv.NsSecurityGroupRule:
...@@ -460,3 +457,4 @@ policy_types: ...@@ -460,3 +457,4 @@ policy_types:
constraints: constraints:
- min_length: 1 - min_length: 1
targets: [ tosca.nodes.nfv.VNF ] targets: [ tosca.nodes.nfv.VNF ]
tosca_definitions_version: tosca_simple_yaml_1_2 tosca_definitions_version: tosca_simple_yaml_1_3
description: ETSI NFV SOL 001 pnfd types definitions version 2.8.1 description: ETSI NFV SOL 001 pnfd types definitions version 3.3.1
metadata: metadata:
template_name: etsi_nfv_sol001_pnfd_types template_name: etsi_nfv_sol001_pnfd_types
template_author: ETSI_NFV template_author: ETSI_NFV
template_version: 2.8.1 template_version: 3.3.1
imports: 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/v3.3.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
data_types: data_types:
tosca.datatypes.nfv.LocationInfo: tosca.datatypes.nfv.LocationInfo:
...@@ -45,7 +43,7 @@ data_types: ...@@ -45,7 +43,7 @@ data_types:
tosca.datatypes.nfv.GeographicCoordinates: tosca.datatypes.nfv.GeographicCoordinates:
derived_from: tosca.datatypes.Root 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: properties:
latitude_uncertainty: latitude_uncertainty:
type: string # RFC 6225 type: string # RFC 6225
...@@ -76,6 +74,8 @@ data_types: ...@@ -76,6 +74,8 @@ data_types:
description: Altitude value as per RFC 6225 description: Altitude value as per RFC 6225
required: true required: true
node_types: node_types:
tosca.nodes.nfv.PNF: tosca.nodes.nfv.PNF:
derived_from: tosca.nodes.Root derived_from: tosca.nodes.Root
......
This diff is collapsed.
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