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

imports:
9
     - https://forge.etsi.org/rep/nfv/SOL001/raw/v3.5.1/etsi_nfv_sol001_common_types.yaml
10
11

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

  tosca.datatypes.nfv.GeographicCoordinates:
ETSI CTI's avatar
ETSI CTI committed
45
    derived_from: tosca.datatypes.Root
46
    description: Represents an element of a geographic coordinate location as specified in IETF RFC?6225. 
ETSI CTI's avatar
ETSI CTI committed
47
    properties:
48
49
50
51
52
53
54
      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
ETSI CTI's avatar
ETSI CTI committed
55
        required: true
56
57
58
59
60
61
62
      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
ETSI CTI's avatar
ETSI CTI committed
63
        required: true
64
65
66
67
68
69
70
      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
ETSI CTI's avatar
ETSI CTI committed
71
        required: false
72
73
74
75
      altitude:
        type: string # RFC 6225
        description: Altitude value as per RFC 6225
        required: true
76

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

116
  tosca.nodes.nfv.PnfExtCp:
117
    derived_from: tosca.nodes.nfv.Cp
118
    description: node definition of PnfExtCp.
119
120
121
122
    requirements:
      - external_virtual_link:
          capability: tosca.capabilities.nfv.VirtualLinkable
          relationship: tosca.relationships.nfv.VirtualLinksTo
ETSI CTI's avatar
ETSI CTI committed
123
124
125
          occurrences: [0, 1]

policy_types:
126
  tosca.policies.nfv.PnfSecurityGroupRule:
ETSI CTI's avatar
ETSI CTI committed
127
    derived_from: tosca.policies.nfv.Abstract.SecurityGroupRule
128
129
    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 ]