blob: 0828d6bcaad99db79c4846c304ecd643d7f59206 [file] [log] [blame]
..
SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
SPDX-License-Identifier: Apache-2.0
Configuration using Simapp interface
====================================
Easiest way to configure SD-Core is to use simapp. Simapp is the POD which takes
yaml configuration and configures the subscribers, device groups, network slices
Simapp Initial Configuration Helm Values
----------------------------------------
.. code-block::
config:
simapp:
cfgFiles:
simapp.yaml:
configuration:
provision-network-slice: true
sub-provision-endpt:
addr: config4g
port: 5000
subscribers:
- ueId-start: 208014567891201
ueId-end: 208014567891211
plmnId: 20801
opc: "d4416644f6154936193433dd20a0ace0"
op: ""
key: "465b5ce8b199b49faa5f0a2ee238a6bc"
sequenceNumber: 96
device-groups:
- name: "4g-oaisim-user"
imsis:
- "208014567891201"
- "208014567891202"
ip-domain-name: "pool1"
ip-domain-expanded:
dnn: internet
dns-primary: "8.8.8.8"
mtu: 1460
ue-ip-pool: "172.250.0.0/16"
ue-dnn-qos:
dnn-mbr-downlink: 20000000
dnn-mbr-uplink: 4000000
bitrate-unit: bps
traffic-class: #default bearer QCI/ARP
name: "platinum"
qci: 9
arp: 1
pdb: 300
pelr: 6
site-info: "aiab"
network-slices:
- name: "default"
slice-id:
sd: "010203"
sst: 1
site-device-group:
- "4g-oaisim-user"
site-info:
gNodeBs:
- name: "aiab-gnb1"
tac: 1
plmn:
mcc: "208"
mnc: "01"
site-name: "aiab"
upf:
upf-name: "upf"
upf-port: 8805
application-filtering-rules:
- rule-name: rule-1
priority: 5
action : permit
endpoint: "10.91.1.3"
traffic-class:
name: platinum
qci: 9
arp: 125
pdb: 300
pelr: 6
.. note::
Simapp takes initial configuration through helm chart. Above yaml files is initial config.
Operator can add multiple devices, device groups & slices in the initial config.
Configuration Modification through Simapp interface
---------------------------------------------------
If simapp is already running then ``kubectl edit configmap simapp -n <namespace>`` can be used to update
the simapp configuration. Simapp handles config delete, modify & addition by watching configmap
for any changes. There is no need to restart simapp after configmap change. New config will be automatically
reloaded and updated configuration is passed to SD-Core.