blob: 40a7ef0616209eb8c877e917a757a240ea20e3da [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
Ajay Lotan Thakurc298ff22022-03-17 16:54:33 -060013 mme: omecproject/nucleus:master-a8002eb
14 spgwc: omecproject/spgw:master-e419062
Ajay Lotan Thakur71115fe2022-03-03 22:26:08 -070015 pcrf: omecproject/c3po-pcrf:pcrf-d58dd1c
16 pcrfdb: omecproject/c3po-pcrfdb:pcrf-d58dd1c
Ajay Lotan Thakur4a2416f2022-10-10 11:22:00 -060017 config4g: omecproject/5gc-webui:master-1121545
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"}]'
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600120 serviceType: ClusterIP
121 #externalIP:
122 #loadBalancerIP:
123 # nodePort is valid only when serviceType is NodePort
badhri854c028b32021-11-03 18:24:05 -0500124 prometheus:
125 port: 9089
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600126 nodePort: 30084
badhri854c028b32021-11-03 18:24:05 -0500127 urlport:
128 port: 5000
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600129 nodePort: 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
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600156 serviceType: ClusterIP
157 #externalIP:
158 #loadBalancerIP:
159 # nodePort is valid only when serviceType is NodePort
badhri854c028b32021-11-03 18:24:05 -0500160 configPort:
161 port: 8080
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600162 nodePort: 30081
badhri854c028b32021-11-03 18:24:05 -0500163 gx:
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600164 #port: 3868 # fixed
165 nodePort: 33868
badhri854c028b32021-11-03 18:24:05 -0500166 prometheus:
167 port: 9089
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600168 nodePort: 30086
badhri854c028b32021-11-03 18:24:05 -0500169 # Provide the peer whitelist extension
170 # The peer name must be a fqdn. We allow also a special "*" character as the
171 # first label of the fqdn, to allow all fqdn with the same domain name.
172 # Example: *.example.net will allow host1.example.net and host2.example.net
173 acl:
174 oldTls: "*.cluster.local"
175 #ipSec:
176 bootstrap:
177 enabled: false
178 # See https://github.com/omec-project/c3po for details of config options
179 cfgFiles:
180 subscriber_mapping.json:
181 Policies:
182 service-groups:
183 internet:
184 default-activate-service:
185 - be-internet-access
186 services:
187 be-internet-access:
188 qci: 9
189 arp: 1
190 AMBR_UL: 1024000
191 AMBR_DL: 10240000
192 service-activation-rules:
193 - best-effort-internet-access
194 #activate-conditions:
195 # timer: 50
196 #deactivate-conditions:
197 # timer: 60
198 rules:
199 best-effort-internet-access:
200 definition:
201 Charging-Rule-Name: "best-effort-internet-access"
202 Flow-Status: 2
203 QoS-Information:
204 QoS-Class-Identifier: 9
205 Max-Requested-Bandwidth-UL: 512000
206 Max-Requested-Bandwidth-DL: 5120000
207 Guaranteed-Bitrate-UL: 0
208 Guaranteed-Bitrate-DL: 0
209 Allocation-Retention-Priority:
210 Priority-Level: 1
211 Pre-emption-Capability: 1
212 Pre-emption-Vulnerability: 1
213 Flow-Information:
214 Flow-Direction: 3
215 Flow-Description: "permit out ip from 0.0.0.0/0 to assigned"
216 pcrf.json:
217 common:
218 fdcfg: conf/pcrf.conf
219 # Origin host and realm will be set automatically if unset
220 #originhost: ""
221 #originrealm: ""
222 pcrf:
223 gtwhost: "*"
224 gtwport: 9080
225 #restport will be set by configmap
226 #restport: ""
227 ossport: 9082
228 # casssrv will be set to cassandra in the same cluster if unset
229 #casssrv: ""
230 casskeyspace: vpcrf
231 casshost: "cassandra"
232 cassusr: root
233 casspwd: root
234 cassdb: vpcrf
235 casscoreconnections: 2
236 cassmaxconnections: 8
237 cassioqueuesize: 32768
238 cassiothreads: 2
239 randv: true
240 optkey: "63bfa50ee6523365ff14c1f45f88737d"
241 reloadkey: false
242 logsize: 20
243 lognumber: 5
Ajay Lotan Thakur484545b2022-02-28 14:39:16 -0600244 logname: "" #logs/pcrf.log
badhri854c028b32021-11-03 18:24:05 -0500245 logqsize: 8192
246 statlogsize: 20
247 statlognumber: 5
Ajay Lotan Thakur484545b2022-02-28 14:39:16 -0600248 statlogname: "" #logs/pcrf_stat.log
badhri854c028b32021-11-03 18:24:05 -0500249 auditlogsize: 20
250 auditlognumber: 5
Ajay Lotan Thakur484545b2022-02-28 14:39:16 -0600251 auditlogname: "" #logs/pcrf_audit.log
badhri854c028b32021-11-03 18:24:05 -0500252 statfreq: 2000
253 numworkers: 4
254 concurrent: 10
255 ossfile: conf/oss.json
256 verifyroamingsubscribers: false
257 rulesfile: conf/subscriber_mapping.json
258 oss.json:
259 option:
260 id: url
261 type: string
262 services:
263 - id: logger
264 commands:
265 - id: describe_loggers
266 - id: set_logger_level
267 options:
268 - id: name
269 type: string
270 - id: level
271 type: integer
272 - id: stats
273 commands:
274 - id: describe_stats_frequency
275 - id: describe_stats_live
276 - id: set_stats_frequency
277 options:
278 - id: frequency
279 type: integer
280 hss:
281 deploy: true
282 podAnnotations:
283 fluentbit.io/parser: hss
284 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":9089,"schema":"HTTP"}]'
285 hssdb: cassandra
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600286 serviceType: ClusterIP
287 #externalIP:
288 #loadBalancerIP:
289 # nodePort is valid only when serviceType is NodePort
badhri854c028b32021-11-03 18:24:05 -0500290 s6a:
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600291 #port: 3868 # fixed
292 nodePort: 33868
badhri854c028b32021-11-03 18:24:05 -0500293 configPort:
294 port: 8080
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600295 nodePort: 30081
badhri854c028b32021-11-03 18:24:05 -0500296 prometheus:
297 port: 9089
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600298 nodePort: 30086
badhri854c028b32021-11-03 18:24:05 -0500299 # Provide the peer whitelist extension
300 # The peer name must be a fqdn. We allow also a special "*" character as the
301 # first label of the fqdn, to allow all fqdn with the same domain name.
302 # Example: *.example.net will allow host1.example.net and host2.example.net
303 acl:
304 oldTls: "*.cluster.local"
305 #ipSec:
306 bootstrap:
307 enabled: true
308 users:
309 - apn: internet
310 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
311 opc: "d4416644f6154936193433dd20a0ace0"
312 sqn: 96
313 imsiStart: "208014567891200"
314 msisdnStart: "1122334455"
315 mme_identity: mme.omec.svc.cluster.local
316 mme_realm: omec.svc.cluster.local
317 count: 10
318 staticusers:
319 - apn: internet
320 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
321 opc: "d4416644f6154936193433dd20a0ace0"
322 sqn: 96
323 imsi: "208014567891200"
324 msisdn: "1122334455"
325 staticAddr: 0.0.0.0
326 mme_identity: mme.omec.svc.cluster.local
327 mme_realm: omec.svc.cluster.local
328 mmes:
329 - id: 1
330 mme_identity: mme.omec.svc.cluster.local
331 mme_realm: omec.svc.cluster.local
332 isdn: "19136246000"
333 unreachability: 1
334 # See https://github.com/omec-project/c3po for details of config options
335 cfgFiles:
336 hss.json:
337 common:
338 fdcfg: conf/hss.conf
339 # Origin host and realm will be set automatically if unset
340 #originhost: ""
341 #originrealm: ""
342 hss:
343 gtwhost: "*"
344 gtwport: 9080
345 #restport will be set by configmap
346 #restport: ""
347 ossport: 9082
348 # casssrv will be set to cassandra in the same cluster if unset
349 #casssrv: ""
350 cassusr: root
351 casspwd: root
352 cassdb: vhss
353 casscoreconnections: 2
354 cassmaxconnections: 8
355 cassioqueuesize: 32768
356 cassiothreads: 2
357 randv: true
358 optkey: "63bfa50ee6523365ff14c1f45f88737d"
359 reloadkey: false
360 logsize: 20
361 lognumber: 5
Ajay Lotan Thakur484545b2022-02-28 14:39:16 -0600362 logname: "" #logs/hss.log
badhri854c028b32021-11-03 18:24:05 -0500363 logqsize: 8192
364 statlogsize: 20
365 statlognumber: 5
Ajay Lotan Thakur484545b2022-02-28 14:39:16 -0600366 statlogname: "" #logs/hss_stat.log
badhri854c028b32021-11-03 18:24:05 -0500367 auditlogsize: 20
368 auditlognumber: 5
Ajay Lotan Thakur484545b2022-02-28 14:39:16 -0600369 auditlogname: "" #logs/hss_audit.log
badhri854c028b32021-11-03 18:24:05 -0500370 statfreq: 2000
371 numworkers: 4
372 concurrent: 10
373 ossfile: conf/oss.json
374 verifyroamingsubscribers: false
375 oss.json:
376 option:
377 id: url
378 type: string
379 services:
380 - id: logger
381 commands:
382 - id: describe_loggers
383 - id: set_logger_level
384 options:
385 - id: name
386 type: string
387 - id: level
388 type: integer
389 - id: stats
390 commands:
391 - id: describe_stats_frequency
392 - id: describe_stats_live
393 - id: set_stats_frequency
394 options:
395 - id: frequency
396 type: integer
397 mme:
398 deploy: true
399 podAnnotations:
400 fluentbit.io/parser: mme
401 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":3081,"schema":"HTTP"}]'
402 spgwAddr: spgwc
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600403 serviceType: NodePort
404 #externalIP:
405 #loadBalancerIP:
406 # nodePort is valid only when serviceType is NodePort
badhri854c028b32021-11-03 18:24:05 -0500407 s11:
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600408 #port: use cfgFiles.config.json.s11.egtp_default_port
409 nodePort: 32124
badhri854c028b32021-11-03 18:24:05 -0500410 s6a:
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600411 #port: 3868 #fixed
412 nodePort: 33869
badhri854c028b32021-11-03 18:24:05 -0500413 prometheus:
414 port: 3081
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600415 nodePort: 30085
416 s1ap:
417 #port: use cfgFiles.config.json.s6a.sctp_port
418 nodePort: 36412
badhri854c028b32021-11-03 18:24:05 -0500419 # See https://github.com/omec-project/openmme/blob/master/README.txt for more config options
420 cfgFiles:
421 config.json:
422 mme:
423 name: vmmestandalone
424 group_id: 1
425 code: 1
426 logging: debug
427 plmnlist:
428 #plmn1 is aether common plmn, plmn2 is for aether-in-a-box
429 plmn1: "mcc=315,mnc=010"
430 plmn2: "mcc=208,mnc=01"
431 apnlist:
432 internet: "spgwc"
433 default: "spgwc" #default spgwc to be used
434 feature_list:
435 dcnr_support: "disabled"
436 security:
437 #int_alg_list: "[EIA0]"
438 int_alg_list: "[EIA1, EIA2, EIA0]"
439 sec_alg_list: "[EEA0, EEA1, EEA2]"
440 s1ap:
441 sctp_port: 36412
badhri854c028b32021-11-03 18:24:05 -0500442 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"}]'
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600460 serviceType: ClusterIP
461 #externalIP:
462 #loadBalancerIP:
463 # nodePort is valid only when serviceType is NodePort
badhri854c028b32021-11-03 18:24:05 -0500464 s11:
465 port: 2123
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600466 nodePort: 32123
badhri854c028b32021-11-03 18:24:05 -0500467 n4:
468 port: 8805
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600469 nodePort: 30021
badhri854c028b32021-11-03 18:24:05 -0500470 prometheus:
471 port: 9089
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600472 nodePort: 30084
badhri854c028b32021-11-03 18:24:05 -0500473 rest:
474 port: 8080
Hyunsun Moon07a193c2022-03-25 16:21:04 -0600475 nodePort: 30080
badhri854c028b32021-11-03 18:24:05 -0500476 cfgFiles:
477 cp.json:
478 global:
479 transmitTimerSec: 2
480 periodicTimerSec: 10
481 transmitCount: 5
482 requestTimeoutMilliSec: 5000
483 requestTries: 3
Ajay Lotan Thakur6e55c792021-11-08 21:05:44 -0700484 gxConfig: 1
badhri854c028b32021-11-03 18:24:05 -0500485 urrConfig: 0
486 loggingLevel: "LOG_DEBUG"
Ajay Lotan Thakur6e55c792021-11-08 21:05:44 -0700487 heartbeatFailure: true
Ajay Lotan Thakurdfa50352022-02-18 13:42:31 -0600488 upfdnstimeout: 100 #timeout in ms
badhri854c028b32021-11-03 18:24:05 -0500489 ip_pool_config:
490 ueIpPool:
491 ip: "10.250.0.0"
492 mask: "255.255.0.0"
493 staticUeIpPool:
494 ip: "10.249.1.0"
495 mask: "255.255.255.0"
496 config.json:
497 gx:
498 host_type: freediameter
499 # host and realm will be set dynamically if unset
500 #host:
501 #realm:
502 subscriber_mapping.json:
503 subscriber-selection-rules:
504 - priority: 5
505 keys:
506 serving-plmn:
507 mcc: 208
508 mnc: 10
509 tac: 1
510 imsi-range:
511 from: 200000000000000
512 to: 299999999999999
513 selected-apn-profile: apn-profile1
514 selected-qos-profile: qos-profile1
515 selected-access-profile:
516 - access-all
517 selected-user-plane-profile: user-plane1
518 - priority: 10
519 keys:
520 match-all: true
521 selected-apn-profile: apn-profile1
522 selected-qos-profile: qos-profile1
523 selected-access-profile:
524 - access-all
525 selected-user-plane-profile: user-plane1
526 apn-profiles:
527 apn-profile1:
528 apn-name: internet
529 usage: 1
530 network: lbo
531 gx_enabled: true
532 dns_primary: 8.8.8.4
533 dns_secondary: 8.8.8.8
534 mtu: 1460
535 user-plane-profiles:
536 user-plane1:
537 user-plane: upf
538 global-address: true
539 qos-tags:
540 tag1: BW
541 access-tags:
542 tag1: ACC
543 qos-profiles:
Ajay Lotan Thakur71115fe2022-03-03 22:26:08 -0700544 qos-profile1:
545 qci: 9
546 arp: 1
547 apn-ambr:
548 - 12345678
549 - 12345678
badhri854c028b32021-11-03 18:24:05 -0500550 mobile:
551 qci: 9
552 arp: 1
553 apn-ambr:
554 - 12345678
555 - 12345678
556 access-profiles:
557 access-all:
558 type: allow-all
559 internet-only:
560 type: internet-only
561 filter: No_private_network
562 intranet-only:
563 type: intranet-only
564 filter: only_private_network
565 apps-only:
566 type: specific-network
567 filter: only_apps_network
568 specific-app:
569 type: specific-destination-only
570 filter: allow-app-name
571 excluding-app:
572 type: excluding-this-app
573 filter: exclude-app-name