blob: e230e69ecd74a447aa518ee505e548eda32b3863 [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
Jeremy Ronquillo6046ce32020-06-18 11:06:29 -07005# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
Jeremy Ronquillo223db002020-06-05 10:28:22 -07006
7images:
8 tags:
9 init: docker.io/omecproject/pod-init:1.0.0
Hyunsun Moonaa3de7d2020-06-28 19:22:16 -070010 hssdb: docker.io/omecproject/c3po-hssdb:master-latest
11 hss: docker.io/omecproject/c3po-hss:master-latest
Hyunsun Moond60fcaf2020-07-14 16:09:13 -070012 mme: docker.io/omecproject/nucleus:master-latest
Hyunsun Moon64033242020-08-20 16:51:20 -070013 spgwc: docker.io/omecproject/spgw:master-latest
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -050014 pcrf: omecproject/c3po-pcrf:pcrf-latest
15 pcrfdb: omecproject/c3po-pcrfdb:pcrf-latest
Jeremy Ronquillo223db002020-06-05 10:28:22 -070016 depCheck: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1
17 pullPolicy: IfNotPresent
Hyunsun Moond9a09e82021-03-17 12:16:53 -070018 # Optionally specify an array of imagePullSecrets.
19 # Secrets must be manually created in the namespace.
20 #pullSecrets:
21 # - name: aether.registry
Jeremy Ronquillo223db002020-06-05 10:28:22 -070022
23nodeSelectors:
24 enabled: false
25 hss:
26 label: omec-cp
27 value: enabled
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -050028 pcrf:
29 label: omec-cp
30 value: enabled
Jeremy Ronquillo223db002020-06-05 10:28:22 -070031 mme:
32 label: omec-cp
33 value: enabled
34 spgwc:
35 label: omec-cp
36 value: enabled
37
38resources:
39 enabled: true
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -050040 pcrf:
41 requests:
42 cpu: 2
43 memory: 1Gi
44 limits:
45 cpu: 2
46 memory: 1Gi
Jeremy Ronquillo223db002020-06-05 10:28:22 -070047 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
71cassandra:
72 deploy: true
73 fullnameOverride: cassandra
74 image:
75 tag: 2.1.20
76 #selector:
77 # nodeSelector:
78 # cassandra: enabled
79 persistence:
80 enabled: false
81 config:
82 #cluster_size: 1
83 #seed_size: 1
84 endpoint_snitch: GossipingPropertyFileSnitch
85 readinessProbe:
86 initialDelaySeconds: 10
87 resources: {}
88 #requests:
89 # memory: 4Gi
90 # cpu: 2
91 #limits:
92 # memory: 4Gi
93 # cpu: 2
94
95config:
96 clusterDomain: cluster.local
97 coreDump:
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -050098 enabled: true
Jeremy Ronquillo223db002020-06-05 10:28:22 -070099 path: /tmp/coredump
Hyunsun Moond9a09e82021-03-17 12:16:53 -0700100 useExistingConfigMap: false
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500101 pcrf:
102 deploy: true
Hyunsun Moond9a09e82021-03-17 12:16:53 -0700103 podAnnotations:
104 fluentbit.io/parser: pcrf
105 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":9089,"schema":"HTTP"}]'
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500106 pcrfdb: cassandra
Ajay Lotan Thakurdad35d32021-03-18 12:21:21 -0500107 configPort:
108 port: 8080
109 nodePort:
110 enabled: false
111 port: 30081
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500112 gx:
113 nodePort:
114 enabled: false
115 port: 33868
116 prometheus:
117 port: 9089
118 nodePort:
119 enabled: false
120 port: 30086
121 # Provide the peer whitelist extension
122 # The peer name must be a fqdn. We allow also a special "*" character as the
123 # first label of the fqdn, to allow all fqdn with the same domain name.
124 # Example: *.example.net will allow host1.example.net and host2.example.net
125 acl:
126 oldTls: "*.cluster.local"
127 #ipSec:
128 bootstrap:
129 enabled: false
130 # See https://github.com/omec-project/c3po for details of config options
131 cfgFiles:
Ajay Lotan Thakurdad35d32021-03-18 12:21:21 -0500132 subscriber_mapping.json:
133 Policies:
134 service-groups:
135 internet:
136 default-activate-service:
137 - be-internet-access
138 services:
139 be-internet-access:
140 qci: 9
141 arp: 1
Ajay Lotan Thakur7bbaacb2021-05-24 12:36:22 -0500142 AMBR_UL: 1024000
143 AMBR_DL: 10240000
Ajay Lotan Thakurdad35d32021-03-18 12:21:21 -0500144 service-activation-rules:
145 - best-effort-internet-access
Ajay Lotan Thakur7bbaacb2021-05-24 12:36:22 -0500146 #activate-conditions:
147 # timer: 50
148 #deactivate-conditions:
149 # timer: 60
Ajay Lotan Thakurdad35d32021-03-18 12:21:21 -0500150 rules:
151 best-effort-internet-access:
152 definition:
153 Charging-Rule-Name: "best-effort-internet-access"
154 QoS-Information:
155 QoS-Class-Identifier: 9
156 Max-Requested-Bandwidth-UL: 512000
157 Max-Requested-Bandwidth-DL: 5120000
158 Guaranteed-Bitrate-UL: 0
159 Guaranteed-Bitrate-DL: 0
160 Allocation-Retention-Priority:
161 Priority-Level: 1
162 Pre-emption-Capability: 1
163 Pre-emption-Vulnerability: 1
Ajay Lotan Thakurdad35d32021-03-18 12:21:21 -0500164 Flow-Information:
Ajay Lotan Thakur7bbaacb2021-05-24 12:36:22 -0500165 Flow-Direction: 3
166 Flow-Description: "permit out ip from 0.0.0.0/0 to assigned"
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500167 pcrf.json:
168 common:
169 fdcfg: conf/pcrf.conf
170 # Origin host and realm will be set automatically if unset
171 #originhost: ""
172 #originrealm: ""
173 pcrf:
174 gtwhost: "*"
175 gtwport: 9080
Ajay Lotan Thakurdad35d32021-03-18 12:21:21 -0500176 #restport will be set by configmap
177 #restport: ""
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500178 ossport: 9082
179 # casssrv will be set to cassandra in the same cluster if unset
180 #casssrv: ""
181 casskeyspace: vpcrf
182 casshost: "cassandra"
183 cassusr: root
184 casspwd: root
185 cassdb: vpcrf
186 casscoreconnections: 2
187 cassmaxconnections: 8
188 cassioqueuesize: 32768
189 cassiothreads: 2
190 randv: true
191 optkey: "63bfa50ee6523365ff14c1f45f88737d"
192 reloadkey: false
193 logsize: 20
194 lognumber: 5
195 logname: logs/pcrf.log
196 logqsize: 8192
197 statlogsize: 20
198 statlognumber: 5
199 statlogname: logs/pcrf_stat.log
200 auditlogsize: 20
201 auditlognumber: 5
202 auditlogname: logs/pcrf_audit.log
203 statfreq: 2000
204 numworkers: 4
205 concurrent: 10
206 ossfile: conf/oss.json
207 verifyroamingsubscribers: false
Ajay Lotan Thakuraec2a1c2021-03-31 20:18:17 -0500208 rulesfile: conf/subscriber_mapping.json
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500209 oss.json:
210 option:
211 id: url
212 type: string
213 services:
214 - id: logger
215 commands:
216 - id: describe_loggers
217 - id: set_logger_level
218 options:
219 - id: name
220 type: string
221 - id: level
222 type: integer
223 - id: stats
224 commands:
225 - id: describe_stats_frequency
226 - id: describe_stats_live
227 - id: set_stats_frequency
228 options:
229 - id: frequency
230 type: integer
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700231 hss:
Hyunsun Moon83ff7352020-07-09 11:03:52 -0700232 deploy: true
Andy Bavierba196552020-09-17 13:58:04 -0700233 podAnnotations:
Hyunsun Moond9a09e82021-03-17 12:16:53 -0700234 fluentbit.io/parser: hss
Andy Bavierba196552020-09-17 13:58:04 -0700235 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":9089,"schema":"HTTP"}]'
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700236 hssdb: cassandra
237 s6a:
238 nodePort:
239 enabled: false
240 port: 33868
Ajay Lotan Thakurcd372a22020-12-11 14:36:26 -0700241 configPort:
242 port: 8080
243 nodePort:
244 enabled: false
245 port: 30081
Hyunsun Moon11d24f92020-08-26 14:55:19 -0700246 prometheus:
247 port: 9089
248 nodePort:
249 enabled: false
250 port: 30086
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700251 # Provide the peer whitelist extension
252 # The peer name must be a fqdn. We allow also a special "*" character as the
253 # first label of the fqdn, to allow all fqdn with the same domain name.
254 # Example: *.example.net will allow host1.example.net and host2.example.net
255 acl:
256 oldTls: "*.cluster.local"
257 #ipSec:
258 bootstrap:
259 enabled: true
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700260 users:
Hyunsun Moona1c4c982020-07-22 15:01:29 -0700261 - apn: internet
262 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
263 opc: "d4416644f6154936193433dd20a0ace0"
264 sqn: 96
265 imsiStart: "208014567891200"
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700266 msisdnStart: "1122334455"
Ajay Lotan Thakurac5c1812021-02-22 12:23:20 -0600267 mme_identity: mme.omec.svc.cluster.local
268 mme_realm: omec.svc.cluster.local
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700269 count: 10
Jeremy Ronquillo20fbe492020-08-13 10:44:18 -0700270 staticusers:
271 - apn: internet
272 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
273 opc: "d4416644f6154936193433dd20a0ace0"
274 sqn: 96
275 imsi: "208014567891200"
276 msisdn: "1122334455"
277 staticAddr: 0.0.0.0
Ajay Lotan Thakurac5c1812021-02-22 12:23:20 -0600278 mme_identity: mme.omec.svc.cluster.local
279 mme_realm: omec.svc.cluster.local
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700280 mmes:
281 - id: 1
Hyunsun Moon83ff7352020-07-09 11:03:52 -0700282 mme_identity: mme.omec.svc.cluster.local
283 mme_realm: omec.svc.cluster.local
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700284 isdn: "19136246000"
285 unreachability: 1
286 # See https://github.com/omec-project/c3po for details of config options
287 cfgFiles:
288 hss.json:
289 common:
290 fdcfg: conf/hss.conf
291 # Origin host and realm will be set automatically if unset
292 #originhost: ""
293 #originrealm: ""
294 hss:
295 gtwhost: "*"
296 gtwport: 9080
Ajay Lotan Thakurcd372a22020-12-11 14:36:26 -0700297 #restport will be set by configmap
298 #restport: ""
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700299 ossport: 9082
300 # casssrv will be set to cassandra in the same cluster if unset
301 #casssrv: ""
302 cassusr: root
303 casspwd: root
304 cassdb: vhss
305 casscoreconnections: 2
306 cassmaxconnections: 8
307 cassioqueuesize: 32768
308 cassiothreads: 2
309 randv: true
310 optkey: "63bfa50ee6523365ff14c1f45f88737d"
311 reloadkey: false
312 logsize: 20
313 lognumber: 5
314 logname: logs/hss.log
315 logqsize: 8192
316 statlogsize: 20
317 statlognumber: 5
318 statlogname: logs/hss_stat.log
319 auditlogsize: 20
320 auditlognumber: 5
321 auditlogname: logs/hss_audit.log
322 statfreq: 2000
323 numworkers: 4
324 concurrent: 10
325 ossfile: conf/oss.json
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700326 verifyroamingsubscribers: false
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700327 oss.json:
328 option:
329 id: url
330 type: string
331 services:
332 - id: logger
333 commands:
334 - id: describe_loggers
335 - id: set_logger_level
336 options:
337 - id: name
338 type: string
339 - id: level
340 type: integer
341 - id: stats
342 commands:
343 - id: describe_stats_frequency
344 - id: describe_stats_live
345 - id: set_stats_frequency
346 options:
347 - id: frequency
348 type: integer
349 mme:
Hyunsun Moon83ff7352020-07-09 11:03:52 -0700350 deploy: true
Andy Bavierba196552020-09-17 13:58:04 -0700351 podAnnotations:
Hyunsun Moond9a09e82021-03-17 12:16:53 -0700352 fluentbit.io/parser: mme
Andy Bavierba196552020-09-17 13:58:04 -0700353 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":3081,"schema":"HTTP"}]'
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700354 spgwAddr: spgwc
355 s11:
356 nodePort:
357 enabled: false
358 port: 32124
359 s6a:
360 nodePort:
361 enabled: false
362 port: 33869
Hyunsun Moon11d24f92020-08-26 14:55:19 -0700363 prometheus:
364 port: 3081
365 nodePort:
366 enabled: false
367 port: 30085
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700368 # See https://github.com/omec-project/openmme/blob/master/README.txt for more config options
369 cfgFiles:
370 config.json:
371 mme:
372 name: vmmestandalone
373 group_id: 1
374 code: 1
375 logging: error
376 mcc:
377 dig1: 2
378 dig2: 0
379 dig3: 8
380 mnc:
381 dig1: 0
382 dig2: 1
383 dig3: -1
384 plmnlist:
385 #plmn1 - aether common plmn, plmn2 is for comac-in-box
386 plmn1: "mcc=315,mnc=010"
387 plmn2: "mcc=208,mnc=01"
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700388 apnlist:
Hyunsun Moon6507d2f2020-07-14 15:06:25 -0700389 internet: "spgwc"
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500390 feature_list:
391 dcnr_support: "disabled"
Badhrinath Pad6779412020-07-06 10:23:58 -0700392 security:
393 #int_alg_list: "[EIA0]"
394 int_alg_list: "[EIA1, EIA2, EIA0]"
395 sec_alg_list: "[EEA0, EEA1, EEA2]"
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700396 s1ap:
397 sctp_port: 36412
398 sctp_port_external: 36412
399 s11:
400 egtp_default_port: 2123
401 # sgw_addr and pgw_addr will be set dynamically if unset
402 #sgw_addr:
403 #pgw_addr:
404 s6a:
405 host_type: freediameter
406 # host and realm will be set dynamically if unset
407 #host:
408 #realm:
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700409 spgwc:
Hyunsun Moon83ff7352020-07-09 11:03:52 -0700410 deploy: true
Andy Bavierba196552020-09-17 13:58:04 -0700411 podAnnotations:
Hyunsun Moond9a09e82021-03-17 12:16:53 -0700412 fluentbit.io/parser: spgwc
Andy Bavierba196552020-09-17 13:58:04 -0700413 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":9089,"schema":"HTTP"}]'
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700414 s11:
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500415 port: 2123
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700416 nodePort:
417 enabled: false
418 port: 32123
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500419 n4:
420 port: 8805
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700421 nodePort:
422 enabled: false
423 port: 30021
Hyunsun Moon11d24f92020-08-26 14:55:19 -0700424 prometheus:
425 port: 9089
426 nodePort:
427 enabled: false
428 port: 30084
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500429 rest:
Ajay Lotan Thakur97278fa2020-09-21 17:31:51 -0500430 port: 8080
431 nodePort:
432 enabled: false
433 port: 30080
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700434 jsonCfgFiles:
Ajay Lotan Thakurac5c1812021-02-22 12:23:20 -0600435 cp.json:
436 global:
437 transmitTimerSec: 2
438 periodicTimerSec: 10
439 transmitCount: 5
440 requestTimeoutMilliSec: 5000
441 requestTries: 3
442 gxConfig: 0
443 urrConfig: 0
444 loggingLevel: "LOG_DEBUG"
Ajay Lotan Thakuraec2a1c2021-03-31 20:18:17 -0500445 heartbeatFailure: false
Ajay Lotan Thakurac5c1812021-02-22 12:23:20 -0600446 #DNS Server - 3gpp compliant DNS server
447 dns:
448 cache:
449 concurrent: 25
450 percentage: 80
451 intervalSec: 60
452 queryTimeoutMilliSec: 1000
453 queryTries: 1
454 app:
455 frequencySec: 3
456 filename: "appqueries.json"
457 nameserver: "127.0.0.1"
458 ops:
459 frequencySec: 3
460 filename: "opsqueries.json"
461 nameserver: "127.0.0.1"
462 ip_pool_config:
463 ueIpPool:
464 ip: "10.250.0.0"
465 mask: "255.255.0.0"
466 staticUeIpPool:
467 ip: "10.249.1.0"
468 mask: "255.255.255.0"
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500469 config.json:
470 gx:
471 host_type: freediameter
472 # host and realm will be set dynamically if unset
473 #host:
474 #realm:
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700475 subscriber_mapping.json:
476 subscriber-selection-rules:
477 - priority: 5
478 keys:
479 serving-plmn:
480 mcc: 208
481 mnc: 10
482 tac: 1
483 imsi-range:
484 from: 200000000000000
485 to: 299999999999999
486 selected-apn-profile: apn-profile1
487 selected-qos-profile: qos-profile1
488 selected-access-profile:
489 - access-all
490 selected-user-plane-profile: user-plane1
491 - priority: 10
492 keys:
493 match-all: true
494 selected-apn-profile: apn-profile1
495 selected-qos-profile: qos-profile1
496 selected-access-profile:
497 - access-all
498 selected-user-plane-profile: user-plane1
499 apn-profiles:
500 apn-profile1:
501 apn-name: internet
502 usage: 1
503 network: lbo
504 gx_enabled: true
505 dns_primary: 8.8.8.4
506 dns_secondary: 8.8.8.8
507 mtu: 1460
508 user-plane-profiles:
509 user-plane1:
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500510 user-plane: upf
Ajay Lotan Thakurac5c1812021-02-22 12:23:20 -0600511 global-address: true
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700512 qos-tags:
513 tag1: BW
514 access-tags:
515 tag1: ACC
516 qos-profiles:
517 mobile:
Ajay Lotan Thakurdad35d32021-03-18 12:21:21 -0500518 qci: 9
519 arp: 1
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700520 apn-ambr:
521 - 12345678
522 - 12345678
523 access-profiles:
524 access-all:
525 type: allow-all
526 internet-only:
527 type: internet-only
528 filter: No_private_network
529 intranet-only:
530 type: intranet-only
531 filter: only_private_network
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500532 apps-only:
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700533 type: specific-network
534 filter: only_apps_network
535 specific-app:
536 type: specific-destination-only
537 filter: allow-app-name
538 excluding-app:
539 type: excluding-this-app
540 filter: exclude-app-name