Commit 658b6c4d authored by Laurent Vreck's avatar Laurent Vreck
Browse files

Update etsi_nfv_sol001_nsd_types.yaml, etsi_nfv_sol001_pnfd_types.yaml,...

Update etsi_nfv_sol001_nsd_types.yaml, etsi_nfv_sol001_pnfd_types.yaml, etsi_nfv_sol001_common_types.yaml, etsi_nfv_sol001_vnfd_types.yaml files
parent 5e39e83c
Loading
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -296,5 +296,3 @@ policy_types:
          - greater_or_equal: 0
          - less_or_equal: 65535
        default: 65535

+100 −73
Original line number Diff line number Diff line
tosca_definitions_version: tosca_simple_yaml_1_3
description: ETSI NFV SOL 001 nsd types definitions version 3.6.1
description: ETSI NFV SOL 001 nsd types definitions version 3.7.1
metadata:
  template_name: etsi_nfv_sol001_nsd_types
  template_author: ETSI_NFV
  template_version: 3.6.1
  template_version: 3.7.1

imports:
     - https://forge.etsi.org/rep/nfv/SOL001/raw/v3.6.1/etsi_nfv_sol001_common_types.yaml
     - https://forge.etsi.org/rep/nfv/SOL001/raw/v3.6.1/etsi_nfv_sol001_vnfd_types.yaml
     - https://forge.etsi.org/rep/nfv/SOL001/raw/v3.6.1/etsi_nfv_sol001_pnfd_types.yaml
# editor's note: During the development of the SOL001ed361 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/3.7.1/etsi_nfv_sol001_common_types.yaml
  - https://forge.etsi.org/rep/nfv/SOL001/raw/3.7.1/etsi_nfv_sol001_vnfd_types.yaml
  - https://forge.etsi.org/rep/nfv/SOL001/raw/3.7.1/etsi_nfv_sol001_pnfd_types.yaml

data_types:

  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.
@@ -72,10 +72,6 @@ data_types:
        required: true
        constraints:
          - greater_or_equal: 0
      flavour_id:
        type: string
        description: Identifies the applicable network service DF within the scope of the NSD.
        required: true

  tosca.datatypes.nfv.Mask:
    derived_from: tosca.datatypes.Root
@@ -83,10 +79,14 @@ data_types:
      starting_point: 
        description: Indicates the offset between the last bit of the source mac address and the first bit of the sequence of bits to be matched.
        type: integer
        constraints:
          - greater_or_equal: 1
        required: true    
      length: 
        description: Indicates the number of bits to be matched.
        type: integer
        constraints:
          - greater_or_equal: 1
        required: true
      value:
        description: Provide the sequence of bit values to be matched.
@@ -163,7 +163,7 @@ data_types:
          - greater_than: 0 
      segmentation_id:
        type: string
        description: Specifies a specific virtualised network segment, which depends on the network type. For e.g., VLAN ID for VLAN network type and tunnel ID for GRE/VXLAN network types
        description: Specifies a specific virtualised network segment, which depends on the network type. For e.g. VLAN ID for VLAN network type and tunnel ID for GRE/VXLAN network types
        required: false

  tosca.datatypes.nfv.NsL3ProtocolData:
@@ -222,6 +222,8 @@ data_types:
        required: true
        key_schema: 
          type: integer # Integer type in order to number the levels. First level is level 0.
          constraints:
            - greater_or_equal: 0
        entry_schema:
          type: tosca.datatypes.nfv.NsLevels

@@ -234,7 +236,7 @@ data_types:
        description: Human readable description of the Ns level
        required: true

  tosca.datatypes.nfv.scaleNsByStepsData:
  tosca.datatypes.nfv.ScaleNsByStepsData:
    derived_from: tosca.datatypes.Root
    description: describes the information needed to scale an NS instance by one or more scaling steps, with respect to a particular NS scaling aspect
    properties:
@@ -256,7 +258,7 @@ data_types:
          - greater_than: 0
        default: 1

  tosca.datatypes.nfv.scaleNsToLevelData:
  tosca.datatypes.nfv.ScaleNsToLevelData:
    derived_from: tosca.datatypes.Root
    description: describes the information needed to scale an NS instance to a target size.
    properties:
@@ -270,29 +272,35 @@ data_types:
        required: false
        entry_schema:
          type: integer
          constraints:
            - greater_or_equal: 0
        

