ajay | b3f4098 | 2021-12-08 14:26:11 -0800 | [diff] [blame] | 1 | .. |
| 2 | SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org> |
| 3 | SPDX-License-Identifier: Apache-2.0 |
| 4 | |
ajay | ce0380c | 2021-12-14 21:51:00 -0800 | [diff] [blame] | 5 | Configuration using Simapp interface |
| 6 | ==================================== |
ajay | 8794529 | 2021-12-08 00:52:00 -0800 | [diff] [blame] | 7 | |
| 8 | Easiest way to configure SD-Core is to use simapp. Simapp is the POD which takes |
| 9 | yaml configuration and configures the subscribers, device groups, network slices |
| 10 | |
ajay | cbd1706 | 2022-03-06 11:12:58 -0800 | [diff] [blame] | 11 | Simapp Initial Configuration Helm Values |
| 12 | ---------------------------------------- |
| 13 | |
ajay | 8794529 | 2021-12-08 00:52:00 -0800 | [diff] [blame] | 14 | .. code-block:: |
| 15 | |
| 16 | config: |
| 17 | simapp: |
| 18 | cfgFiles: |
| 19 | simapp.yaml: |
| 20 | configuration: |
| 21 | provision-network-slice: true |
| 22 | sub-provision-endpt: |
| 23 | addr: config4g |
| 24 | port: 5000 |
| 25 | subscribers: |
| 26 | - ueId-start: 208014567891201 |
| 27 | ueId-end: 208014567891211 |
| 28 | plmnId: 20801 |
| 29 | opc: "d4416644f6154936193433dd20a0ace0" |
| 30 | op: "" |
| 31 | key: "465b5ce8b199b49faa5f0a2ee238a6bc" |
| 32 | sequenceNumber: 96 |
| 33 | device-groups: |
| 34 | - name: "4g-oaisim-user" |
| 35 | imsis: |
| 36 | - "208014567891201" |
| 37 | - "208014567891202" |
| 38 | ip-domain-name: "pool1" |
| 39 | ip-domain-expanded: |
| 40 | dnn: internet |
| 41 | dns-primary: "8.8.8.8" |
| 42 | mtu: 1460 |
| 43 | ue-ip-pool: "172.250.0.0/16" |
| 44 | ue-dnn-qos: |
| 45 | dnn-mbr-downlink: 20000000 |
| 46 | dnn-mbr-uplink: 4000000 |
| 47 | bitrate-unit: bps |
| 48 | traffic-class: #default bearer QCI/ARP |
| 49 | name: "platinum" |
| 50 | qci: 9 |
| 51 | arp: 1 |
| 52 | pdb: 300 |
| 53 | pelr: 6 |
| 54 | site-info: "aiab" |
| 55 | network-slices: |
| 56 | - name: "default" |
| 57 | slice-id: |
| 58 | sd: "010203" |
| 59 | sst: 1 |
| 60 | site-device-group: |
| 61 | - "4g-oaisim-user" |
| 62 | site-info: |
| 63 | gNodeBs: |
| 64 | - name: "aiab-gnb1" |
| 65 | tac: 1 |
| 66 | plmn: |
| 67 | mcc: "208" |
| 68 | mnc: "01" |
| 69 | site-name: "aiab" |
| 70 | upf: |
| 71 | upf-name: "upf" |
| 72 | upf-port: 8805 |
ajay | 4783e86 | 2021-12-15 21:47:25 -0800 | [diff] [blame] | 73 | application-filtering-rules: |
| 74 | - rule-name: “rule-1” |
| 75 | priority: 5 |
| 76 | action : permit |
| 77 | endpoint: "10.91.1.3" |
| 78 | traffic-class: |
| 79 | name: “platinum” |
| 80 | qci: 9 |
| 81 | arp: 125 |
| 82 | pdb: 300 |
| 83 | pelr: 6 |
ajay | 8794529 | 2021-12-08 00:52:00 -0800 | [diff] [blame] | 84 | |
ajay | 4783e86 | 2021-12-15 21:47:25 -0800 | [diff] [blame] | 85 | .. note:: |
| 86 | Simapp takes initial configuration through helm chart. Above yaml files is initial config. |
ajay | cbd1706 | 2022-03-06 11:12:58 -0800 | [diff] [blame] | 87 | Operator can add multiple devices, device groups & slices in the initial config. |
| 88 | |
| 89 | Configuration Modification through Simapp interface |
| 90 | --------------------------------------------------- |
| 91 | If simapp is already running then ``kubectl edit configmap simapp -n <namespace>`` can be used to update |
| 92 | the simapp configuration. Simapp handles config delete, modify & addition by watching configmap |
| 93 | for any changes. There is no need to restart simapp after configmap change. New config will be automatically |
| 94 | reloaded and updated configuration is passed to SD-Core. |