blob: 34148e52ae5ceb4212ce8b7e6e0883754e6579e6 [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 Moon8da17882020-10-14 21:28:44 -050018 credentials: {}
19 # If specified, use this credential to access the image
20 # registry:
21 # username:
22 # password:
Jeremy Ronquillo223db002020-06-05 10:28:22 -070023
24nodeSelectors:
25 enabled: false
26 hss:
27 label: omec-cp
28 value: enabled
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -050029 pcrf:
30 label: omec-cp
31 value: enabled
Jeremy Ronquillo223db002020-06-05 10:28:22 -070032 mme:
33 label: omec-cp
34 value: enabled
35 spgwc:
36 label: omec-cp
37 value: enabled
38
39resources:
40 enabled: true
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -050041 pcrf:
42 requests:
43 cpu: 2
44 memory: 1Gi
45 limits:
46 cpu: 2
47 memory: 1Gi
Jeremy Ronquillo223db002020-06-05 10:28:22 -070048 hss:
49 requests:
50 cpu: 2
51 memory: 1Gi
52 limits:
53 cpu: 2
54 memory: 1Gi
55 mme:
56 # Note that MME pod is composed of 4 containers
57 # Provide resources for a container, not a pod total
58 requests:
59 cpu: 0.5
60 memory: 1Gi
61 limits:
62 cpu: 0.5
63 memory: 1Gi
64 spgwc:
65 requests:
66 cpu: 2
67 memory: 5Gi
68 limits:
69 cpu: 2
70 memory: 5Gi
71
72cassandra:
73 deploy: true
74 fullnameOverride: cassandra
75 image:
76 tag: 2.1.20
77 #selector:
78 # nodeSelector:
79 # cassandra: enabled
80 persistence:
81 enabled: false
82 config:
83 #cluster_size: 1
84 #seed_size: 1
85 endpoint_snitch: GossipingPropertyFileSnitch
86 readinessProbe:
87 initialDelaySeconds: 10
88 resources: {}
89 #requests:
90 # memory: 4Gi
91 # cpu: 2
92 #limits:
93 # memory: 4Gi
94 # cpu: 2
95
96config:
97 clusterDomain: cluster.local
98 coreDump:
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -050099 enabled: true
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700100 path: /tmp/coredump
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500101 pcrf:
102 deploy: true
103 pcrfdb: cassandra
104 gx:
105 nodePort:
106 enabled: false
107 port: 33868
108 prometheus:
109 port: 9089
110 nodePort:
111 enabled: false
112 port: 30086
113 # Provide the peer whitelist extension
114 # The peer name must be a fqdn. We allow also a special "*" character as the
115 # first label of the fqdn, to allow all fqdn with the same domain name.
116 # Example: *.example.net will allow host1.example.net and host2.example.net
117 acl:
118 oldTls: "*.cluster.local"
119 #ipSec:
120 bootstrap:
121 enabled: false
122 # See https://github.com/omec-project/c3po for details of config options
123 cfgFiles:
124 pcrf.json:
125 common:
126 fdcfg: conf/pcrf.conf
127 # Origin host and realm will be set automatically if unset
128 #originhost: ""
129 #originrealm: ""
130 pcrf:
131 gtwhost: "*"
132 gtwport: 9080
133 restport: 9081
134 ossport: 9082
135 # casssrv will be set to cassandra in the same cluster if unset
136 #casssrv: ""
137 casskeyspace: vpcrf
138 casshost: "cassandra"
139 cassusr: root
140 casspwd: root
141 cassdb: vpcrf
142 casscoreconnections: 2
143 cassmaxconnections: 8
144 cassioqueuesize: 32768
145 cassiothreads: 2
146 randv: true
147 optkey: "63bfa50ee6523365ff14c1f45f88737d"
148 reloadkey: false
149 logsize: 20
150 lognumber: 5
151 logname: logs/pcrf.log
152 logqsize: 8192
153 statlogsize: 20
154 statlognumber: 5
155 statlogname: logs/pcrf_stat.log
156 auditlogsize: 20
157 auditlognumber: 5
158 auditlogname: logs/pcrf_audit.log
159 statfreq: 2000
160 numworkers: 4
161 concurrent: 10
162 ossfile: conf/oss.json
163 verifyroamingsubscribers: false
164 oss.json:
165 option:
166 id: url
167 type: string
168 services:
169 - id: logger
170 commands:
171 - id: describe_loggers
172 - id: set_logger_level
173 options:
174 - id: name
175 type: string
176 - id: level
177 type: integer
178 - id: stats
179 commands:
180 - id: describe_stats_frequency
181 - id: describe_stats_live
182 - id: set_stats_frequency
183 options:
184 - id: frequency
185 type: integer
186
187
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700188 hss:
Hyunsun Moon83ff7352020-07-09 11:03:52 -0700189 deploy: true
Andy Bavierba196552020-09-17 13:58:04 -0700190 podAnnotations:
191 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":9089,"schema":"HTTP"}]'
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700192 hssdb: cassandra
193 s6a:
194 nodePort:
195 enabled: false
196 port: 33868
Ajay Lotan Thakurcd372a22020-12-11 14:36:26 -0700197 configPort:
198 port: 8080
199 nodePort:
200 enabled: false
201 port: 30081
Hyunsun Moon11d24f92020-08-26 14:55:19 -0700202 prometheus:
203 port: 9089
204 nodePort:
205 enabled: false
206 port: 30086
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700207 # Provide the peer whitelist extension
208 # The peer name must be a fqdn. We allow also a special "*" character as the
209 # first label of the fqdn, to allow all fqdn with the same domain name.
210 # Example: *.example.net will allow host1.example.net and host2.example.net
211 acl:
212 oldTls: "*.cluster.local"
213 #ipSec:
214 bootstrap:
215 enabled: true
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700216 users:
Hyunsun Moona1c4c982020-07-22 15:01:29 -0700217 - apn: internet
218 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
219 opc: "d4416644f6154936193433dd20a0ace0"
220 sqn: 96
221 imsiStart: "208014567891200"
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700222 msisdnStart: "1122334455"
223 count: 10
Jeremy Ronquillo20fbe492020-08-13 10:44:18 -0700224 staticusers:
225 - apn: internet
226 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
227 opc: "d4416644f6154936193433dd20a0ace0"
228 sqn: 96
229 imsi: "208014567891200"
230 msisdn: "1122334455"
231 staticAddr: 0.0.0.0
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700232 mmes:
233 - id: 1
Hyunsun Moon83ff7352020-07-09 11:03:52 -0700234 mme_identity: mme.omec.svc.cluster.local
235 mme_realm: omec.svc.cluster.local
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700236 isdn: "19136246000"
237 unreachability: 1
238 # See https://github.com/omec-project/c3po for details of config options
239 cfgFiles:
240 hss.json:
241 common:
242 fdcfg: conf/hss.conf
243 # Origin host and realm will be set automatically if unset
244 #originhost: ""
245 #originrealm: ""
246 hss:
247 gtwhost: "*"
248 gtwport: 9080
Ajay Lotan Thakurcd372a22020-12-11 14:36:26 -0700249 #restport will be set by configmap
250 #restport: ""
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700251 ossport: 9082
252 # casssrv will be set to cassandra in the same cluster if unset
253 #casssrv: ""
254 cassusr: root
255 casspwd: root
256 cassdb: vhss
257 casscoreconnections: 2
258 cassmaxconnections: 8
259 cassioqueuesize: 32768
260 cassiothreads: 2
261 randv: true
262 optkey: "63bfa50ee6523365ff14c1f45f88737d"
263 reloadkey: false
264 logsize: 20
265 lognumber: 5
266 logname: logs/hss.log
267 logqsize: 8192
268 statlogsize: 20
269 statlognumber: 5
270 statlogname: logs/hss_stat.log
271 auditlogsize: 20
272 auditlognumber: 5
273 auditlogname: logs/hss_audit.log
274 statfreq: 2000
275 numworkers: 4
276 concurrent: 10
277 ossfile: conf/oss.json
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700278 verifyroamingsubscribers: false
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700279 oss.json:
280 option:
281 id: url
282 type: string
283 services:
284 - id: logger
285 commands:
286 - id: describe_loggers
287 - id: set_logger_level
288 options:
289 - id: name
290 type: string
291 - id: level
292 type: integer
293 - id: stats
294 commands:
295 - id: describe_stats_frequency
296 - id: describe_stats_live
297 - id: set_stats_frequency
298 options:
299 - id: frequency
300 type: integer
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500301
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700302 mme:
Hyunsun Moon83ff7352020-07-09 11:03:52 -0700303 deploy: true
Andy Bavierba196552020-09-17 13:58:04 -0700304 podAnnotations:
305 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":3081,"schema":"HTTP"}]'
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700306 spgwAddr: spgwc
307 s11:
308 nodePort:
309 enabled: false
310 port: 32124
311 s6a:
312 nodePort:
313 enabled: false
314 port: 33869
Hyunsun Moon11d24f92020-08-26 14:55:19 -0700315 prometheus:
316 port: 3081
317 nodePort:
318 enabled: false
319 port: 30085
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700320 # See https://github.com/omec-project/openmme/blob/master/README.txt for more config options
321 cfgFiles:
322 config.json:
323 mme:
324 name: vmmestandalone
325 group_id: 1
326 code: 1
327 logging: error
328 mcc:
329 dig1: 2
330 dig2: 0
331 dig3: 8
332 mnc:
333 dig1: 0
334 dig2: 1
335 dig3: -1
336 plmnlist:
337 #plmn1 - aether common plmn, plmn2 is for comac-in-box
338 plmn1: "mcc=315,mnc=010"
339 plmn2: "mcc=208,mnc=01"
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700340 apnlist:
Hyunsun Moon6507d2f2020-07-14 15:06:25 -0700341 internet: "spgwc"
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500342 feature_list:
343 dcnr_support: "disabled"
Badhrinath Pad6779412020-07-06 10:23:58 -0700344 security:
345 #int_alg_list: "[EIA0]"
346 int_alg_list: "[EIA1, EIA2, EIA0]"
347 sec_alg_list: "[EEA0, EEA1, EEA2]"
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700348 s1ap:
349 sctp_port: 36412
350 sctp_port_external: 36412
351 s11:
352 egtp_default_port: 2123
353 # sgw_addr and pgw_addr will be set dynamically if unset
354 #sgw_addr:
355 #pgw_addr:
356 s6a:
357 host_type: freediameter
358 # host and realm will be set dynamically if unset
359 #host:
360 #realm:
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700361 spgwc:
Hyunsun Moon83ff7352020-07-09 11:03:52 -0700362 deploy: true
Andy Bavierba196552020-09-17 13:58:04 -0700363 podAnnotations:
364 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":9089,"schema":"HTTP"}]'
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500365 global:
366 transmitTimerSec: 2
367 periodicTimerSec: 10
368 transmitCount: 5
369 requestTimeoutMilliSec: 5000
370 requestTries: 3
371 cpLogger: 0
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500372 gx_config: 0
Ajay Lotan Thakurf8f9bae2020-12-08 12:09:26 -0700373 urr_config: 0
374 logging_level: "LOG_DEBUG"
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700375 #DNS Server - 3gpp compliant DNS server
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500376 dns:
377 cache:
378 concurrent: 25
379 percentage: 80
380 intervalSec: 60
381 queryTimeoutMilliSec: 1000
382 queryTries: 1
383 app:
384 frequencySec: 3
385 filename: "appqueries.json"
386 nameserver: "127.0.0.1"
387 ops:
388 frequencySec: 3
389 filename: "opsqueries.json"
390 nameserver: "127.0.0.1"
391 ueIpPool:
392 ip: "10.250.0.0"
393 mask: "255.255.0.0"
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700394 s11:
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500395 port: 2123
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700396 nodePort:
397 enabled: false
398 port: 32123
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500399 n4:
400 port: 8805
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700401 nodePort:
402 enabled: false
403 port: 30021
Hyunsun Moon11d24f92020-08-26 14:55:19 -0700404 prometheus:
405 port: 9089
406 nodePort:
407 enabled: false
408 port: 30084
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500409 rest:
Ajay Lotan Thakur97278fa2020-09-21 17:31:51 -0500410 port: 8080
411 nodePort:
412 enabled: false
413 port: 30080
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700414 jsonCfgFiles:
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500415 config.json:
416 gx:
417 host_type: freediameter
418 # host and realm will be set dynamically if unset
419 #host:
420 #realm:
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700421 subscriber_mapping.json:
422 subscriber-selection-rules:
423 - priority: 5
424 keys:
425 serving-plmn:
426 mcc: 208
427 mnc: 10
428 tac: 1
429 imsi-range:
430 from: 200000000000000
431 to: 299999999999999
432 selected-apn-profile: apn-profile1
433 selected-qos-profile: qos-profile1
434 selected-access-profile:
435 - access-all
436 selected-user-plane-profile: user-plane1
437 - priority: 10
438 keys:
439 match-all: true
440 selected-apn-profile: apn-profile1
441 selected-qos-profile: qos-profile1
442 selected-access-profile:
443 - access-all
444 selected-user-plane-profile: user-plane1
445 apn-profiles:
446 apn-profile1:
447 apn-name: internet
448 usage: 1
449 network: lbo
450 gx_enabled: true
451 dns_primary: 8.8.8.4
452 dns_secondary: 8.8.8.8
453 mtu: 1460
454 user-plane-profiles:
455 user-plane1:
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500456 user-plane: upf
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700457 qos-tags:
458 tag1: BW
459 access-tags:
460 tag1: ACC
461 qos-profiles:
462 mobile:
463 apn-ambr:
464 - 12345678
465 - 12345678
466 access-profiles:
467 access-all:
468 type: allow-all
469 internet-only:
470 type: internet-only
471 filter: No_private_network
472 intranet-only:
473 type: intranet-only
474 filter: only_private_network
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500475 apps-only:
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700476 type: specific-network
477 filter: only_apps_network
478 specific-app:
479 type: specific-destination-only
480 filter: allow-app-name
481 excluding-app:
482 type: excluding-this-app
483 filter: exclude-app-name
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700484 cfgFiles:
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700485 adc_rules.cfg: |
486 [GLOBAL]
487 NUM_ADC_RULES = 0
488 meter_profile.cfg: |
489 [GLOBAL]
490 NUM_OF_IDX = 0
491 pcc_rules.cfg: |
492 [GLOBAL]
493 NUM_PCC_FILTERS = 1
494 UL_AMBR_MTR_PROFILE_IDX = 1
495 DL_AMBR_MTR_PROFILE_IDX = 2
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700496 [PCC_FILTER_1]
497 RULE_NAME = DefaultRule
498 RATING_GROUP = 9
499 SERVICE_ID = 0
500 RULE_STATUS = 0
501 GATE_STATUS = 1
502 SESSION_CONT = 0
503 REPORT_LEVEL = 1
504 CHARGING_MODE = 0
505 METERING_METHOD = 0
506 MUTE_NOTIFY = 0
507 MONITORING_KEY = 0
508 SPONSOR_ID = 0
509 REDIRECT_INFO = 0
510 PRECEDENCE = 254
511 DROP_PKT_COUNT = 0
512 UL_MBR_MTR_PROFILE_IDX = 3
513 DL_MBR_MTR_PROFILE_IDX = 3
514 SDF_FILTER_IDX = 99998
515 sdf_rules.cfg: |
516 [GLOBAL]
517 NUM_SDF_FILTERS = 1
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700518 [SDF_FILTER_1]
519 DIRECTION = downlink_only
520 IPV4_REMOTE = 13.2.1.113
521 IPV4_REMOTE_MASK = 255.255.255.0
522 PROTOCOL = 17
523 LOCAL_LOW_LIMIT_PORT = 0
524 LOCAL_HIGH_LIMIT_PORT = 65535
525 REMOTE_LOW_LIMIT_PORT = 0
526 REMOTE_HIGH_LIMIT_PORT = 65535