capability_types:

  tosca.capabilities.nfv.Forwarding:
    derived_from: tosca.capabilities.Root

relationship_types:

  tosca.relationships.nfv.ForwardTo:
    derived_from: tosca.relationships.Root
    valid_target_types: [ tosca.capabilities.nfv.Forwarding ]

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.
    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:
        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 
        inputs:
          additional_parameters:
            type: tosca.datatypes.nfv.NsOperationAdditionalParameters
            required: false
      instantiate_end:
        description: Postamble to the execution of the instantiate operation
      terminate_start:
@@ -311,17 +319,16 @@ interface_types:
        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 
        inputs:
          additional_parameters:
            type: tosca.datatypes.nfv.NsOperationAdditionalParameters
            required: false
          scale_ns_by_steps_data:
            type: tosca.datatypes.nfv.scaleNsByStepsData
            type: tosca.datatypes.nfv.ScaleNsByStepsData
            description: Describes the information needed to scale an NS instance by one or more scaling steps, with respect to a particular NS scaling aspect as defined in ETSI GS NFV-IFA 013. Either scale_ns_by_steps_data or scale_ns_to_level_data shall be provided.
            required: false
          scale_ns_to_level_data:
            type: tosca.datatypes.nfv.scaleNsToLevelData
            type: tosca.datatypes.nfv.ScaleNsToLevelData
            description: Describes the information needed to scale an NS instance to a target size as defined in ETSI GS NFV-IFA 013. Either scale_ns_by_steps_data or scale_ns_to_level_data shall be provided.
            required: false
      scale_end:
@@ -330,10 +337,10 @@ interface_types:
        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 
        inputs:
          additional_parameters:
            type: tosca.datatypes.nfv.NsOperationAdditionalParameters
            required: false
      heal_end:
        description: Postamble to the execution of the heal operation

@@ -342,6 +349,7 @@ interface_types:
    description: This interface is an empty base interface type for deriving NS specific interface types that include VNF indicator specific notifications which will be used in a NS.

node_types:

  tosca.nodes.nfv.NS:
    derived_from: tosca.nodes.Root
    properties: 
@@ -391,6 +399,8 @@ node_types:
        description: Scale status of the NS, one entry per aspect. Represents for every scaling aspect how "big" the NS has been scaled w.r.t. that aspect.
        entry_schema:
          type: integer
          constraints:
            - greater_or_equal: 0
    requirements:
      - virtual_link:
          capability: tosca.capabilities.nfv.VirtualLinkable
@@ -404,6 +414,9 @@ node_types:
  tosca.nodes.nfv.Sap:
    derived_from: tosca.nodes.nfv.Cp
    description: node definition of SAP.
    capabilities:
      forwarding:
        type: tosca.capabilities.nfv.Forwarding
    requirements:
      - external_virtual_link:
          capability: tosca.capabilities.nfv.VirtualLinkable
@@ -453,6 +466,16 @@ node_types:
          relationship: tosca.relationships.nfv.ForwardTo
          occurrences: [ 1, 2 ]  #When the number of occurrences is 1, the ingress and egress traffic is associated to a single VnfExtCp or Sap; When the number of occurrences is 2, the ingress VnfExtCp or Sap is associated to the first value and the egress VnfExtCp or Sap is associated to the second value.

  tosca.nodes.nfv.NFP:
    derived_from: tosca.nodes.Root
    description: node definition of NFP
    requirements:
      - nfp_position:
          capability: tosca.capabilities.nfv.Forwarding
          node: tosca.nodes.nfv.NfpPosition
          relationship: tosca.relationships.nfv.ForwardTo
          occurrences: [ 1, UNBOUNDED ]

  tosca.nodes.nfv.NfpPosition:
    derived_from: tosca.nodes.Root
    description: node definition of NFP position
@@ -463,12 +486,12 @@ node_types:
        constraints:
          - valid_values: [ all, lb, ff ]
        required: false
#     forwarding_behaviour_input_parameters: 
#       description: Provides input parameters to configure the forwarding behaviour.
#       type: map
#       required: false
#       entry_schema:
#         type: strin
      forwarding_behaviour_input_parameters: 
        description: Provides input parameters to configure the forwarding behaviour.
        type: map
        required: false
        entry_schema:
          type: string
    capabilities:
      forwarding: 
        type: tosca.capabilities.nfv.Forwarding
