blob: 8bbf28922c37f15e3d588e0df3735c989bfe096b [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
Hyunsun Moon11d24f92020-08-26 14:55:19 -0700197 prometheus:
198 port: 9089
199 nodePort:
200 enabled: false
201 port: 30086
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700202 # Provide the peer whitelist extension
203 # The peer name must be a fqdn. We allow also a special "*" character as the
204 # first label of the fqdn, to allow all fqdn with the same domain name.
205 # Example: *.example.net will allow host1.example.net and host2.example.net
206 acl:
207 oldTls: "*.cluster.local"
208 #ipSec:
209 bootstrap:
210 enabled: true
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700211 users:
Hyunsun Moona1c4c982020-07-22 15:01:29 -0700212 - apn: internet
213 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
214 opc: "d4416644f6154936193433dd20a0ace0"
215 sqn: 96
216 imsiStart: "208014567891200"
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700217 msisdnStart: "1122334455"
218 count: 10
Jeremy Ronquillo20fbe492020-08-13 10:44:18 -0700219 staticusers:
220 - apn: internet
221 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
222 opc: "d4416644f6154936193433dd20a0ace0"
223 sqn: 96
224 imsi: "208014567891200"
225 msisdn: "1122334455"
226 staticAddr: 0.0.0.0
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700227 mmes:
228 - id: 1
Hyunsun Moon83ff7352020-07-09 11:03:52 -0700229 mme_identity: mme.omec.svc.cluster.local
230 mme_realm: omec.svc.cluster.local
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700231 isdn: "19136246000"
232 unreachability: 1
233 # See https://github.com/omec-project/c3po for details of config options
234 cfgFiles:
235 hss.json:
236 common:
237 fdcfg: conf/hss.conf
238 # Origin host and realm will be set automatically if unset
239 #originhost: ""
240 #originrealm: ""
241 hss:
242 gtwhost: "*"
243 gtwport: 9080
244 restport: 9081
245 ossport: 9082
246 # casssrv will be set to cassandra in the same cluster if unset
247 #casssrv: ""
248 cassusr: root
249 casspwd: root
250 cassdb: vhss
251 casscoreconnections: 2
252 cassmaxconnections: 8
253 cassioqueuesize: 32768
254 cassiothreads: 2
255 randv: true
256 optkey: "63bfa50ee6523365ff14c1f45f88737d"
257 reloadkey: false
258 logsize: 20
259 lognumber: 5
260 logname: logs/hss.log
261 logqsize: 8192
262 statlogsize: 20
263 statlognumber: 5
264 statlogname: logs/hss_stat.log
265 auditlogsize: 20
266 auditlognumber: 5
267 auditlogname: logs/hss_audit.log
268 statfreq: 2000
269 numworkers: 4
270 concurrent: 10
271 ossfile: conf/oss.json
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700272 verifyroamingsubscribers: false
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700273 oss.json:
274 option:
275 id: url
276 type: string
277 services:
278 - id: logger
279 commands:
280 - id: describe_loggers
281 - id: set_logger_level
282 options:
283 - id: name
284 type: string
285 - id: level
286 type: integer
287 - id: stats
288 commands:
289 - id: describe_stats_frequency
290 - id: describe_stats_live
291 - id: set_stats_frequency
292 options:
293 - id: frequency
294 type: integer
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500295
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700296 mme:
Hyunsun Moon83ff7352020-07-09 11:03:52 -0700297 deploy: true
Andy Bavierba196552020-09-17 13:58:04 -0700298 podAnnotations:
299 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":3081,"schema":"HTTP"}]'
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700300 spgwAddr: spgwc
301 s11:
302 nodePort:
303 enabled: false
304 port: 32124
305 s6a:
306 nodePort:
307 enabled: false
308 port: 33869
Hyunsun Moon11d24f92020-08-26 14:55:19 -0700309 prometheus:
310 port: 3081
311 nodePort:
312 enabled: false
313 port: 30085
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700314 # See https://github.com/omec-project/openmme/blob/master/README.txt for more config options
315 cfgFiles:
316 config.json:
317 mme:
318 name: vmmestandalone
319 group_id: 1
320 code: 1
321 logging: error
322 mcc:
323 dig1: 2
324 dig2: 0
325 dig3: 8
326 mnc:
327 dig1: 0
328 dig2: 1
329 dig3: -1
330 plmnlist:
331 #plmn1 - aether common plmn, plmn2 is for comac-in-box
332 plmn1: "mcc=315,mnc=010"
333 plmn2: "mcc=208,mnc=01"
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700334 apnlist:
Hyunsun Moon6507d2f2020-07-14 15:06:25 -0700335 internet: "spgwc"
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500336 feature_list:
337 dcnr_support: "disabled"
Badhrinath Pad6779412020-07-06 10:23:58 -0700338 security:
339 #int_alg_list: "[EIA0]"
340 int_alg_list: "[EIA1, EIA2, EIA0]"
341 sec_alg_list: "[EEA0, EEA1, EEA2]"
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700342 s1ap:
343 sctp_port: 36412
344 sctp_port_external: 36412
345 s11:
346 egtp_default_port: 2123
347 # sgw_addr and pgw_addr will be set dynamically if unset
348 #sgw_addr:
349 #pgw_addr:
350 s6a:
351 host_type: freediameter
352 # host and realm will be set dynamically if unset
353 #host:
354 #realm:
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700355 spgwc:
Hyunsun Moon83ff7352020-07-09 11:03:52 -0700356 deploy: true
Andy Bavierba196552020-09-17 13:58:04 -0700357 podAnnotations:
358 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":9089,"schema":"HTTP"}]'
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500359 global:
360 transmitTimerSec: 2
361 periodicTimerSec: 10
362 transmitCount: 5
363 requestTimeoutMilliSec: 5000
364 requestTries: 3
365 cpLogger: 0
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500366 gx_config: 0
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700367 #DNS Server - 3gpp compliant DNS server
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500368 dns:
369 cache:
370 concurrent: 25
371 percentage: 80
372 intervalSec: 60
373 queryTimeoutMilliSec: 1000
374 queryTries: 1
375 app:
376 frequencySec: 3
377 filename: "appqueries.json"
378 nameserver: "127.0.0.1"
379 ops:
380 frequencySec: 3
381 filename: "opsqueries.json"
382 nameserver: "127.0.0.1"
383 ueIpPool:
384 ip: "10.250.0.0"
385 mask: "255.255.0.0"
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700386 s11:
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500387 port: 2123
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700388 nodePort:
389 enabled: false
390 port: 32123
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500391 n4:
392 port: 8805
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700393 nodePort:
394 enabled: false
395 port: 30021
Hyunsun Moon11d24f92020-08-26 14:55:19 -0700396 prometheus:
397 port: 9089
398 nodePort:
399 enabled: false
400 port: 30084
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500401 rest:
Ajay Lotan Thakur97278fa2020-09-21 17:31:51 -0500402 port: 8080
403 nodePort:
404 enabled: false
405 port: 30080
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700406 jsonCfgFiles:
Ajay Lotan Thakurc3cd6192020-10-12 20:12:38 -0500407 config.json:
408 gx:
409 host_type: freediameter
410 # host and realm will be set dynamically if unset
411 #host:
412 #realm:
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700413 subscriber_mapping.json:
414 subscriber-selection-rules:
415 - priority: 5
416 keys:
417 serving-plmn:
418 mcc: 208
419 mnc: 10
420 tac: 1
421 imsi-range:
422 from: 200000000000000
423 to: 299999999999999
424 selected-apn-profile: apn-profile1
425 selected-qos-profile: qos-profile1
426 selected-access-profile:
427 - access-all
428 selected-user-plane-profile: user-plane1
429 - priority: 10
430 keys:
431 match-all: true
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 apn-profiles:
438 apn-profile1:
439 apn-name: internet
440 usage: 1
441 network: lbo
442 gx_enabled: true
443 dns_primary: 8.8.8.4
444 dns_secondary: 8.8.8.8
445 mtu: 1460
446 user-plane-profiles:
447 user-plane1:
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500448 user-plane: upf
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700449 qos-tags:
450 tag1: BW
451 access-tags:
452 tag1: ACC
453 qos-profiles:
454 mobile:
455 apn-ambr:
456 - 12345678
457 - 12345678
458 access-profiles:
459 access-all:
460 type: allow-all
461 internet-only:
462 type: internet-only
463 filter: No_private_network
464 intranet-only:
465 type: intranet-only
466 filter: only_private_network
Hyunsun Moon7f03a772020-09-27 23:23:50 -0500467 apps-only:
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700468 type: specific-network
469 filter: only_apps_network
470 specific-app:
471 type: specific-destination-only
472 filter: allow-app-name
473 excluding-app:
474 type: excluding-this-app
475 filter: exclude-app-name
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700476 cfgFiles:
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700477 adc_rules.cfg: |
478 [GLOBAL]
479 NUM_ADC_RULES = 0
480 meter_profile.cfg: |
481 [GLOBAL]
482 NUM_OF_IDX = 0
483 pcc_rules.cfg: |
484 [GLOBAL]
485 NUM_PCC_FILTERS = 1
486 UL_AMBR_MTR_PROFILE_IDX = 1
487 DL_AMBR_MTR_PROFILE_IDX = 2
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700488 [PCC_FILTER_1]
489 RULE_NAME = DefaultRule
490 RATING_GROUP = 9
491 SERVICE_ID = 0
492 RULE_STATUS = 0
493 GATE_STATUS = 1
494 SESSION_CONT = 0
495 REPORT_LEVEL = 1
496 CHARGING_MODE = 0
497 METERING_METHOD = 0
498 MUTE_NOTIFY = 0
499 MONITORING_KEY = 0
500 SPONSOR_ID = 0
501 REDIRECT_INFO = 0
502 PRECEDENCE = 254
503 DROP_PKT_COUNT = 0
504 UL_MBR_MTR_PROFILE_IDX = 3
505 DL_MBR_MTR_PROFILE_IDX = 3
506 SDF_FILTER_IDX = 99998
507 sdf_rules.cfg: |
508 [GLOBAL]
509 NUM_SDF_FILTERS = 1
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700510 [SDF_FILTER_1]
511 DIRECTION = downlink_only
512 IPV4_REMOTE = 13.2.1.113
513 IPV4_REMOTE_MASK = 255.255.255.0
514 PROTOCOL = 17
515 LOCAL_LOW_LIMIT_PORT = 0
516 LOCAL_HIGH_LIMIT_PORT = 65535
517 REMOTE_LOW_LIMIT_PORT = 0
518 REMOTE_HIGH_LIMIT_PORT = 65535