ajay | d19711c | 2021-12-07 12:07:04 -0800 | [diff] [blame^] | 1 | Configuration Overview |
| 2 | ====================== |
ajay | 60fd69f | 2021-11-23 22:38:10 -0800 | [diff] [blame] | 3 | |
ajay | 2c0f6f4 | 2021-12-02 22:45:19 -0800 | [diff] [blame] | 4 | Reference helm chart |
| 5 | -------------------- |
ajay | 60fd69f | 2021-11-23 22:38:10 -0800 | [diff] [blame] | 6 | |
ajay | 2c0f6f4 | 2021-12-02 22:45:19 -0800 | [diff] [blame] | 7 | - `SD-Core Helm Chart Repository <https://gerrit.opencord.org/admin/repos/sdcore-helm-charts>`_ |
| 8 | |
| 9 | Configuration Methods |
| 10 | --------------------- |
| 11 | SD-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 | |
| 25 | Configuration |
| 26 | ------------- |
Vijaya Rani | 59a1783 | 2021-12-03 19:27:41 +0530 | [diff] [blame] | 27 | This Configuration describes what to configure at high level from RoC/SIMAPP. ConfigPod stores this configuration |
| 28 | and publish to respective clients over grpc. |
ajay | 2c0f6f4 | 2021-12-02 22:45:19 -0800 | [diff] [blame] | 29 | |
| 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 Rani | 59a1783 | 2021-12-03 19:27:41 +0530 | [diff] [blame] | 35 | - Site configuration including UPF, eNBs/gNBs assigned to the slice |
ajay | 2c0f6f4 | 2021-12-02 22:45:19 -0800 | [diff] [blame] | 36 | |
| 37 | - Device Group Configuration |
| 38 | |
Vijaya Rani | 59a1783 | 2021-12-03 19:27:41 +0530 | [diff] [blame] | 39 | - Configuration of group of Devices/Subscribers |
ajay | 2c0f6f4 | 2021-12-02 22:45:19 -0800 | [diff] [blame] | 40 | - QoS required for the device group |
Vijaya Rani | 59a1783 | 2021-12-03 19:27:41 +0530 | [diff] [blame] | 41 | - IP domain configuration for the device group |
ajay | 2c0f6f4 | 2021-12-02 22:45:19 -0800 | [diff] [blame] | 42 | |
Vijaya Rani | 59a1783 | 2021-12-03 19:27:41 +0530 | [diff] [blame] | 43 | - Device/Subscriber Provisioning |
ajay | 2c0f6f4 | 2021-12-02 22:45:19 -0800 | [diff] [blame] | 44 | |
Vijaya Rani | 59a1783 | 2021-12-03 19:27:41 +0530 | [diff] [blame] | 45 | - Security keys for a subscriber or group of subscribers |
ajay | 2c0f6f4 | 2021-12-02 22:45:19 -0800 | [diff] [blame] | 46 | |
| 47 | Sample Configuration |
| 48 | -------------------- |
Vijaya Rani | 59a1783 | 2021-12-03 19:27:41 +0530 | [diff] [blame] | 49 | Sample 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 | } |
ajay | 2c0f6f4 | 2021-12-02 22:45:19 -0800 | [diff] [blame] | 101 | |
Vijaya Rani | 59a1783 | 2021-12-03 19:27:41 +0530 | [diff] [blame] | 102 | - Delete |
| 103 | URL: `http://<config-service-name-or-ip>:<port>/network-slice/<slice-name>` |
| 104 | Ex: `http://config5g:8080/network-slice/slice1` |
| 105 | |
| 106 | Sample 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` |