@@ -479,16 +502,6 @@ node_types:
          relationship: tosca.relationships.nfv.ForwardTo
          occurrences: [ 1, UNBOUNDED ]

  tosca.nodes.nfv.NFP:
    derived_from: tosca.nodes.Root
    description: node definition of NFP
    requirements:
      - nfp_position:
          capability: tosca.capabilities.nfv.Forwarding
          node: tosca.nodes.nfv.NfpPosition
          relationship: tosca.relationships.nfv.ForwardTo
          occurrences: [ 1, UNBOUNDED ]

  tosca.nodes.nfv.Forwarding:
    derived_from: tosca.nodes.Root
    capabilities:
@@ -503,6 +516,7 @@ node_types:
          relationship: tosca.relationships.nfv.VirtualLinksTo

group_types:

  tosca.groups.nfv.NsPlacementGroup:
    derived_from: tosca.groups.Root
    description: NsPlacementGroup is used for describing the affinity or anti-affinity relationship applicable between VNF instances created using different VNFDs, the Virtual Link instances created using different VLDs or the nested NS instances created using different NSDs when used in a NSD.
@@ -523,8 +537,8 @@ group_types:
        required: true
    members: [ tosca.nodes.nfv.NFP, tosca.nodes.nfv.VNF, tosca.nodes.nfv.PNF, tosca.nodes.nfv.NS, tosca.nodes.nfv.NsVirtualLink, tosca.nodes.nfv.NfpPositionElement ]


policy_types:

  tosca.policies.nfv.NsAffinityRule:
    derived_from: tosca.policies.Placement
    description: The NsAffinityRule describes the affinity rules applicable for the defined targets
@@ -573,17 +587,17 @@ policy_types:
          - valid_values: [ ipv4, ipv6 ]
        required: false
      vlan_tag:
        description: Indicates a VLAN identifier in an IEEE 802.1Q-2014 tag [14]. Multiple tags can be included for QinQ stacking.
        description: Indicates a VLAN identifier in an IEEE 802.1Q-2014 tag. Multiple tags can be included for QinQ stacking.
        type: list
        entry_schema:
          type: string
        required: false            
      protocol:
        description: 'Indicates the L4 protocol, For IPv4 [15] this corresponds to the field called "Protocol" to identify the next level protocol. For IPv6 [16] this corresponds to the field is called the "Next Header" field. Permitted values: Any keyword defined in the IANA [17] protocol registry.'
        description: 'Indicates the L4 protocol, For IPv4 this corresponds to the field called "Protocol" to identify the next level protocol. For IPv6 this corresponds to the field is called the "Next Header" field. Permitted values: Any keyword defined in the IAN protocol registry.'
        type: string
        required: false
      dscp:
        description: For IPv4 [15] a string of "0" and "1" digits that corresponds to the 6-bit Differentiated Services Code Point (DSCP) field of the IP header. For IPv6 [16] a string of "0" and "1" digits that corresponds to the 6 differentiated services bits of the traffic class header field.
        description: For IPv4 a string of "0" and "1" digits that corresponds to the 6-bit Differentiated Services Code Point (DSCP) field of the IP header. For IPv6 a string of "0" and "1" digits that corresponds to the 6 differentiated services bits of the traffic class header field.
        type: string
        required: false
      source_port_range:
@@ -616,7 +630,7 @@ policy_types:

  tosca.policies.nfv.NsMonitoring:
    derived_from: tosca.policies.Root
    description: Policy type is used to identify information to be monitored during the lifetime of a network service instance as defined in ETSI GS NFV-IFA 014 [2].
    description: Policy type is used to identify information to be monitored during the lifetime of a network service instance as defined in ETSI GS NFVIFA 014.
    properties:
      ns_monitoring_parameters:
        type: map #key: id
@@ -630,7 +644,7 @@ policy_types:

  tosca.policies.nfv.VnfMonitoring:
    derived_from: tosca.policies.Root
    description: Policy type is used to identify information to be monitored during the lifetime of a VNF instance as defined in ETSI GS NFV-IFA 014 [2].
    description: Policy type is used to identify information to be monitored during the lifetime of a VNF instance as defined in ETSI GS NFV-IFA 014.
    properties:
      vnf_monitoring_parameters:
        type: map #key: id
@@ -644,7 +658,7 @@ policy_types:

  tosca.policies.nfv.NsScalingAspects:
    derived_from: tosca.policies.Root
    description: The ScalingAspects type is a policy type representing the scaling aspects used for horizontal scaling as defined in ETSI GS NFV-IFA 014 [2]
    description: The NsScalingAspects type is a policy type representing the scaling aspects used for horizontal scaling as defined in ETSI GS NFV-IFA 014
    properties:
      aspects:
        type: map # key: aspectId
