blob: ffafbeff946f1710800386a948440e149c54443a [file] [log] [blame]
Jeremy Ronquillo223db002020-06-05 10:28:22 -07001# Copyright 2018 Intel Corporation
Jeremy Ronquilloec2d3e42020-06-05 11:33:39 -07002# Copyright 2018-present Open Networking Foundation
Jeremy Ronquillo223db002020-06-05 10:28:22 -07003#
Jeremy Ronquilloec2d3e42020-06-05 11:33:39 -07004# SPDX-License-Identifier: Apache-2.0
5# SPDX-License-Identifier: LicenseRef-ONF-Member-Only
Jeremy Ronquillo223db002020-06-05 10:28:22 -07006
7images:
8 tags:
9 init: docker.io/omecproject/pod-init:1.0.0
10 hssdb: docker.io/omecproject/c3po-hssdb:latest
11 hss: docker.io/omecproject/c3po-hss:latest
12 mme: docker.io/omecproject/openmme:paging-latest
13 mmeExporter: docker.io/omecproject/mme-exporter:paging-latest
14 spgwc: docker.io/omecproject/ngic-cp:central-cp-multi-upfs-latest
15 depCheck: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1
16 pullPolicy: IfNotPresent
17
18nodeSelectors:
19 enabled: false
20 hss:
21 label: omec-cp
22 value: enabled
23 mme:
24 label: omec-cp
25 value: enabled
26 spgwc:
27 label: omec-cp
28 value: enabled
29
30resources:
31 enabled: true
32 hss:
33 requests:
34 cpu: 2
35 memory: 1Gi
36 limits:
37 cpu: 2
38 memory: 1Gi
39 mme:
40 # Note that MME pod is composed of 4 containers
41 # Provide resources for a container, not a pod total
42 requests:
43 cpu: 0.5
44 memory: 1Gi
45 limits:
46 cpu: 0.5
47 memory: 1Gi
48 spgwc:
49 requests:
50 cpu: 2
51 memory: 5Gi
52 limits:
53 cpu: 2
54 memory: 5Gi
55
56cassandra:
57 deploy: true
58 fullnameOverride: cassandra
59 image:
60 tag: 2.1.20
61 #selector:
62 # nodeSelector:
63 # cassandra: enabled
64 persistence:
65 enabled: false
66 config:
67 #cluster_size: 1
68 #seed_size: 1
69 endpoint_snitch: GossipingPropertyFileSnitch
70 readinessProbe:
71 initialDelaySeconds: 10
72 resources: {}
73 #requests:
74 # memory: 4Gi
75 # cpu: 2
76 #limits:
77 # memory: 4Gi
78 # cpu: 2
79
80config:
81 clusterDomain: cluster.local
82 coreDump:
83 enabled: false
84 path: /tmp/coredump
85 hss:
86 hssdb: cassandra
87 s6a:
88 nodePort:
89 enabled: false
90 port: 33868
91 # Provide the peer whitelist extension
92 # The peer name must be a fqdn. We allow also a special "*" character as the
93 # first label of the fqdn, to allow all fqdn with the same domain name.
94 # Example: *.example.net will allow host1.example.net and host2.example.net
95 acl:
96 oldTls: "*.cluster.local"
97 #ipSec:
98 bootstrap:
99 enabled: true
100 apn: internet
101 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
102 opc: "d4416644f6154936193433dd20a0ace0"
103 sqn: 96
104 users:
105 - imsiStart: "208014567891200"
106 msisdnStart: "1122334455"
107 count: 10
108 staticusers:
109 - imsi: "208014567891201"
110 msisdn: "1122334455"
111 staticAddr: 0.0.0.0
112 mmes:
113 - id: 1
114 isdn: "19136246000"
115 unreachability: 1
116 # See https://github.com/omec-project/c3po for details of config options
117 cfgFiles:
118 hss.json:
119 common:
120 fdcfg: conf/hss.conf
121 # Origin host and realm will be set automatically if unset
122 #originhost: ""
123 #originrealm: ""
124 hss:
125 gtwhost: "*"
126 gtwport: 9080
127 restport: 9081
128 ossport: 9082
129 # casssrv will be set to cassandra in the same cluster if unset
130 #casssrv: ""
131 cassusr: root
132 casspwd: root
133 cassdb: vhss
134 casscoreconnections: 2
135 cassmaxconnections: 8
136 cassioqueuesize: 32768
137 cassiothreads: 2
138 randv: true
139 optkey: "63bfa50ee6523365ff14c1f45f88737d"
140 reloadkey: false
141 logsize: 20
142 lognumber: 5
143 logname: logs/hss.log
144 logqsize: 8192
145 statlogsize: 20
146 statlognumber: 5
147 statlogname: logs/hss_stat.log
148 auditlogsize: 20
149 auditlognumber: 5
150 auditlogname: logs/hss_audit.log
151 statfreq: 2000
152 numworkers: 4
153 concurrent: 10
154 ossfile: conf/oss.json
155 oss.json:
156 option:
157 id: url
158 type: string
159 services:
160 - id: logger
161 commands:
162 - id: describe_loggers
163 - id: set_logger_level
164 options:
165 - id: name
166 type: string
167 - id: level
168 type: integer
169 - id: stats
170 commands:
171 - id: describe_stats_frequency
172 - id: describe_stats_live
173 - id: set_stats_frequency
174 options:
175 - id: frequency
176 type: integer
177 mme:
178 spgwAddr: spgwc
179 s11:
180 nodePort:
181 enabled: false
182 port: 32124
183 s6a:
184 nodePort:
185 enabled: false
186 port: 33869
187 # See https://github.com/omec-project/openmme/blob/master/README.txt for more config options
188 cfgFiles:
189 config.json:
190 mme:
191 name: vmmestandalone
192 group_id: 1
193 code: 1
194 logging: error
195 mcc:
196 dig1: 2
197 dig2: 0
198 dig3: 8
199 mnc:
200 dig1: 0
201 dig2: 1
202 dig3: -1
203 plmnlist:
204 #plmn1 - aether common plmn, plmn2 is for comac-in-box
205 plmn1: "mcc=315,mnc=010"
206 plmn2: "mcc=208,mnc=01"
207 s1ap:
208 sctp_port: 36412
209 sctp_port_external: 36412
210 s11:
211 egtp_default_port: 2123
212 # sgw_addr and pgw_addr will be set dynamically if unset
213 #sgw_addr:
214 #pgw_addr:
215 s6a:
216 host_type: freediameter
217 # host and realm will be set dynamically if unset
218 #host:
219 #realm:
220 mme_exporter.json:
221 edges:
222 - id: onf-menlo
223 tac: 202
224 edgeName: edge-onf-menlo
225 - id: oaisim
226 tac: 1
227 edgeName: edge-oaisim
228 phoneTypes:
229 - imsi: 208014567891200
230 phoneType: "Pixel-4"
231 - imsi: 208014567891201
232 phoneType: "iPhone11-Pro"
233 spgwc:
234 apn: internet
235 # ueStaticPool is used only when multiUpfs is not enabled.
236 # In case of multiUpfs, use app_config.cfg to provide static pool per DP.
237 #ueStaticPool: 10.250.255.0/24
238 ueStaticPool: None
239 ueIpPool:
240 ip: 10.250.0.0
241 mask: 255.255.0.0
242 # This address must match to S1U IP address configured in omec-data-plane
243 s1uAddr: 192.168.251.3
244 s11:
245 nodePort:
246 enabled: false
247 port: 32123
248 port: 2123
249 # ZMQ mode is used for cp-dp communication when multiple UPFs is set
250 # Otherwise, direct UDP mode is used
251 # Note that enabling NodePort is valid only in direct UDP mode
252 multiUpfs: true
253 cpComm:
254 nodePort:
255 enabled: false
256 port: 30021
257 port: 21
258 # dpComm is required only when direct UDP mode is used
259 # When you deploy CP and DP to separate clusters in direct UDP mode, enable nodePort
260 # from both cpComm(omec-control-plane) and dpComm(omec-data-plane) and
261 # set "addr" to remote cluster's entry node IP and
262 # "port" to dpComm.nodePort.port value configured in omec-data-plane.
263 dpComm:
264 addr: spgwu
265 port: 20
266 cfgFiles:
267 # See https://github.com/omec-project/ngic-rtc/tree/master/config for details
268 app_config.cfg: |
269 [GLOBAL]
270 NUM_DP_SELECTION_RULES = 2
271 [DP_SELECTION_RULE_1]
272 DPID = 1
273 DPNAME = onf-menlo
274 MCC = 315
275 MNC = 010
276 TAC = 202
277 [DP_SELECTION_RULE_2]
278 DPID = 2
279 DPNAME = oaisim
280 MCC = 208
281 MNC = 01
282 TAC = 1
283 adc_rules.cfg: |
284 [GLOBAL]
285 NUM_ADC_RULES = 0
286 meter_profile.cfg: |
287 [GLOBAL]
288 NUM_OF_IDX = 0
289 pcc_rules.cfg: |
290 [GLOBAL]
291 NUM_PCC_FILTERS = 1
292 UL_AMBR_MTR_PROFILE_IDX = 1
293 DL_AMBR_MTR_PROFILE_IDX = 2
294
295 [PCC_FILTER_1]
296 RULE_NAME = DefaultRule
297 RATING_GROUP = 9
298 SERVICE_ID = 0
299 RULE_STATUS = 0
300 GATE_STATUS = 1
301 SESSION_CONT = 0
302 REPORT_LEVEL = 1
303 CHARGING_MODE = 0
304 METERING_METHOD = 0
305 MUTE_NOTIFY = 0
306 MONITORING_KEY = 0
307 SPONSOR_ID = 0
308 REDIRECT_INFO = 0
309 PRECEDENCE = 254
310 DROP_PKT_COUNT = 0
311 UL_MBR_MTR_PROFILE_IDX = 3
312 DL_MBR_MTR_PROFILE_IDX = 3
313 SDF_FILTER_IDX = 99998
314 sdf_rules.cfg: |
315 [GLOBAL]
316 NUM_SDF_FILTERS = 1
317
318 [SDF_FILTER_1]
319 DIRECTION = downlink_only
320 IPV4_REMOTE = 13.2.1.113
321 IPV4_REMOTE_MASK = 255.255.255.0
322 PROTOCOL = 17
323 LOCAL_LOW_LIMIT_PORT = 0
324 LOCAL_HIGH_LIMIT_PORT = 65535
325 REMOTE_LOW_LIMIT_PORT = 0
326 REMOTE_HIGH_LIMIT_PORT = 65535
327
328prometheusExporter:
329 mme:
330 enabled: true # if it is set to false, subscriber-monitoring will not be operational
331 port: 33081 # for NodePort