blob: 383a306c2488c94806f1a73665857393778e15f7 [file] [log] [blame]
badhri854c028b32021-11-03 18:24:05 -05001# Copyright 2018 Intel Corporation
2# Copyright 2018-present Open Networking Foundation
3#
4# SPDX-License-Identifier: Apache-2.0
badhri854c028b32021-11-03 18:24:05 -05005
6images:
Ajay Lotan Thakur71115fe2022-03-03 22:26:08 -07007 repository: "" # default docker hub
badhri854c028b32021-11-03 18:24:05 -05008 tags:
Ajay Lotan Thakur71115fe2022-03-03 22:26:08 -07009 init: omecproject/busybox:stable
badhri854c028b32021-11-03 18:24:05 -050010 depCheck: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1
Ajay Lotan Thakur71115fe2022-03-03 22:26:08 -070011 hssdb: omecproject/c3po-hssdb:master-df54425
12 hss: omecproject/c3po-hss:master-df54425
13 mme: omecproject/nucleus:master-01dc535
14 spgwc: omecproject/spgw:master-96012d9
15 pcrf: omecproject/c3po-pcrf:pcrf-d58dd1c
16 pcrfdb: omecproject/c3po-pcrfdb:pcrf-d58dd1c
17 config4g: omecproject/5gc-webui:master-7f96cfd
badhri854c028b32021-11-03 18:24:05 -050018 pullPolicy: IfNotPresent
badhri854c028b32021-11-03 18:24:05 -050019
20nodeSelectors:
21 enabled: false
22 hss:
23 label: omec-cp
24 value: enabled
25 pcrf:
26 label: omec-cp
27 value: enabled
28 mme:
29 label: omec-cp
30 value: enabled
31 spgwc:
32 label: omec-cp
33 value: enabled
34 config4g:
35 label: omec-cp
36 value: enabled
37
38resources:
39 enabled: true
40 pcrf:
41 requests:
42 cpu: 2
43 memory: 1Gi
44 limits:
45 cpu: 2
46 memory: 1Gi
47 hss:
48 requests:
49 cpu: 2
50 memory: 1Gi
51 limits:
52 cpu: 2
53 memory: 1Gi
54 mme:
55 # Note that MME pod is composed of 4 containers
56 # Provide resources for a container, not a pod total
57 requests:
58 cpu: 0.5
59 memory: 1Gi
60 limits:
61 cpu: 0.5
62 memory: 1Gi
63 spgwc:
64 requests:
65 cpu: 2
66 memory: 5Gi
67 limits:
68 cpu: 2
69 memory: 5Gi
70 config4g:
71 requests:
72 cpu: 1
73 memory: 1Gi
74 limits:
75 cpu: 1
76 memory: 1Gi
77
78cassandra:
79 deploy: true
80 fullnameOverride: cassandra
81 image:
82 tag: 2.1.20
83 #selector:
84 # nodeSelector:
85 # cassandra: enabled
86 persistence:
87 enabled: false
88 config:
89 #cluster_size: 1
90 #seed_size: 1
91 endpoint_snitch: GossipingPropertyFileSnitch
92 readinessProbe:
93 initialDelaySeconds: 10
94 resources: {}
95 #requests:
96 # memory: 4Gi
97 # cpu: 2
98 #limits:
99 # memory: 4Gi
100 # cpu: 2
101
102config:
103 clusterDomain: cluster.local
badhri85135b00c2021-12-14 17:46:24 -0700104 valgrind:
105 enabled: false
badhri854c028b32021-11-03 18:24:05 -0500106 coreDump:
107 enabled: true
108 path: /tmp/coredump
109 managedByConfigPod: # config comes from helm by default, if enabled true, then discard
110 enabled: false # helm chart config and use the config from config Pod
111 useExistingConfigMap: false
112 logger:
113 WEBUI:
114 debugLevel: info
115 ReportCaller: false
116 config4g:
Ajay Lotan Thakurda680a32022-02-22 23:37:00 -0600117 deploy: true
badhri854c028b32021-11-03 18:24:05 -0500118 podAnnotations:
119 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":9089,"schema":"HTTP"}]'
120 prometheus:
121 port: 9089
122 nodePort:
123 enabled: false
124 port: 30084
125 urlport:
126 port: 5000
127 nodePort:
128 enabled: false
129 port: 35000
badhri854c028b32021-11-03 18:24:05 -0500130 cfgFiles:
131 webuicfg.conf:
132 info:
133 version: 1.0.0
134 description: WebUI initial local configuration
135 configuration:
Ajay Lotan Thakurda680a32022-02-22 23:37:00 -0600136 spec-compliant-sdf: false
badhri854c028b32021-11-03 18:24:05 -0500137 endpoints:
138 - type: spgw
139 configPushUrl: "http://spgwc:8080/v1/config"
140 configCheckUrl: "http://spgwc:8080/v1/config-check"
badhri854c028b32021-11-03 18:24:05 -0500141 - type: mme-s1ap
142 configPushUrl: "http://mme:8081/v1/config/slice"
143 configCheckUrl: "http://mme:8081/v1/config-check"
144 - type: hss
145 configPushUrl: "http://hss:8080/v2/config/imsis"
146 configCheckUrl: "http://hss:8080/v2/config-check"
147 - type: pcrf
148 configPushUrl: "http://pcrf:8080/v1/config/policies"
149 configCheckUrl: "http://pcrf:8080/v1/config-check"
150 pcrf:
151 deploy: true
152 podAnnotations:
153 fluentbit.io/parser: pcrf
154 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":9089,"schema":"HTTP"}]'
155 pcrfdb: cassandra
156 configPort:
157 port: 8080
158 nodePort:
159 enabled: false
160 port: 30081
161 gx:
162 nodePort:
163 enabled: false
164 port: 33868
165 prometheus:
166 port: 9089
167 nodePort:
168 enabled: false
169 port: 30086
170 # Provide the peer whitelist extension
171 # The peer name must be a fqdn. We allow also a special "*" character as the
172 # first label of the fqdn, to allow all fqdn with the same domain name.
173 # Example: *.example.net will allow host1.example.net and host2.example.net
174 acl:
175 oldTls: "*.cluster.local"
176 #ipSec:
177 bootstrap:
178 enabled: false
179 # See https://github.com/omec-project/c3po for details of config options
180 cfgFiles:
181 subscriber_mapping.json:
182 Policies:
183 service-groups:
184 internet:
185 default-activate-service:
186 - be-internet-access
187 services:
188 be-internet-access:
189 qci: 9
190 arp: 1
191 AMBR_UL: 1024000
192 AMBR_DL: 10240000
193 service-activation-rules:
194 - best-effort-internet-access
195 #activate-conditions:
196 # timer: 50
197 #deactivate-conditions:
198 # timer: 60
199 rules:
200 best-effort-internet-access:
201 definition:
202 Charging-Rule-Name: "best-effort-internet-access"
203 Flow-Status: 2
204 QoS-Information:
205 QoS-Class-Identifier: 9
206 Max-Requested-Bandwidth-UL: 512000
207 Max-Requested-Bandwidth-DL: 5120000
208 Guaranteed-Bitrate-UL: 0
209 Guaranteed-Bitrate-DL: 0
210 Allocation-Retention-Priority:
211 Priority-Level: 1
212 Pre-emption-Capability: 1
213 Pre-emption-Vulnerability: 1
214 Flow-Information:
215 Flow-Direction: 3
216 Flow-Description: "permit out ip from 0.0.0.0/0 to assigned"
217 pcrf.json:
218 common:
219 fdcfg: conf/pcrf.conf
220 # Origin host and realm will be set automatically if unset
221 #originhost: ""
222 #originrealm: ""
223 pcrf:
224 gtwhost: "*"
225 gtwport: 9080
226 #restport will be set by configmap
227 #restport: ""
228 ossport: 9082
229 # casssrv will be set to cassandra in the same cluster if unset
230 #casssrv: ""
231 casskeyspace: vpcrf
232 casshost: "cassandra"
233 cassusr: root
234 casspwd: root
235 cassdb: vpcrf
236 casscoreconnections: 2
237 cassmaxconnections: 8
238 cassioqueuesize: 32768
239 cassiothreads: 2
240 randv: true
241 optkey: "63bfa50ee6523365ff14c1f45f88737d"
242 reloadkey: false
243 logsize: 20
244 lognumber: 5
Ajay Lotan Thakur484545b2022-02-28 14:39:16 -0600245 logname: "" #logs/pcrf.log
badhri854c028b32021-11-03 18:24:05 -0500246 logqsize: 8192
247 statlogsize: 20
248 statlognumber: 5
Ajay Lotan Thakur484545b2022-02-28 14:39:16 -0600249 statlogname: "" #logs/pcrf_stat.log
badhri854c028b32021-11-03 18:24:05 -0500250 auditlogsize: 20
251 auditlognumber: 5
Ajay Lotan Thakur484545b2022-02-28 14:39:16 -0600252 auditlogname: "" #logs/pcrf_audit.log
badhri854c028b32021-11-03 18:24:05 -0500253 statfreq: 2000
254 numworkers: 4
255 concurrent: 10
256 ossfile: conf/oss.json
257 verifyroamingsubscribers: false
258 rulesfile: conf/subscriber_mapping.json
259 oss.json:
260 option:
261 id: url
262 type: string
263 services:
264 - id: logger
265 commands:
266 - id: describe_loggers
267 - id: set_logger_level
268 options:
269 - id: name
270 type: string
271 - id: level
272 type: integer
273 - id: stats
274 commands:
275 - id: describe_stats_frequency
276 - id: describe_stats_live
277 - id: set_stats_frequency
278 options:
279 - id: frequency
280 type: integer
281 hss:
282 deploy: true
283 podAnnotations:
284 fluentbit.io/parser: hss
285 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":9089,"schema":"HTTP"}]'
286 hssdb: cassandra
287 s6a:
288 nodePort:
289 enabled: false
290 port: 33868
291 configPort:
292 port: 8080
293 nodePort:
294 enabled: false
295 port: 30081
296 prometheus:
297 port: 9089
298 nodePort:
299 enabled: false
300 port: 30086
301 # Provide the peer whitelist extension
302 # The peer name must be a fqdn. We allow also a special "*" character as the
303 # first label of the fqdn, to allow all fqdn with the same domain name.
304 # Example: *.example.net will allow host1.example.net and host2.example.net
305 acl:
306 oldTls: "*.cluster.local"
307 #ipSec:
308 bootstrap:
309 enabled: true
310 users:
311 - apn: internet
312 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
313 opc: "d4416644f6154936193433dd20a0ace0"
314 sqn: 96
315 imsiStart: "208014567891200"
316 msisdnStart: "1122334455"
317 mme_identity: mme.omec.svc.cluster.local
318 mme_realm: omec.svc.cluster.local
319 count: 10
320 staticusers:
321 - apn: internet
322 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
323 opc: "d4416644f6154936193433dd20a0ace0"
324 sqn: 96
325 imsi: "208014567891200"
326 msisdn: "1122334455"
327 staticAddr: 0.0.0.0
328 mme_identity: mme.omec.svc.cluster.local
329 mme_realm: omec.svc.cluster.local
330 mmes:
331 - id: 1
332 mme_identity: mme.omec.svc.cluster.local
333 mme_realm: omec.svc.cluster.local
334 isdn: "19136246000"
335 unreachability: 1
336 # See https://github.com/omec-project/c3po for details of config options
337 cfgFiles:
338 hss.json:
339 common:
340 fdcfg: conf/hss.conf
341 # Origin host and realm will be set automatically if unset
342 #originhost: ""
343 #originrealm: ""
344 hss:
345 gtwhost: "*"
346 gtwport: 9080
347 #restport will be set by configmap
348 #restport: ""
349 ossport: 9082
350 # casssrv will be set to cassandra in the same cluster if unset
351 #casssrv: ""
352 cassusr: root
353 casspwd: root
354 cassdb: vhss
355 casscoreconnections: 2
356 cassmaxconnections: 8
357 cassioqueuesize: 32768
358 cassiothreads: 2
359 randv: true
360 optkey: "63bfa50ee6523365ff14c1f45f88737d"
361 reloadkey: false
362 logsize: 20
363 lognumber: 5
Ajay Lotan Thakur484545b2022-02-28 14:39:16 -0600364 logname: "" #logs/hss.log
badhri854c028b32021-11-03 18:24:05 -0500365 logqsize: 8192
366 statlogsize: 20
367 statlognumber: 5
Ajay Lotan Thakur484545b2022-02-28 14:39:16 -0600368 statlogname: "" #logs/hss_stat.log
badhri854c028b32021-11-03 18:24:05 -0500369 auditlogsize: 20
370 auditlognumber: 5
Ajay Lotan Thakur484545b2022-02-28 14:39:16 -0600371 auditlogname: "" #logs/hss_audit.log
badhri854c028b32021-11-03 18:24:05 -0500372 statfreq: 2000
373 numworkers: 4
374 concurrent: 10
375 ossfile: conf/oss.json
376 verifyroamingsubscribers: false
377 oss.json:
378 option:
379 id: url
380 type: string
381 services:
382 - id: logger
383 commands:
384 - id: describe_loggers
385 - id: set_logger_level
386 options:
387 - id: name
388 type: string
389 - id: level
390 type: integer
391 - id: stats
392 commands:
393 - id: describe_stats_frequency
394 - id: describe_stats_live
395 - id: set_stats_frequency
396 options:
397 - id: frequency
398 type: integer
399 mme:
400 deploy: true
401 podAnnotations:
402 fluentbit.io/parser: mme
403 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":3081,"schema":"HTTP"}]'
404 spgwAddr: spgwc
405 s11:
406 nodePort:
407 enabled: false
408 port: 32124
409 s6a:
410 nodePort:
411 enabled: false
412 port: 33869
413 prometheus:
414 port: 3081
415 nodePort:
416 enabled: false
417 port: 30085
418 # See https://github.com/omec-project/openmme/blob/master/README.txt for more config options
419 cfgFiles:
420 config.json:
421 mme:
422 name: vmmestandalone
423 group_id: 1
424 code: 1
425 logging: debug
426 plmnlist:
427 #plmn1 is aether common plmn, plmn2 is for aether-in-a-box
428 plmn1: "mcc=315,mnc=010"
429 plmn2: "mcc=208,mnc=01"
430 apnlist:
431 internet: "spgwc"
432 default: "spgwc" #default spgwc to be used
433 feature_list:
434 dcnr_support: "disabled"
435 security:
436 #int_alg_list: "[EIA0]"
437 int_alg_list: "[EIA1, EIA2, EIA0]"
438 sec_alg_list: "[EEA0, EEA1, EEA2]"
439 s1ap:
440 sctp_port: 36412
441 sctp_port_external: 36412
442 s11:
443 egtp_default_port: 2123
444 # sgw_addr and pgw_addr will be set dynamically if unset
445 #sgw_addr:
446 #pgw_addr:
447 s6a:
448 host_type: freediameter
449 # host and realm will be set dynamically if unset
450 #host:
451 #realm:
452 spgwc:
453 deploy: true
454 managedByRoc:
455 enabled: false
456 syncUrl: ""
457 podAnnotations:
458 fluentbit.io/parser: spgwc
459 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":9089,"schema":"HTTP"}]'
460 s11:
461 port: 2123
462 nodePort:
463 enabled: false
464 port: 32123
465 n4:
466 port: 8805
467 nodePort:
468 enabled: false
469 port: 30021
470 prometheus:
471 port: 9089
472 nodePort:
473 enabled: false
474 port: 30084
475 rest:
476 port: 8080
477 nodePort:
478 enabled: false
479 port: 30080
480 cfgFiles:
481 cp.json:
482 global:
483 transmitTimerSec: 2
484 periodicTimerSec: 10
485 transmitCount: 5
486 requestTimeoutMilliSec: 5000
487 requestTries: 3
Ajay Lotan Thakur6e55c792021-11-08 21:05:44 -0700488 gxConfig: 1
badhri854c028b32021-11-03 18:24:05 -0500489 urrConfig: 0
490 loggingLevel: "LOG_DEBUG"
Ajay Lotan Thakur6e55c792021-11-08 21:05:44 -0700491 heartbeatFailure: true
Ajay Lotan Thakurdfa50352022-02-18 13:42:31 -0600492 upfdnstimeout: 100 #timeout in ms
badhri854c028b32021-11-03 18:24:05 -0500493 ip_pool_config:
494 ueIpPool:
495 ip: "10.250.0.0"
496 mask: "255.255.0.0"
497 staticUeIpPool:
498 ip: "10.249.1.0"
499 mask: "255.255.255.0"
500 config.json:
501 gx:
502 host_type: freediameter
503 # host and realm will be set dynamically if unset
504 #host:
505 #realm:
506 subscriber_mapping.json:
507 subscriber-selection-rules:
508 - priority: 5
509 keys:
510 serving-plmn:
511 mcc: 208
512 mnc: 10
513 tac: 1
514 imsi-range:
515 from: 200000000000000
516 to: 299999999999999
517 selected-apn-profile: apn-profile1
518 selected-qos-profile: qos-profile1
519 selected-access-profile:
520 - access-all
521 selected-user-plane-profile: user-plane1
522 - priority: 10
523 keys:
524 match-all: true
525 selected-apn-profile: apn-profile1
526 selected-qos-profile: qos-profile1
527 selected-access-profile:
528 - access-all
529 selected-user-plane-profile: user-plane1
530 apn-profiles:
531 apn-profile1:
532 apn-name: internet
533 usage: 1
534 network: lbo
535 gx_enabled: true
536 dns_primary: 8.8.8.4
537 dns_secondary: 8.8.8.8
538 mtu: 1460
539 user-plane-profiles:
540 user-plane1:
541 user-plane: upf
542 global-address: true
543 qos-tags:
544 tag1: BW
545 access-tags:
546 tag1: ACC
547 qos-profiles:
Ajay Lotan Thakur71115fe2022-03-03 22:26:08 -0700548 qos-profile1:
549 qci: 9
550 arp: 1
551 apn-ambr:
552 - 12345678
553 - 12345678
badhri854c028b32021-11-03 18:24:05 -0500554 mobile:
555 qci: 9
556 arp: 1
557 apn-ambr:
558 - 12345678
559 - 12345678
560 access-profiles:
561 access-all:
562 type: allow-all
563 internet-only:
564 type: internet-only
565 filter: No_private_network
566 intranet-only:
567 type: intranet-only
568 filter: only_private_network
569 apps-only:
570 type: specific-network
571 filter: only_apps_network
572 specific-app:
573 type: specific-destination-only
574 filter: allow-app-name
575 excluding-app:
576 type: excluding-this-app
577 filter: exclude-app-name