@@ -657,7 +671,7 @@ policy_types:

  tosca.policies.nfv.VnfToLevelMapping:
    derived_from: tosca.policies.Root
    description: The VnfToLevelMapping type is a policy type representing the number of VNF instances to be deployed at each NS level, as defined in ETSI GS NFV-IFA 014 [2]
    description: The VnfToLevelMapping type is a policy type representing the number of VNF instances to be deployed at each NS level, as defined in ETSI GS NFV-IFA 014
    properties:
      aspect:
        type: string
@@ -669,15 +683,19 @@ policy_types:
        required: true
        key_schema: 
          type: integer # First level is level 0.
          constraints:
            - greater_or_equal: 0
        entry_schema:
          type: integer 
          constraints:
            - greater_or_equal: 0 
        constraints:
          - min_length: 1
    targets: [ tosca.nodes.nfv.VNF ]

  tosca.policies.nfv.NsToLevelMapping:
    derived_from: tosca.policies.Root
    description: The NsToLevelMapping type is a policy type representing the number of NS instances of a nested NS to be deployed at each NS level of the composite NS, as defined in ETSI GS NFV-IFA 014 [2]
    description: The NsToLevelMapping type is a policy type representing the number of NS instances of a nested NS to be deployed at each NS level of the composite NS, as defined in ETSI GS NFV-IFA 014
    properties:
      aspect:
        type: string
@@ -689,15 +707,19 @@ policy_types:
        required: true
        key_schema: 
          type: integer # First level is level 0.
          constraints:
            - greater_or_equal: 0
        entry_schema:
          type: integer 
          constraints:
            - greater_or_equal: 0
        constraints:
          - min_length: 1
    targets: [ tosca.nodes.nfv.NS ]

  tosca.policies.nfv.VirtualLinkToLevelMapping:
    derived_from: tosca.policies.Root
    description: The VirtualLinkToLevelMapping type is a policy type representing the number of NS instances of a nested NS to be deployed at each NS level of the composite NS, as defined in ETSI GS NFV-IFA 014 [2]
    description: The VirtualLinkToLevelMapping type is a policy type representing the number of NS instances of a nested NS to be deployed at each NS level of the composite NS, as defined in ETSI GS NFV-IFA 014
    properties:
      aspect:
        type: string
@@ -709,6 +731,8 @@ policy_types:
        required: true
        key_schema:
          type: integer # First level is level 0.
          constraints:
            - greater_or_equal: 0
        entry_schema:
          type: tosca.datatypes.nfv.LinkBitrateRequirements 
        constraints:
@@ -717,7 +741,7 @@ policy_types:

  tosca.policies.nfv.NsInstantiationLevels:
    derived_from: tosca.policies.Root
    description: The NsInstantiationLevels type is a policy type representing all the instantiation levels of resources to be instantiated within a deployment flavour and including default instantiation level in term of the number of VNF and nested NS instances to be created as defined in ETSI GS NFV-IFA 014 [2].
    description: The NsInstantiationLevels type is a policy type representing all the instantiation levels of resources to be instantiated within a deployment flavour and including default instantiation level in term of the number of VNF and nested NS instances to be created as defined in ETSI GS NFV-IFA 014.
    properties:
      ns_levels:
        type: map # key: levelId
@@ -734,7 +758,7 @@ policy_types:

  tosca.policies.nfv.VnfToInstantiationLevelMapping:
    derived_from: tosca.policies.Root
    description: The VnfToInstantiationLevelMapping type is a policy type representing the number of VNF instances to be deployed at each NS instantiation level, as defined in ETSI GS NFV-IFA 014 [2]
    description: The VnfToInstantiationLevelMapping type is a policy type representing the number of VNF instances to be deployed at each NS instantiation level, as defined in ETSI GS NFV-IFA 014
    properties:
      number_of_instances:
        type: map # key: Ns instantiation level
