blob: bee6f60fec3ff2aa916f11cb52ce57c9a7926fd1 [file] [log] [blame]
ajayb3f40982021-12-08 14:26:11 -08001..
2 SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
3 SPDX-License-Identifier: Apache-2.0
4
ajayd19711c2021-12-07 12:07:04 -08005Configuration Overview
6======================
ajay60fd69f2021-11-23 22:38:10 -08007
ajayb5ad6db2021-12-09 15:23:24 -08008SD-Core has been developed with a cloud-based deployment and consumption model as
9its foundation. It has a rich and extensible set of APIs to allow for runtime configurability of
10subscriber management, access management, session management, and network slice
11management. This configuration may be conducted via ONFs Runtime Operational Control
12(ROC) platform directly for consumption as a cloud-managed service, or the APIs can be
13used by third-party automation and management platforms.
14
ajay2c0f6f42021-12-02 22:45:19 -080015Reference helm chart
16--------------------
ajay60fd69f2021-11-23 22:38:10 -080017
ajay2c0f6f42021-12-02 22:45:19 -080018 - `SD-Core Helm Chart Repository <https://gerrit.opencord.org/admin/repos/sdcore-helm-charts>`_
ajay154b1a02022-03-07 14:54:22 -080019 - Sub components in sdcore-helm-charts
20
21 - omec-control-plane: 4G Network functions helm charts
22 - 5g-control-plane: 5G Network functions helm charts
23 - omec-sub-provision: Simapp helm charts
24 - 5g-ran-sim : gNBSim helm charts
ajay2c0f6f42021-12-02 22:45:19 -080025
26Configuration Methods
27---------------------
28SD-Core supports 2 ways to configure network functions and micro services.
29
30 - Helm Chart
31
32 - Each individual network function and microservice has its own helm chart.
33 - User needs to provide override values and deploy the network functions as per their need.
ajay154b1a02022-03-07 14:54:22 -080034 - Use above helm charts appropriately and provide override values and install 4G/5G NFs.
ajay2c0f6f42021-12-02 22:45:19 -080035
36 - REST Config Interface
37
ajay154b1a02022-03-07 14:54:22 -080038 - Basic static configuration is still passed through helm chart ( logging level, image,...)
ajaycbd17062022-03-06 11:12:58 -080039 - Dynamic *Network Slice* management APIs are provided through REST interface.
ajay2c0f6f42021-12-02 22:45:19 -080040 - REST APIs are defined to create/modify/delete network slice.
41 - REST APIs are also provided to provision subscribers and grouping the subscribers under device Group.
42
ajay154b1a02022-03-07 14:54:22 -080043.. note::
44 - Simapp is the example of REST interface based configuration to provision subscribers in SD-Core
45 - Simapp is also used to provision Network Slices in SD-Core in the absence of Portal
46 - Aether ROC Portal used REST interface to configure Network Slices in SD-Core
47
ajaycbd17062022-03-06 11:12:58 -080048.. image:: ../_static/images/config_slice.png
49 :width: 500px
50 :align: center
51
52
53
ajayec9bb9d2021-12-08 00:03:36 -080054Configuration Steps
55-------------------
Vijaya Rani59a17832021-12-03 19:27:41 +053056This Configuration describes what to configure at high level from RoC/SIMAPP. ConfigPod stores this configuration
ajayec9bb9d2021-12-08 00:03:36 -080057and publish to respective clients over REST/grpc.
ajay2c0f6f42021-12-02 22:45:19 -080058
ajayec9bb9d2021-12-08 00:03:36 -080059 - Step1 : Provision subscriber in 4G/5G subsystem
ajay2c0f6f42021-12-02 22:45:19 -080060
ajayec9bb9d2021-12-08 00:03:36 -080061 - This step is used to configure IMSI in the SD-Core
62 - This procedure is used to configure security keys for a subscriber
63 - Subscribers can be created during system startup or later
64
65 - Step2 : Device Group Configuration
66
67 - Group multiple devices under device group
68 - Configure QoS for the device group
69 - Configure IP domain configuration for the device group e.g. MTU, IP Pool, DNS server
70
71
72 - Step3: Network Slice Configuration
73
74 - Configuration to create a Network Slice
75 - Add device Group into Network Slice
76 - Slice contains the Slice level QoS configuration
Vijaya Rani59a17832021-12-03 19:27:41 +053077 - Site configuration including UPF, eNBs/gNBs assigned to the slice
ajay87945292021-12-08 00:52:00 -080078 - Applications allowed to be accessed by this slice (see :ref:`application-filtering`)
Vijaya Rani59a17832021-12-03 19:27:41 +053079
ajay154b1a02022-03-07 14:54:22 -0800804G, 5G Configuration Differences
81--------------------------------
82One of the most important difference in 4G & 5G configuration is around network slice. 5G has
83network slice Ids sent in protocol messages whereas 4G does not have any slice Id in messages.
84We implement slicing in 4G using APNs. Let's go over these difference in detail below,
Vijaya Rani59a17832021-12-03 19:27:41 +053085
ajay154b1a02022-03-07 14:54:22 -080086- **Slice Id** : Since 4G does not have slice Id in any protocol messages, configured slice Ids
87 are ignored in 4G components. So it also means that even if configured slice Ids are
88 duplicate it will not have any impact. But its still a good practice to have unique Slice
89 Id per slice.
90
91- **APN/DNN configuration**: In case of 4G each slice should have separate APN. This is required
92 because APN is used as slice identifier internally in the 4G modules. This is not true in
93 case of 5G because 5G has slice Id along with APN/DNN. So in general its good practice to
94 keep APN/DNN in the slice unique so same slice can work for 4G & 5G configuration.
95
96
97- **UE Address Allocation**: In the Slice API you will see that we provide UE IP pool configuration.
98 Its important to know how UE IP address allocation is supported in SD-Core 4G & 5G components.
99
100 In case of 4G, Control Plane supports UE address allocation from UPF. So it also means that even
101 if you have specified UE address pool in the slice config, you still need to add the address pool
102 configuration in the UPF deployment.
103
104 In case of 5G, control plane has the capability to manage multiple IP pools so SMF uses the UE
105 address pool configuration received in the network slice APIs
106 and use them to appropriately assign UE address. But remember SD-Core 5G does not support UE IP
107 address allocation from UPF. So in case of 5G UPF configuration, even if you don't configure address
108 pool configuration it is still fine. We plan to add support of UPF UE address allocation in next
109 release.
110
111- **DNN/APN in Initial Attach/Register Message** : In case of 4G, if UE has set any random APN then
112 MME overrides the APN based on the user profile in HSS. So its important to note that even if APN
113 is not matching with configured APN we are still good. In case of 5G, apn name & Slice ID coming
114 from UE is used to select SMF, so its important to have UE configured with correct APN/DNN name.
115 Core network passed allowed slice IDs to UE in the registration accept message.