summaryrefslogtreecommitdiffstats
path: root/docs/ONAP release 1 spec/im/ns-im.rst
blob: c7bb8a49d77d220827c4d0d5c7fbd428e97e4cba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
.. Copyright 2017 (China Mobile)
.. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE
.. Full license text at https://creativecommons.org/licenses/by/4.0/legalcode

===========================================================================
ONAP Network Service Descriptor Information Model Specification (Amsterdam)
===========================================================================

Scope
-----

The scope of the present document is to describe the Network Service Descriptor (NSD) Information Model.


Terms, Definitions and Abbreviations
------------------------------------

For the purposes of the present document, the following abbreviations apply:

+------------+--------------------------------------------+
|Abbreviation|             Definition                     |
+------------+--------------------------------------------+
|     CM     |       Conditional Mandatory                |
+------------+--------------------------------------------+
|     CO     |       Conditional Optional                 |
+------------+--------------------------------------------+
|     CP     |       Connection Point                     |
+------------+--------------------------------------------+
|     CPD    |       Connection Point Description         |
+------------+--------------------------------------------+
|     DSL    |       Domain Specific Language             |
+------------+--------------------------------------------+
|     NCT    |       Network Connectivity Topology        |
+------------+--------------------------------------------+
|     NF     |       Network Function                     |
+------------+--------------------------------------------+
|    NFVO    |       NFV Orchestrator                     |
+------------+--------------------------------------------+
|     NSD    |       Network Service Descriptor           |
+------------+--------------------------------------------+
|     UML    |       Unified Modeling Language            |
+------------+--------------------------------------------+
|     VL     |       Virtual Link                         |
+------------+--------------------------------------------+
|     VNF    |       Virtual Network Function             |
+------------+--------------------------------------------+

NSD Information Model Overview
------------------------------

Network Service (NS) is a set of functions with unspecified connectivity between them or according to one or more forwarding graphs.

The Network Service Descriptor (NSD) is a deployment template which consists of information used by the NFV Orchestrator (NFVO) for life cycle management of an NS.

As illustrated in the following figure, the description of a NS used to deploy an NS instance includes or references the description of its constituent objects:

* Zero, one or more Virtualized Network Function Nodes Descriptors;
* Zero, one or more Physical Network connect PNFs to VLs;
* Zero, one or more nested NSD;
* Zero, one or more Virtual Link Description used by the NFVO to deploy Virtual Links (VL) ; and
* Zero, one or more VNF Forwarding Graph Descriptions.

Functional Requirements
-----------------------

The following table specifies requirements to the templates for NSD instances in R1.

+-----------------+-----------------------------------------------------------------+
|  Numbering      |                  Requirement Description                        |
+-----------------+-----------------------------------------------------------------+
|  NST_NSD001     | The NSD shall reference the VNF Node description of constituent |
|                 | VNFs.                                                           |
+-----------------+-----------------------------------------------------------------+
|  NST_NSD002     | The NSD shall include the VLDs applicable to the VLs used by the|
|                 | NS to interconnect its constituent NFs.                         |
+-----------------+-----------------------------------------------------------------+
|  NST_NSD003     | The NSD shall include a globally unique identifier for identify-|
|                 | ing each descriptor instance.                                   |
+-----------------+-----------------------------------------------------------------+
|  NST_NSD004     | The NSD shall include an identifier to select the controller co-|
|                 | mpatible with the NSD.                                          |
+-----------------+-----------------------------------------------------------------+
|  NST_NSD005     | The NSD shall support the capability to include or reference NS |
|                 | life cycle management scripts describing how to react upon spec-|
|                 | ific life cycle events, fault detection, performance threshold  |
|                 | crossing detection and other events.                            |
+-----------------+-----------------------------------------------------------------+
|  NST_NSD006     | The NSD shall support the capability to provide monitoring para-|
|                 | meters to be tracked during the lifetime of a NS instance.      |
+-----------------+-----------------------------------------------------------------+


The following table specifies requirements to the templates for VLD instances.

+-----------------+-----------------------------------------------------------------+
|  Numbering      |                  Requirement Description                        |
+-----------------+-----------------------------------------------------------------+
|  NST_VLD001     | A VLD shall enable specifying the type of connectivity provided |
|                 | by the link between VNFs.                                       |
|                 | In the R1, the VL should support ELAN type at least.            |
+-----------------+-----------------------------------------------------------------+



NSD Information Model Definitions
---------------------------------

NSD
^^^

The NSD information element is a template whose instances are used by the VF-C for the lifecycle management of NSs. Note that NSD is actually defined as a special type of service descriptor, whose serviceType is set to "Network". In the same time, NSD can be included into an End-to-End service descriptor, as a resource or in other words, nested service.

