blob: 09171ea9574a126d2df0b0e3d0a3ba77779d2b19 [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
Ajay Lotan Thakur651722d2022-05-21 10:57:57 -070061 - *Can be done only thorugh SIMAPP*
ajayec9bb9d2021-12-08 00:03:36 -080062 - This step is used to configure IMSI in the SD-Core
63 - This procedure is used to configure security keys for a subscriber
64 - Subscribers can be created during system startup or later
65
66 - Step2 : Device Group Configuration
67
68 - Group multiple devices under device group
69 - Configure QoS for the device group
70 - Configure IP domain configuration for the device group e.g. MTU, IP Pool, DNS server
71
72
73 - Step3: Network Slice Configuration
74
75 - Configuration to create a Network Slice
76 - Add device Group into Network Slice
77 - Slice contains the Slice level QoS configuration
Vijaya Rani59a17832021-12-03 19:27:41 +053078 - Site configuration including UPF, eNBs/gNBs assigned to the slice
ajay87945292021-12-08 00:52:00 -080079 - Applications allowed to be accessed by this slice (see :ref:`application-filtering`)
Vijaya Rani59a17832021-12-03 19:27:41 +053080
Ajay Lotan Thakur651722d2022-05-21 10:57:57 -070081.. note::
82 - Step1 can only be done through Simapp. Look for simapp override values.
83 - Step2 & Step3 can be done through Simapp or ROC. Simapp has option to create network slice. Look for configuration *provision-network-slice: false* in simapp configuration
84
ajay154b1a02022-03-07 14:54:22 -0800854G, 5G Configuration Differences
86--------------------------------
87One of the most important difference in 4G & 5G configuration is around network slice. 5G has
88network slice Ids sent in protocol messages whereas 4G does not have any slice Id in messages.
89We implement slicing in 4G using APNs. Let's go over these difference in detail below,
Vijaya Rani59a17832021-12-03 19:27:41 +053090
ajay154b1a02022-03-07 14:54:22 -080091- **Slice Id** : Since 4G does not have slice Id in any protocol messages, configured slice Ids
92 are ignored in 4G components. So it also means that even if configured slice Ids are
93 duplicate it will not have any impact. But its still a good practice to have unique Slice
94 Id per slice.
95
96- **APN/DNN configuration**: In case of 4G each slice should have separate APN. This is required
97 because APN is used as slice identifier internally in the 4G modules. This is not true in
98 case of 5G because 5G has slice Id along with APN/DNN. So in general its good practice to
99 keep APN/DNN in the slice unique so same slice can work for 4G & 5G configuration.
100
101
102- **UE Address Allocation**: In the Slice API you will see that we provide UE IP pool configuration.
103 Its important to know how UE IP address allocation is supported in SD-Core 4G & 5G components.
104
105 In case of 4G, Control Plane supports UE address allocation from UPF. So it also means that even
106 if you have specified UE address pool in the slice config, you still need to add the address pool
107 configuration in the UPF deployment.
108
109 In case of 5G, control plane has the capability to manage multiple IP pools so SMF uses the UE
110 address pool configuration received in the network slice APIs
111 and use them to appropriately assign UE address. But remember SD-Core 5G does not support UE IP
112 address allocation from UPF. So in case of 5G UPF configuration, even if you don't configure address
113 pool configuration it is still fine. We plan to add support of UPF UE address allocation in next
114 release.
115
Ajay Lotan Thakurf4b2cad2022-05-19 10:44:35 -0700116
117.. code-block::
118
119 #override config to configure upf address pool
120 config:
121 upf:
122 cfgFiles:
123 upf.json:
124 cpiface:
125 enable_ue_ip_alloc: true
126 ue_ip_pool: "10.96.2.0/26"
127
ajay154b1a02022-03-07 14:54:22 -0800128- **DNN/APN in Initial Attach/Register Message** : In case of 4G, if UE has set any random APN then
129 MME overrides the APN based on the user profile in HSS. So its important to note that even if APN
130 is not matching with configured APN we are still good. In case of 5G, apn name & Slice ID coming
131 from UE is used to select SMF, so its important to have UE configured with correct APN/DNN name.
132 Core network passed allowed slice IDs to UE in the registration accept message.