blob: 648dfd2e3b5886fa209a3f18ad31d7f04ed4b8e5 [file] [log] [blame]
Reshmasreeb6ce5a12020-03-03 11:56:27 +00001.. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE
2.. Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
3
Reshmasreeb6ce5a12020-03-03 11:56:27 +00004.. _docs_E2E_network_slicing:
5
mrichomme3345d142020-11-30 18:31:29 +01006:orphan:
Reshmasreeb6ce5a12020-03-03 11:56:27 +00007
8E2E Network Slicing Use Case
9============================
10
11Overall Blueprint
12-----------------
mrichomme9643b0c2020-11-14 22:36:57 +010013
mrichomme7eecfb32020-11-26 15:24:27 +010014The objective of this use case is to realize **End-to-End 5G Network
15Slicing** using ONAP. An End-to-End Network Slice consists of RAN (Radio
Reshmasreeb6ce5a12020-03-03 11:56:27 +000016Access Network), Transport Network (TN) and Core Network (CN) slice
17sub-nets. This use case intends to demonstrate the modeling,
18orchestration (life cycle and resources) and assurance of a network
19slice which are implemented in alignment with relevant standards. The
20key highlights of this use case include:
21
22- Modular architecture providing building blocks and flexibility under
23 various deployment scenarios
24
25- Functionality aligned with 3GPP and other relevant standards such as
26 ETSI and IETF
27
28- Interfaces and APIs aligned with relevant standards (3GPP, IETF,
29 ETSI, TM Forum, etc.) while enabling easy customization through use
30 of appropriate plug-ins. This would enable easier interoperability of
31 slice management functions realized within ONAP with 3\ :sup:`rd`
32 party slice management functions, as well as northbound and
33 southbound systems.
34
35- Taking a step-by-step approach to realizing different architectural
36 options in an extendable manner.
37
38- Providing flexibility in network slice selection by providing an
39 option of manual intervention, as well as abstracting the network
40 internals as needed.
41
42- The use case implementation team is composed of service providers,
43 software and hardware vendors, solution providers and system
44 integrators thereby taking into consideration different perspectives
45 and requirements.
46
mrichomme7eecfb32020-11-26 15:24:27 +010047This use case is a multi-releases effort in ONAP with the first steps
Reshmasreeb6ce5a12020-03-03 11:56:27 +000048taken in Frankfurt release. It will continue to expand in scope both in
49breadth and depth, and along the journey it shall also align with
50updates to the relevant standards which are also currently evolving.
51This use case shall also collaborate with other open initiatives such as
52O-RAN to enable wider adoption and use.
53
mrichomme3345d142020-11-30 18:31:29 +010054See the `Use Case Description and Blueprint wiki page <https://wiki.onap.org/display/DW/Use+Case+Description+and+Blueprint>`_
mrichomme7eecfb32020-11-26 15:24:27 +010055for details.
Reshmasreeb6ce5a12020-03-03 11:56:27 +000056
57Abbreviations
58-------------
59
60+---------------+--------------------------------------------+
61| Abbreviation | Meaning |
62+===============+============================================+
63| CSMF | Communication Service Management Function |
64+---------------+--------------------------------------------+
65| CSI | Communication Service Instance |
66+---------------+--------------------------------------------+
67| CST | Communication Service Template |
68+---------------+--------------------------------------------+
69| NSI | Network Slice Instance |
70+---------------+--------------------------------------------+
71| NSMF | Network Slice Management Function |
72+---------------+--------------------------------------------+
73| NSSI | Network Slice Sub-net Instance |
74+---------------+--------------------------------------------+
75| NSSMF | Network Slice Sub-net Management Function |
76+---------------+--------------------------------------------+
77| NST | Network Slice Template |
78+---------------+--------------------------------------------+
79| NSST | Network Slice Sub-net Template |
80+---------------+--------------------------------------------+
81
mrichomme7eecfb32020-11-26 15:24:27 +010082Scope
83-----
Reshmasreeb6ce5a12020-03-03 11:56:27 +000084
mrichomme7eecfb32020-11-26 15:24:27 +010085To realize the three layers of the slice management function, we need to decide whether to implement CSMF, NSMF or NSMF within ONAP, or use the external CSMF, NSMF or NSSMF. This implies that for ONAP-based network slice management, we have different choices from an architectural perspective.
86Our scope was to implement first the CSMF and NSMF functions within ONAP, while connecting to an external Core NSSMF.
Reshmasreeb6ce5a12020-03-03 11:56:27 +000087
mrichomme7eecfb32020-11-26 15:24:27 +010088From the NSI Life Cycle perspective, the scope includes NSI design and pre-provision, NSI instantiation and configuration, and NSI activation and deactivation. In particular:
Reshmasreeb6ce5a12020-03-03 11:56:27 +000089
mrichomme9643b0c2020-11-14 22:36:57 +010090- CSMF: Functions of slice service creation, slice service activation and deactivation are implemented.
Reshmasreeb6ce5a12020-03-03 11:56:27 +000091
mrichomme9643b0c2020-11-14 22:36:57 +010092- NSMF: Functions of NSI instantiation, NSI activation and deactivation are
93 implemented. In addition, manual intervention is also provided in NSMF slice task
94 management portal to ensure the selected NSI/NSSI as well as ServiceProfile and
95 SliceProfile are fine or need adjustment.
Reshmasreeb6ce5a12020-03-03 11:56:27 +000096
mrichomme9643b0c2020-11-14 22:36:57 +010097- Design of CST, NST and onboarding NSST that are required to support the run-time orchestration functions is also provided.
Reshmasreeb6ce5a12020-03-03 11:56:27 +000098
mrichomme9643b0c2020-11-14 22:36:57 +010099- To connect to the external (core) NSSMF, an adaptor is implemented to provide
100 interface between ONAP and 3rd party core NSSMF.
Reshmasreeb6ce5a12020-03-03 11:56:27 +0000101
mrichomme9643b0c2020-11-14 22:36:57 +0100102To support the above functions, code impacts in U-UI, SO, OOF and ExtAPI components, and schema change in A&AI are implemented.
krishnaa9673c2d812020-05-22 16:47:00 +0530103
mrichomme3345d142020-11-30 18:31:29 +0100104See the `Proposed Functions for R6 and Impacted Modules wiki page <https://wiki.onap.org/display/DW/Proposed+Functions+for+R6+and+Impacted+Modules>`_
mrichomme7eecfb32020-11-26 15:24:27 +0100105for details.
Ahila6db5edc2020-11-11 18:34:31 +0530106
mrichomme7eecfb32020-11-26 15:24:27 +0100107Impacted Modules
108----------------
Ahila6db5edc2020-11-11 18:34:31 +0530109
mrichomme9643b0c2020-11-14 22:36:57 +0100110SO
111~~
Ahila6db5edc2020-11-11 18:34:31 +0530112
mrichomme9643b0c2020-11-14 22:36:57 +0100113CSMF and NSMF are implemented using SO BPMN workflows to support 5G
114network slicing use case. CSMF workflow will process the user input
115(service request) that comes from CSMF portal (UUI) and save the order
116information into a communication service instance in AAI. Then CSMF will
117send network slice request to NSMF workflow, and NSMF will then create
118service profile, NSI and NSSI. Service profile is a logical concept
119which exists only in AAI - it contains two AAI instances, one is a
120profile instance that will hold the slice parameters, and the other is a
121service instance which will be used to organize the NSI. NSI is also a
122service instance in AAI which will be used to organize NSSI. NSSI is the
123actual entity which will be created by NSSMF and an AAI service instance
124will also be created to represent NSSI in ONAP context. NSI and NSSI can
125both be shared.
Ahila6db5edc2020-11-11 18:34:31 +0530126
mrichomme9643b0c2020-11-14 22:36:57 +0100127SO queries OOF for slice template selection and then slice instance
128selection. In response to slice instance selection query, OOF may return
129an existing slice instance or may recommend SO to create a new slice
130instance. A new process called Orchestration Task is created to manage
131recalibration of NSI&NSSI selection with manual intervention from the
132portal. A new SO adapter is created to be the adapter of NSSMF which
133will interact with external NSSMF for NSSI management.
Ahila6db5edc2020-11-11 18:34:31 +0530134
mrichomme3345d142020-11-30 18:31:29 +0100135See the `SO Impacts and Interfaces wiki page <https://wiki.onap.org/display/DW/SO%3A+Impacts+and+Interfaces>`_
mrichomme7eecfb32020-11-26 15:24:27 +0100136for details.
Ahila6db5edc2020-11-11 18:34:31 +0530137
mrichomme9643b0c2020-11-14 22:36:57 +0100138U-UI
139~~~~
Ahila6db5edc2020-11-11 18:34:31 +0530140
mrichomme9643b0c2020-11-14 22:36:57 +0100141Usecase-UI (UUI) has added CSMF and NSMF portal components to ONAP to
142support this use case.
Ahila6db5edc2020-11-11 18:34:31 +0530143
mrichomme9643b0c2020-11-14 22:36:57 +0100144CSMF component includes the functions of creating network slicing, as
145well as displaying and processing all the created network slices. The
146customers need to fill the create communication service form to create a
147network slice and then they can see the created network slice in the
148list and execute operations of activating, deactivating or terminating
149the network slice.
Ahila6db5edc2020-11-11 18:34:31 +0530150
mrichomme9643b0c2020-11-14 22:36:57 +0100151NSMF component mainly includes two modules: slicing task management and
152slice resource management which provides the functions of displaying and
153processing all the slicing tasks and slice resources. In slicing task
154management module, network operators can find all the slicing tasks
155created by customers in CSMF component and executing proper operations
156according to different task status. In slice resource management module,
157there are three sub-modules which provide the functions of displaying
158and processing the existing NS, NSI and NSSI. In addition, the NSMF
159component provides the monitoring function so that users can check the
160statistics of network slices. In this page, the statistics of slice
161usage (traffic), online users and total bandwidth can be monitored and
162displayed in the form of pi-charts and lines.
Ahila6db5edc2020-11-11 18:34:31 +0530163
mrichomme3345d142020-11-30 18:31:29 +0100164See the `UUI Impacts wiki page <https://wiki.onap.org/display/DW/UUI%3A+Impacts>`
165_ for details.
Ahila6db5edc2020-11-11 18:34:31 +0530166
mrichomme9643b0c2020-11-14 22:36:57 +0100167OOF
168~~~
Ahila6db5edc2020-11-11 18:34:31 +0530169
mrichomme9643b0c2020-11-14 22:36:57 +0100170For this use case OOF introduced two APIs which are used by SO, one for
171slice template selection, and another for NSI/NSSI selection. Within
172OOF, both the OSDF and HAS sub-components were enhanced for this use
173case. OSDF maps the new API request contents to the appropriate format
174for HAS to perform the optimization. After the optimization is done by
175HAS, OSDF maps the response in the API response format as expected by
176SO. Further, HAS always returns NSSI info (when existing NSSIs can be
177reused) and OSDF then determines whether it refers to reuse of an
178existing NSI or creation of a new NSI, and then prepares sends the
179response to SO.
Ahila6db5edc2020-11-11 18:34:31 +0530180
mrichomme9643b0c2020-11-14 22:36:57 +0100181HAS sub-component of OOF has been enhanced to use a couple of new policy
182types, the AAI plug-in within HAS was enhanced to fetch the slice and
183slice sub-net related details from AAI. Two new plug-ins were developed
184in HAS – one for fetching slice templates and another for generating
185slice profile candidates. Existing policies were reused and suitably
186adapted for constraints and optimal selection of slice template and
187slice instance. In case of new NSSI creation, HAS returns appropriate
188slice profile for the sub-net for which a new NSSI has to be created.
Ahila6db5edc2020-11-11 18:34:31 +0530189
mrichomme3345d142020-11-30 18:31:29 +0100190See the `OOF Impacts and Interfaces wiki page <https://wiki.onap.org/display/DW/OOF%3A+Impacts+and+Interfaces>`_
mrichomme7eecfb32020-11-26 15:24:27 +0100191for details
Ahila6db5edc2020-11-11 18:34:31 +0530192
mrichomme9643b0c2020-11-14 22:36:57 +0100193EXT-API
194~~~~~~~
Ahila6db5edc2020-11-11 18:34:31 +0530195
mrichomme7eecfb32020-11-26 15:24:27 +0100196The EXT-API has undergone some minimal enhancements for this use case.
197A new value “CST” for the serviceType attribute in the Service Order API has
198been introduced.
Ahila6db5edc2020-11-11 18:34:31 +0530199
mrichomme9643b0c2020-11-14 22:36:57 +0100200The CSMF Portal in UUI captures the values for the requested
201serviceCharacteristics that are required as inputs to CST Service model.
202The relatedParty attribute in the Service Order is set according to the
203Customer, where relatedParty.id will map to the AAI "global-customer-id“
204in the “customer” object. The serviceSpecification.id is to be set to
205the UUID of the CST from SDC (i.e., this is the template for the Service
206we are ordering from CSMF). The action field will be set to “add” to
207indicate creation of a new service instance. CSMF Portal in UUI then
208sends POST with the JSON body to /{api_url}/nbi/api/v4/serviceOrder/.
209ExtAPI will generate a Service Order ID and send it in the response –
210this ID can be used to track the order. ExtAPI will then invoke SO’s API
211for creating the service.
212
213As can be seen from above explanation, the existing constructs of ExtAPI
214has been reused with minor enhancements.
215
mrichomme3345d142020-11-30 18:31:29 +0100216See the `ExtAPI Impacts and Interfaces wiki page <https://wiki.onap.org/display/DW/ExtAPI%3A+Impacts+and+Interfaces>`_
mrichomme7eecfb32020-11-26 15:24:27 +0100217for details.
mrichomme9643b0c2020-11-14 22:36:57 +0100218
219A&AI
220~~~~
221
222To support this use case,A&AI module has added 3 new nodes
223(Communication-service-profile, Service-profile and
224Slice-profile),modified service-instance nodes, added 3 new nodes as
225new attributes of service-instance node. To map to SDC templates
226(Communication Service Template/Service Profile
227Template/NST/NSST),run-time instances of this use case have
228Communication Service Instance/Service Profile Instance/NSI/NSSI. To
229align with ONAP’s model-driven approach, this use case reuses
230"service-instance" for all run-time instances. The relationship between
231service-instances use the existing attribute "relationship-list" or
232"allotted-resources". Communication-service-profile means the original
233requirement of Communication-service-instance, such as latency,
234data-rate, mobility-level and so on. Service-profile means the slice
235parameter info of Service-profile-instance. Slice-profile holds the
236slice sub-net parameter info of different network domain NSSIs, such as
237(Radio) Access Network (AN), Transport Network (TN) and Core Network
238(CN) NSSI.
239
240A&AI provides query APIs to CSMF and NSMF, such as:
241
242- Query
243 Communication-service-instances/Service-profile-instances/NSI/NSSI
mrichomme9643b0c2020-11-14 22:36:57 +0100244- Query Service-profile-instance by specified
245 Communication-service-instance
mrichomme9643b0c2020-11-14 22:36:57 +0100246- Query NSI by specified Service-profile-instance, query NSSI by
247 specified NSSI.
248
249A&AI also supply creation APIs to SO, such as:
250
251- Create Communication-service-profile/Service-profile/Slice-profile,
252 and
mrichomme9643b0c2020-11-14 22:36:57 +0100253- Create relationship between service-instances.
254
mrichomme3345d142020-11-30 18:31:29 +0100255See the `AAI Impacts wiki page <https://wiki.onap.org/pages/viewpage.action?pageId=76875989>`_
mrichomme7eecfb32020-11-26 15:24:27 +0100256for details.
Ahila6db5edc2020-11-11 18:34:31 +0530257
258Functional Test Cases
259---------------------
mrichomme9643b0c2020-11-14 22:36:57 +0100260
261The functional testing of this use case shall cover creation and
262activation of a service with an E2E Network Slice Instance which
263contains a Core Slice Sub-net instance. It also addresses the
264termination of an E2E Network Slice Instance. It covers the following
265aspects:
266
267- Creation of a new customer service via CSMF portal in UUI resulting
268 in creation of a new NSI
mrichomme9643b0c2020-11-14 22:36:57 +0100269- Creation of a new customer service via CSMF portal in UUI resulting
270 in re-use of an existing NSI
mrichomme9643b0c2020-11-14 22:36:57 +0100271- Activation of a customer service via CSMF portal in UUI
mrichomme9643b0c2020-11-14 22:36:57 +0100272- Creation of a new customer service via postman request to EXT-API
273 resulting in creation of a new NSI
mrichomme9643b0c2020-11-14 22:36:57 +0100274- Creation of a new customer service via via postman request to ExtAPI
275 resulting in re-use of an existing NSI
mrichomme9643b0c2020-11-14 22:36:57 +0100276- Manual intervention via NSMF portal during NSI selection (NSI
277 selection adjustment)
mrichomme9643b0c2020-11-14 22:36:57 +0100278- Termination of a NSI and associated NSSI
mrichomme9643b0c2020-11-14 22:36:57 +0100279- Interaction between ONAP and external NSSMF for new core NSSI
280 creation
mrichomme9643b0c2020-11-14 22:36:57 +0100281- Checking inventory updates in AAI for NSIs, service and slice
282 profiles and NSSIs.
283
mrichomme3345d142020-11-30 18:31:29 +0100284See the `Functional Test Cases wiki page <https://wiki.onap.org/display/DW/Functional+Test+Cases>`_
285for details.
Ahila6db5edc2020-11-11 18:34:31 +0530286
287Operation Guidance
288------------------
mrichomme9643b0c2020-11-14 22:36:57 +0100289
290How to install 5G E2E Slicing Minimum Scope
291~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
292For 5G E2E Slicing use case, we support the minimum-scope installation
293of ONAP to reduce the resource requirements. From the module
294perspective, 5G E2E Slicing use case involves SDC, SO, A&AI, UUI,
295EXT-API, OOF and Policy modules of ONAP. So we will configure these
296required modules along with the mandatory common modules such as DMaaP.
297Further, for each module, the use case also does not use all of the
298charts,so we removed the not needed Charts under those modules to
299optimize the resources required for setting up the use case. This
300approach will help to install a minimum-scope version ONAP for 5G E2E
301Slicing use case.
302
mrichomme3345d142020-11-30 18:31:29 +0100303See the `Install Minimum Scope ONAP for 5G Network Slicing wiki page <https://wiki.onap.org/display/DW/Install+Minimum+Scope+ONAP+for+5G+Network+Slicing>`_
mrichomme7eecfb32020-11-26 15:24:27 +0100304for details.
Ahila6db5edc2020-11-11 18:34:31 +0530305
mrichomme9643b0c2020-11-14 22:36:57 +0100306Configuration aspects
307~~~~~~~~~~~~~~~~~~~~~
mrichomme7eecfb32020-11-26 15:24:27 +0100308
mrichomme9643b0c2020-11-14 22:36:57 +0100309The template design, UI configuration, as well as manual configurations for some
mrichomme7eecfb32020-11-26 15:24:27 +0100310of the components are all described in the following
311`wiki page and its sub-pages <https://wiki.onap.org/display/DW/Operation+Guidance+for+5G+Network+Slicing+Use+Case>`_