etsi_nfv_sol001_pnfd_types.yaml 3.68 KB
Newer Older
tosca_definitions_version: tosca_simple_yaml_1_2
admin_forge's avatar
admin_forge committed
description: ETSI NFV SOL 001 pnfd types definitions version 2.7.1
metadata:
  template_name: etsi_nfv_sol001_pnfd_types
  template_author: ETSI_NFV
admin_forge's avatar
admin_forge committed
  template_version: 2.7.1
admin_forge's avatar
admin_forge committed
     - https://forge.etsi.org/rep/nfv/SOL001/raw/v2.7.1/etsi_nfv_sol001_common_types.yaml
     # editor's note: During the development of the SOL001ed271 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
admin_forge's avatar
admin_forge committed

data_types:
  tosca.datatypes.nfv.LocationInfo:
    derived_from: tosca.datatypes.Root
admin_forge's avatar
admin_forge committed
    description: Represents geographical information on the location where a PNF is deployed.
    properties:
      country_code:
admin_forge's avatar
admin_forge committed
       type: string # two-letter ISO 3166 country code
       description: Country code
       required: true
      civic_address_element:
admin_forge's avatar
admin_forge committed
       type: list
       entry_schema:
        type: tosca.datatypes.nfv.CivicAddressElement
       description: Elements composing the civic address where the PNF is deployed.
       required: false
  
  tosca.datatypes.nfv.CivicAddressElement:
    derived_from: tosca.datatypes.Root
admin_forge's avatar
admin_forge committed
    description: Represents an element of a civic location as specified in IETF  RFC 4776 [11]. 
    properties:
      ca_type:
admin_forge's avatar
admin_forge committed
       type: string # RFC4776
       description: caType as per RFC4776
       required: true
admin_forge's avatar
admin_forge committed
       type: string # RFC4776
       description: caValue as per RFC4776.
       required: true

node_types:
  tosca.nodes.nfv.PNF:
    derived_from: tosca.nodes.Root
    properties: 
      descriptor_id: # instead of pnfd_id
admin_forge's avatar
admin_forge committed
       type: string # UUID
       required: true
       description: Identifier of this PNFD information element. It uniquely identifies the PNFD.
      function_description:
admin_forge's avatar
admin_forge committed
       type: string
       required: true
       description: Describes the PNF function.
admin_forge's avatar
admin_forge committed
       type: string
       required: true
       description: Identifies the provider of the PNFD.
admin_forge's avatar
admin_forge committed
       type: string
       required: true
       description: Identifies the version of the PNFD.
      descriptor_invariant_id: # instead of pnfd-invariant-id
admin_forge's avatar
admin_forge committed
       type: string # UUID
       required: true
       description: Identifier of this PNFD in a version independent manner. This attribute is invariant across versions of PNFD.
admin_forge's avatar
admin_forge committed
       type: string
       required: true
       description: Name to identify the PNFD.
      geographical_location_info: 
admin_forge's avatar
admin_forge committed
       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
admin_forge's avatar
admin_forge committed
    - virtual_link:
        capability: tosca.capabilities.nfv.VirtualLinkable
        relationship: tosca.relationships.nfv.VirtualLinksTo
        occurrences: [ 0, 1 ]
  # Additional requirements shall be defined in the PNF specific node type (deriving from tosca.nodes.nfv.PNF) corresponding to NS virtual links that need to connect to PnfExtCps

  tosca.nodes.nfv.PnfExtCp:
    derived_from: tosca.nodes.nfv.Cp
    description: node definition of PnfExtCp.
    requirements:
admin_forge's avatar
admin_forge committed
    - external_virtual_link:
        capability: tosca.capabilities.nfv.VirtualLinkable
        relationship: tosca.relationships.nfv.VirtualLinksTo
        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.
    targets: [ tosca.nodes.nfv.PnfExtCp ]