+---------------+-----------+-------------+----------+--------------------------------------------+
|   Attribute   | Qualifier | Cardinality |  Content |                 Description                |
+---------------+-----------+-------------+----------+--------------------------------------------+
|    id         |     M     |      1      |Identifier| Identifier of this NSD information element.|
|               |           |             |          | It globally uniquely identifies an instance|
|               |           |             |          | of the NSD.                                |
+---------------+-----------+-------------+----------+--------------------------------------------+
|   name        |     M     |      1      | String   | The name of the NSD.                       |
+---------------+-----------+-------------+----------+--------------------------------------------+
|  serviceType  |     M     |      1      | String   | Identifies the type of the SD, which is set|
|               |           |             |          | to "Network" for NSD.                      |
+---------------+-----------+-------------+----------+--------------------------------------------+
|     vnfd      |     M     |     0..N    |  VNF id  | Consituent VNF node information of this NSD|
+---------------+-----------+-------------+----------+--------------------------------------------+
|virtualLinkDesc|     M     |     0..N    |  VLD     | Speficies the constituent VLDs.            |
+---------------+-----------+-------------+----------+--------------------------------------------+

VL Description
^^^^^^^^^^^^^^

The VL information element provides general information enabling the instantiation of virtual links.

+------------------+-----------+-------------+----------+--------------------------------------------+
|      Attribute   | Qualifier | Cardinality |  Content |                 Description                |
+------------------+-----------+-------------+----------+--------------------------------------------+
|       id         |     M     |      1      |Identifier| Identifier of this VirtualLinkDesc informa-|
|                  |           |             |          | tion element. It globally uniquely identif-|
|                  |           |             |          | ies a VL Description.                      |
+------------------+-----------+-------------+----------+--------------------------------------------+
|       name       |     M     |      1      | String   | Specifies the name of the VL Description.  |
+------------------+-----------+-------------+----------+--------------------------------------------+
|     description  |     M     |     0..1    | String   | Specifies human-readable information on the|
|                  |           |             |          | purpose of the VL (e.g. control plane traf-|
|                  |           |             |          | fic).                                      |
+------------------+-----------+-------------+----------+--------------------------------------------+
| isExternalNetwork|     M     |      1      | Boolean  | Whether the VL is external network.        |
+------------------+-----------+-------------+----------+--------------------------------------------+
|    shared        |     O     |     0..1    | Boolean  | Whether the VL is shared.                  |
+------------------+-----------+-------------+----------+--------------------------------------------+
| network_type     |     O     |     0..1    | String   | Network type of the VL.                    |
+------------------+-----------+-------------+----------+--------------------------------------------+
| segmentation_id  |     O     |     0..1    | String   | Network segmentation id of the VL.         |
+------------------+-----------+-------------+----------+--------------------------------------------+
| physical_network |     O     |     0..1    | String   | Physical network of the VL.                |
+------------------+-----------+-------------+----------+--------------------------------------------+
|      mtu         |     O     |     0..1    | Integer  | Network MTU of the VL.                     |
+------------------+-----------+-------------+----------+--------------------------------------------+
|      cidr        |     O     |     0..1    | String   | Subnetwork cidr of the VL.                 |
+------------------+-----------+-------------+----------+--------------------------------------------+
|    ip_version    |     O     |     0..1    | String   | Subnetwork IP protocol version of the VL.  |
+------------------+-----------+-------------+----------+--------------------------------------------+
| enable_dhcp      |     O     |     0..1    | Boolean  | Whether or not th subnetwork enables DHCP. |
+------------------+-----------+-------------+----------+--------------------------------------------+
|   gateway_ip     |     O     |     0..1    | String   | Subnetwork gateway IP address.             |
+------------------+-----------+-------------+----------+--------------------------------------------+

VNF Node Description Information
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

+-----------------+-----------+-------------+----------+--------------------------------------------+
|     Attribute   | Qualifier | Cardinality |  Content |                 Description                |
+-----------------+-----------+-------------+----------+--------------------------------------------+
|      id         |     M     |      1      |Identifier| Identifier of this VNF Descriptjion.       |
+-----------------+-----------+-------------+----------+--------------------------------------------+
|      name       |     M     |      1      | String   | Specifies the name of the VNF Description. |
+-----------------+-----------+-------------+----------+--------------------------------------------+
|     description |     M     |     0..1    | String   | Specifies human-readable information on the|
|                 |           |             |          | purpose of the VNF.                        |
+-----------------+-----------+-------------+----------+--------------------------------------------+
|     vnfminfo    |     M     |     0..1    | String   | Identifies VNFM(s) compatible with the VNF |
|                 |           |             |          | described in the VNF Description.          |
+-----------------+-----------+-------------+----------+--------------------------------------------+
|   vnfExtCpd     |     M     |     0..N    | vnfExtCpd| VNF External Connection Points.            |
+-----------------+-----------+-------------+----------+--------------------------------------------+


vnfExtCpd
^^^^^^^^^

+-----------------+-----------+-------------+----------+--------------------------------------------+
|     Attribute   | Qualifier | Cardinality |  Content |                 Description                |
+-----------------+-----------+-------------+----------+--------------------------------------------+
|      cpdid      |     M     |     1..N    |Identifier| Reference to the correspondent internal CPD|
+-----------------+-----------+-------------+----------+--------------------------------------------+
|      vldid      |     M     |     1..N    |Identifier| Reference to the external VLD(s).(TBD)     |
+-----------------+-----------+-------------+----------+--------------------------------------------+