blob: 6029c71dd42827fc4faacbe5e48253b22485d5fe [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
11.. code-block::
12
13 config:
14 simapp:
15 cfgFiles:
16 simapp.yaml:
17 configuration:
18 provision-network-slice: true
19 sub-provision-endpt:
20 addr: config4g
21 port: 5000
22 subscribers:
23 - ueId-start: 208014567891201
24 ueId-end: 208014567891211
25 plmnId: 20801
26 opc: "d4416644f6154936193433dd20a0ace0"
27 op: ""
28 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
29 sequenceNumber: 96
30 device-groups:
31 - name: "4g-oaisim-user"
32 imsis:
33 - "208014567891201"
34 - "208014567891202"
35 ip-domain-name: "pool1"
36 ip-domain-expanded:
37 dnn: internet
38 dns-primary: "8.8.8.8"
39 mtu: 1460
40 ue-ip-pool: "172.250.0.0/16"
41 ue-dnn-qos:
42 dnn-mbr-downlink: 20000000
43 dnn-mbr-uplink: 4000000
44 bitrate-unit: bps
45 traffic-class: #default bearer QCI/ARP
46 name: "platinum"
47 qci: 9
48 arp: 1
49 pdb: 300
50 pelr: 6
51 site-info: "aiab"
52 network-slices:
53 - name: "default"
54 slice-id:
55 sd: "010203"
56 sst: 1
57 site-device-group:
58 - "4g-oaisim-user"
59 site-info:
60 gNodeBs:
61 - name: "aiab-gnb1"
62 tac: 1
63 plmn:
64 mcc: "208"
65 mnc: "01"
66 site-name: "aiab"
67 upf:
68 upf-name: "upf"
69 upf-port: 8805
ajay4783e862021-12-15 21:47:25 -080070 application-filtering-rules:
71 - rule-name: rule-1
72 priority: 5
73 action : permit
74 endpoint: "10.91.1.3"
75 traffic-class:
76 name: platinum
77 qci: 9
78 arp: 125
79 pdb: 300
80 pelr: 6
ajay87945292021-12-08 00:52:00 -080081
ajay4783e862021-12-15 21:47:25 -080082.. note::
83 Simapp takes initial configuration through helm chart. Above yaml files is initial config.
84 Operator can add multiple devices, device groups & slices in the initial config. If simapp
85 is already running then ``kubectl edit configmap simapp -n <namespace>`` can be used to update
86 the simapp configuration. Simapp handles config delete, modify & addition by watching configmap
87 for any changes. There is no need to restart simapp after configmap change. New config will
88 be automatically reloaded.