blob: 0828d6bcaad99db79c4846c304ecd643d7f59206 [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
ajayce0380c2021-12-14 21:51:00 -08005Configuration using Simapp interface
6====================================
ajay87945292021-12-08 00:52:00 -08007
8Easiest way to configure SD-Core is to use simapp. Simapp is the POD which takes
9yaml configuration and configures the subscribers, device groups, network slices
10
ajaycbd17062022-03-06 11:12:58 -080011Simapp Initial Configuration Helm Values
12----------------------------------------
13
ajay87945292021-12-08 00:52:00 -080014.. 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
ajay4783e862021-12-15 21:47:25 -080073 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
ajay87945292021-12-08 00:52:00 -080084
ajay4783e862021-12-15 21:47:25 -080085.. note::
86 Simapp takes initial configuration through helm chart. Above yaml files is initial config.
ajaycbd17062022-03-06 11:12:58 -080087 Operator can add multiple devices, device groups & slices in the initial config.
88
89Configuration Modification through Simapp interface
90---------------------------------------------------
91If simapp is already running then ``kubectl edit configmap simapp -n <namespace>`` can be used to update
92the simapp configuration. Simapp handles config delete, modify & addition by watching configmap
93for any changes. There is no need to restart simapp after configmap change. New config will be automatically
94reloaded and updated configuration is passed to SD-Core.