etsi_nfv_sol001_pnfd_types.yaml 4.98 KB
Newer Older
1
tosca_definitions_version: tosca_simple_yaml_1_2
2
description: ETSI NFV SOL 001 pnfd types definitions version 2.8.1
3
4
5
metadata:
  template_name: etsi_nfv_sol001_pnfd_types
  template_author: ETSI_NFV
6
  template_version: 2.8.1
7
8

imports:
9
10
     - 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
11

ETSI CTI's avatar
ETSI CTI committed
12
13

data_types:
14
15
  tosca.datatypes.nfv.LocationInfo:
    derived_from: tosca.datatypes.Root
ETSI CTI's avatar
ETSI CTI committed
16
    description: Represents geographical information on the location where a PNF is deployed.
17
18
    properties:
      country_code:
19
20
21
        type: string # two-letter ISO 3166 country code
        description: Country code
        required: true
22
      civic_address_element:
23
24
25
26
27
28
29
30
31
        type: list
        entry_schema:
          type: tosca.datatypes.nfv.CivicAddressElement
        description: Elements composing the civic address where the PNF is deployed.
        required: false
      geographic_coordinates:
        type: tosca.datatypes.nfv.GeographicCoordinates
        description: Geographic coordinates (e.g. Altitude, Longitude, Latitude) where the PNF is deployed.
        required: false
ETSI CTI's avatar
ETSI CTI committed
32
  
33
34
  tosca.datatypes.nfv.CivicAddressElement:
    derived_from: tosca.datatypes.Root
ETSI CTI's avatar
ETSI CTI committed
35
    description: Represents an element of a civic location as specified in IETF  RFC 4776 [11]. 
36
37
    properties:
      ca_type:
ETSI CTI's avatar
ETSI CTI committed
38
39
40
       type: string # RFC4776
       description: caType as per RFC4776
       required: true
41
      ca_value:
ETSI CTI's avatar
ETSI CTI committed
42
43
44
45
       type: string # RFC4776
       description: caValue as per RFC4776.
       required: true

46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
  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]. 
    properties:
      latitude_uncertainty:
        type: string # RFC 6225
        description: LatUnc as per RFC 6225
        required: false
      latitude:
        type: string # RFC 6225
        description: Latitude value as per RFC 6225
        required: true
      longitude_uncertainty:
        type: string # RFC 6225
        description: LongUnc as per RFC 6225
        required: false
      longitude:
        type: string # RFC 6225
        description: Longitude value as per RFC 6225
        required: true
      altitude_type:
        type: string # RFC 6225
        description: AType value as per RFC 6225
        required: true      
      altitude_uncertainty:
        type: string # RFC 6225
        description: AltUnc as per RFC 6225
        required: false
      altitude:
        type: string # RFC 6225
        description: Altitude value as per RFC 6225
        required: true

79
80
81
82
83
node_types:
  tosca.nodes.nfv.PNF:
    derived_from: tosca.nodes.Root
    properties: 
      descriptor_id: # instead of pnfd_id
ETSI CTI's avatar
ETSI CTI committed
84
85
86
       type: string # UUID
       required: true
       description: Identifier of this PNFD information element. It uniquely identifies the PNFD.
87
      function_description:
ETSI CTI's avatar
ETSI CTI committed
88
89
90
       type: string
       required: true
       description: Describes the PNF function.
91
      provider:
ETSI CTI's avatar
ETSI CTI committed
92
93
94
       type: string
       required: true
       description: Identifies the provider of the PNFD.
95
      version:
ETSI CTI's avatar
ETSI CTI committed
96
97
98
       type: string
       required: true
       description: Identifies the version of the PNFD.
99
      descriptor_invariant_id: # instead of pnfd-invariant-id
ETSI CTI's avatar
ETSI CTI committed
100
101
102
       type: string # UUID
       required: true
       description: Identifier of this PNFD in a version independent manner. This attribute is invariant across versions of PNFD.
103
      name:
ETSI CTI's avatar
ETSI CTI committed
104
105
106
       type: string
       required: true
       description: Name to identify the PNFD.
107
      geographical_location_info: 
ETSI CTI's avatar
ETSI CTI committed
108
109
110
       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
111
    requirements:
ETSI CTI's avatar
ETSI CTI committed
112
113
114
115
    - virtual_link:
        capability: tosca.capabilities.nfv.VirtualLinkable
        relationship: tosca.relationships.nfv.VirtualLinksTo
        occurrences: [ 0, 1 ]
116
117
118
119
120
121
  # 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:
ETSI CTI's avatar
ETSI CTI committed
122
123
124
125
126
127
128
129
130
131
    - 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 ]