blob: fe0c678cb8d32759f27fb290b2d1ce3c8f668db0 [file] [log] [blame]
ajayd19711c2021-12-07 12:07:04 -08001Configuration Overview
2======================
ajay60fd69f2021-11-23 22:38:10 -08003
ajay2c0f6f42021-12-02 22:45:19 -08004Reference helm chart
5--------------------
ajay60fd69f2021-11-23 22:38:10 -08006
ajay2c0f6f42021-12-02 22:45:19 -08007 - `SD-Core Helm Chart Repository <https://gerrit.opencord.org/admin/repos/sdcore-helm-charts>`_
8
9Configuration Methods
10---------------------
11SD-Core supports 2 ways to configure network functions and micro services.
12
13 - Helm Chart
14
15 - Each individual network function and microservice has its own helm chart.
16 - User needs to provide override values and deploy the network functions as per their need.
17
18 - REST Config Interface
19
20 - Basic static configuration is passed through helm chart
21 - Dynamic slice creation APIs are provided through REST interface.
22 - REST APIs are defined to create/modify/delete network slice.
23 - REST APIs are also provided to provision subscribers and grouping the subscribers under device Group.
24
25Configuration
26-------------
Vijaya Rani59a17832021-12-03 19:27:41 +053027This Configuration describes what to configure at high level from RoC/SIMAPP. ConfigPod stores this configuration
28and publish to respective clients over grpc.
ajay2c0f6f42021-12-02 22:45:19 -080029
30 - Network Slice Configuration
31
32 - Configuration to create a slice of network
33 - Slice contains the QoS configuration
34 - Group of devices assigned to network slice
Vijaya Rani59a17832021-12-03 19:27:41 +053035 - Site configuration including UPF, eNBs/gNBs assigned to the slice
ajay2c0f6f42021-12-02 22:45:19 -080036
37 - Device Group Configuration
38
Vijaya Rani59a17832021-12-03 19:27:41 +053039 - Configuration of group of Devices/Subscribers
ajay2c0f6f42021-12-02 22:45:19 -080040 - QoS required for the device group
Vijaya Rani59a17832021-12-03 19:27:41 +053041 - IP domain configuration for the device group
ajay2c0f6f42021-12-02 22:45:19 -080042
Vijaya Rani59a17832021-12-03 19:27:41 +053043 - Device/Subscriber Provisioning
ajay2c0f6f42021-12-02 22:45:19 -080044
Vijaya Rani59a17832021-12-03 19:27:41 +053045 - Security keys for a subscriber or group of subscribers
ajay2c0f6f42021-12-02 22:45:19 -080046
47Sample Configuration
48--------------------
Vijaya Rani59a17832021-12-03 19:27:41 +053049Sample Network Slice Configuration through REST Interface
50 - Post:
51 URL: `http://<config-service-name-or-ip>:<port>/network-slice/<slice-name>`
52 Ex: `http://config5g:8080/network-slice/slice1`
53 Request Body:
54 {
55 "slice-id": {
56 "sst": "1",
57 "sd": "010203"
58 },
59 "qos": {
60 "uplink": 4000000,
61 "downlink": 20000000,
62 "bitrate-unit": "Mbps",
63 "traffic-class": "platinum"
64 },
65 "site-device-group": [
66 "iot-camera"
67 ],
68 "site-info": {
69 "site-name": "menlo",
70 "plmn": {
71 "mcc": "315",
72 "mnc": "010"
73 },
74 "gNodeBs": [
75 {
76 "name": "menlo-gnb1",
77 "tac": 1
78 }
79 ],
80 "upf": {
81 "upf-name": "upf.menlo.aetherproject.org",
82 "upf-port": 8805
83 }
84 },
85 "deny-applications": [
86 "iot-app2"
87 ],
88 "permit-applications": [
89 "iot-app"
90 ],
91 "applications-information": [
92 {
93 "app-name": "iot-app",
94 "endpoint": "1.1.1.1/32",
95 "start-port": 40000,
96 "end-port": 40000,
97 "protocol": 17
98 }
99 ]
100 }
ajay2c0f6f42021-12-02 22:45:19 -0800101
Vijaya Rani59a17832021-12-03 19:27:41 +0530102 - Delete
103 URL: `http://<config-service-name-or-ip>:<port>/network-slice/<slice-name>`
104 Ex: `http://config5g:8080/network-slice/slice1`
105
106Sample Device Group Configuration through REST Interface
107 - Post:
108 URL: `http://<config-service-name-or-ip>:<port>/device-group/<group-name>`
109 Ex: `http://config5g:8080/device-group/iot-camera`
110 Request Body:
111 {
112 "imsis": [
113 "123456789123456"
114 "123456789123457"
115 "123456789123458"
116 ],
117 "site-info": "menlo",
118 "ip-domain-name": "pool1",
119 "ip-domain-expanded": {
120 "dnn": "internet",
121 "ue-ip-pool": "10.91.0.0/16",
122 "dns-primary": "8.8.8.8",
123 "dns-secondary": "8.8.4.4",
124 "mtu": 1460,
125 "ue-dnn-qos": {
126 "dnn-mbr-uplink": 4000000,
127 "dnn-mbr-downlink": 20000000,
128 "bitrate-unit": "Mbps",
129 "traffic-class": "platinum"
130 }
131 }
132 }
133
134 - Delete
135 URL: `http://<config-service-name-or-ip>:<port>/device-group/<group-name>`
136 Ex: `http://config5g:8080/device-group/iot-camera`