@@ -742,13 +766,15 @@ policy_types:
        required: true
        entry_schema:
          type: integer
          constraints:
            - greater_or_equal: 0
        constraints:
          - min_length: 1
    targets: [ tosca.nodes.nfv.VNF ]

  tosca.policies.nfv.NsToInstantiationLevelMapping:
    derived_from: tosca.policies.Root
    description: The NsToInstantiationLevelMapping type is a policy type representing the number of NS instances of a nested NS to be deployed at each NS instantiation level of the composite NS, as defined in ETSI GS NFV-IFA 014 [2]
    description: The NsToInstantiationLevelMapping type is a policy type representing the number of NS instances of a nested NS to be deployed at each NS instantiation level of the composite NS, as defined in ETSI GS NFV-IFA 014
    properties:
      number_of_instances:
        type: map # key: Ns instantiation level
@@ -756,13 +782,15 @@ policy_types:
        required: true
        entry_schema:
          type: integer 
          constraints:
            - greater_or_equal: 0
        constraints:
          - min_length: 1
    targets: [ tosca.nodes.nfv.NS ]

  tosca.policies.nfv.VirtualLinkToInstantiationLevelMapping:
    derived_from: tosca.policies.Root
    description: The VirtualLinkToInstantiationLevelMapping type is a policy type describing the bitrate requirements of a VL at each NS instantiation level of the composite NS, as defined in ETSI GS NFV-IFA 014 [2]
    description: The VirtualLinkToInstantiationLevelMapping type is a policy type describing the bitrate requirements of a VL at each NS instantiation level of the composite NS, as defined in ETSI GS NFV-IFA 014
    properties:
      bit_rate_requirements:
        type: map # key: Ns instantiation level
@@ -776,6 +804,5 @@ policy_types:

  tosca.policies.nfv.NsAutoScale:
    derived_from: tosca.policies.Root
    description: The NsAutoScale policy type is a base policy type for defining NS auto-scale specific policies as defined in ETSI GS NFV-IFA 014 [2].
    description: The NsAutoScale policy type is a base policy type for defining NS auto-scale specific policies as defined in ETSI GS NFV-IFA 014.
    targets: [ tosca.nodes.nfv.NS ]
+39 −36
Original line number Diff line number Diff line
tosca_definitions_version: tosca_simple_yaml_1_3
description: ETSI NFV SOL 001 pnfd types definitions version 3.6.1
description: ETSI NFV SOL 001 pnfd types definitions version 3.7.1
metadata:
  template_name: etsi_nfv_sol001_pnfd_types
  template_author: ETSI_NFV
  template_version: 3.6.1
  template_version: 3.7.1

imports:
     - https://forge.etsi.org/rep/nfv/SOL001/raw/v3.6.1/etsi_nfv_sol001_common_types.yaml
  - https://forge.etsi.org/rep/nfv/SOL001/raw/3.7.1/etsi_nfv_sol001_common_types.yaml

data_types:

  tosca.datatypes.nfv.LocationInfo:
    derived_from: tosca.datatypes.Root
    description: Represents geographical information on the location where a PNF is deployed.
@@ -30,7 +31,7 @@ data_types:

  tosca.datatypes.nfv.CivicAddressElement:
    derived_from: tosca.datatypes.Root
    description: Represents an element of a civic location as specified in IETF  RFC 4776 [11]. 
    description: Represents an element of a civic location as specified in IETF RFC 4776. 
    properties:
      ca_type:
        type: string # RFC4776
@@ -43,7 +44,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. 
    description: Represents an element of a geographic coordinate location as specified in IETF RFC 6225. 
    properties:
      latitude_uncertainty:
        type: string # RFC 6225
@@ -75,6 +76,7 @@ data_types:
        required: true

node_types:

  tosca.nodes.nfv.PNF:
    derived_from: tosca.nodes.Root
    properties: 
@@ -105,7 +107,7 @@ node_types:
      geographical_location_info: 
        type: tosca.datatypes.nfv.LocationInfo 
        required: false
       description: Provides information about the geographical location (e.g. geographic coordinates or address of the building, etc.) of the PNF
        description: Provides information about the geographical location (e.g. geographic coordinates or address of the building, etc.) of the PNF.
    requirements:
      - virtual_link:
          capability: tosca.capabilities.nfv.VirtualLinkable
@@ -123,6 +125,7 @@ node_types:
          occurrences: [0, 1]

policy_types:

  tosca.policies.nfv.PnfSecurityGroupRule:
    derived_from: tosca.policies.nfv.Abstract.SecurityGroupRule
    description: The PnfSecurityGroupRule type is a policy type specified the matching criteria for the ingress and/or egress traffic to/from visited PNF external connection points.
+1040 −1036

File changed.

Preview size limit exceeded, changes collapsed.