blob: a4a2e0df276df6c12efec5e98d974bc1fdcdbba1 [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
Jeremy Ronquillo223db002020-06-05 10:28:22 -070014 depCheck: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1
15 pullPolicy: IfNotPresent
16
17nodeSelectors:
18 enabled: false
19 hss:
20 label: omec-cp
21 value: enabled
22 mme:
23 label: omec-cp
24 value: enabled
25 spgwc:
26 label: omec-cp
27 value: enabled
28
29resources:
30 enabled: true
31 hss:
32 requests:
33 cpu: 2
34 memory: 1Gi
35 limits:
36 cpu: 2
37 memory: 1Gi
38 mme:
39 # Note that MME pod is composed of 4 containers
40 # Provide resources for a container, not a pod total
41 requests:
42 cpu: 0.5
43 memory: 1Gi
44 limits:
45 cpu: 0.5
46 memory: 1Gi
47 spgwc:
48 requests:
49 cpu: 2
50 memory: 5Gi
51 limits:
52 cpu: 2
53 memory: 5Gi
54
55cassandra:
56 deploy: true
57 fullnameOverride: cassandra
58 image:
59 tag: 2.1.20
60 #selector:
61 # nodeSelector:
62 # cassandra: enabled
63 persistence:
64 enabled: false
65 config:
66 #cluster_size: 1
67 #seed_size: 1
68 endpoint_snitch: GossipingPropertyFileSnitch
69 readinessProbe:
70 initialDelaySeconds: 10
71 resources: {}
72 #requests:
73 # memory: 4Gi
74 # cpu: 2
75 #limits:
76 # memory: 4Gi
77 # cpu: 2
78
79config:
80 clusterDomain: cluster.local
81 coreDump:
82 enabled: false
83 path: /tmp/coredump
84 hss:
Hyunsun Moon83ff7352020-07-09 11:03:52 -070085 deploy: true
Andy Bavierba196552020-09-17 13:58:04 -070086 podAnnotations:
87 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":9089,"schema":"HTTP"}]'
Jeremy Ronquillo223db002020-06-05 10:28:22 -070088 hssdb: cassandra
89 s6a:
90 nodePort:
91 enabled: false
92 port: 33868
Hyunsun Moon11d24f92020-08-26 14:55:19 -070093 prometheus:
94 port: 9089
95 nodePort:
96 enabled: false
97 port: 30086
Jeremy Ronquillo223db002020-06-05 10:28:22 -070098 # Provide the peer whitelist extension
99 # The peer name must be a fqdn. We allow also a special "*" character as the
100 # first label of the fqdn, to allow all fqdn with the same domain name.
101 # Example: *.example.net will allow host1.example.net and host2.example.net
102 acl:
103 oldTls: "*.cluster.local"
104 #ipSec:
105 bootstrap:
106 enabled: true
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700107 users:
Hyunsun Moona1c4c982020-07-22 15:01:29 -0700108 - apn: internet
109 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
110 opc: "d4416644f6154936193433dd20a0ace0"
111 sqn: 96
112 imsiStart: "208014567891200"
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700113 msisdnStart: "1122334455"
114 count: 10
Jeremy Ronquillo20fbe492020-08-13 10:44:18 -0700115 staticusers:
116 - apn: internet
117 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
118 opc: "d4416644f6154936193433dd20a0ace0"
119 sqn: 96
120 imsi: "208014567891200"
121 msisdn: "1122334455"
122 staticAddr: 0.0.0.0
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700123 mmes:
124 - id: 1
Hyunsun Moon83ff7352020-07-09 11:03:52 -0700125 mme_identity: mme.omec.svc.cluster.local
126 mme_realm: omec.svc.cluster.local
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700127 isdn: "19136246000"
128 unreachability: 1
129 # See https://github.com/omec-project/c3po for details of config options
130 cfgFiles:
131 hss.json:
132 common:
133 fdcfg: conf/hss.conf
134 # Origin host and realm will be set automatically if unset
135 #originhost: ""
136 #originrealm: ""
137 hss:
138 gtwhost: "*"
139 gtwport: 9080
140 restport: 9081
141 ossport: 9082
142 # casssrv will be set to cassandra in the same cluster if unset
143 #casssrv: ""
144 cassusr: root
145 casspwd: root
146 cassdb: vhss
147 casscoreconnections: 2
148 cassmaxconnections: 8
149 cassioqueuesize: 32768
150 cassiothreads: 2
151 randv: true
152 optkey: "63bfa50ee6523365ff14c1f45f88737d"
153 reloadkey: false
154 logsize: 20
155 lognumber: 5
156 logname: logs/hss.log
157 logqsize: 8192
158 statlogsize: 20
159 statlognumber: 5
160 statlogname: logs/hss_stat.log
161 auditlogsize: 20
162 auditlognumber: 5
163 auditlogname: logs/hss_audit.log
164 statfreq: 2000
165 numworkers: 4
166 concurrent: 10
167 ossfile: conf/oss.json
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700168 verifyroamingsubscribers: false
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700169 oss.json:
170 option:
171 id: url
172 type: string
173 services:
174 - id: logger
175 commands:
176 - id: describe_loggers
177 - id: set_logger_level
178 options:
179 - id: name
180 type: string
181 - id: level
182 type: integer
183 - id: stats
184 commands:
185 - id: describe_stats_frequency
186 - id: describe_stats_live
187 - id: set_stats_frequency
188 options:
189 - id: frequency
190 type: integer
191 mme:
Hyunsun Moon83ff7352020-07-09 11:03:52 -0700192 deploy: true
Andy Bavierba196552020-09-17 13:58:04 -0700193 podAnnotations:
194 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":3081,"schema":"HTTP"}]'
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700195 spgwAddr: spgwc
196 s11:
197 nodePort:
198 enabled: false
199 port: 32124
200 s6a:
201 nodePort:
202 enabled: false
203 port: 33869
Hyunsun Moon11d24f92020-08-26 14:55:19 -0700204 prometheus:
205 port: 3081
206 nodePort:
207 enabled: false
208 port: 30085
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700209 # See https://github.com/omec-project/openmme/blob/master/README.txt for more config options
210 cfgFiles:
211 config.json:
212 mme:
213 name: vmmestandalone
214 group_id: 1
215 code: 1
216 logging: error
217 mcc:
218 dig1: 2
219 dig2: 0
220 dig3: 8
221 mnc:
222 dig1: 0
223 dig2: 1
224 dig3: -1
225 plmnlist:
226 #plmn1 - aether common plmn, plmn2 is for comac-in-box
227 plmn1: "mcc=315,mnc=010"
228 plmn2: "mcc=208,mnc=01"
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700229 apnlist:
Hyunsun Moon6507d2f2020-07-14 15:06:25 -0700230 internet: "spgwc"
Badhrinath Pad6779412020-07-06 10:23:58 -0700231 security:
232 #int_alg_list: "[EIA0]"
233 int_alg_list: "[EIA1, EIA2, EIA0]"
234 sec_alg_list: "[EEA0, EEA1, EEA2]"
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700235 s1ap:
236 sctp_port: 36412
237 sctp_port_external: 36412
238 s11:
239 egtp_default_port: 2123
240 # sgw_addr and pgw_addr will be set dynamically if unset
241 #sgw_addr:
242 #pgw_addr:
243 s6a:
244 host_type: freediameter
245 # host and realm will be set dynamically if unset
246 #host:
247 #realm:
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700248 spgwc:
Hyunsun Moon83ff7352020-07-09 11:03:52 -0700249 deploy: true
Andy Bavierba196552020-09-17 13:58:04 -0700250 podAnnotations:
251 field.cattle.io/workloadMetrics: '[{"path":"/metrics","port":9089,"schema":"HTTP"}]'
Hyunsun Moond60fcaf2020-07-14 16:09:13 -0700252 pfcp: true
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700253 apn: internet
254 # ueStaticPool is used only when multiUpfs is not enabled.
255 # In case of multiUpfs, use app_config.cfg to provide static pool per DP.
256 #ueStaticPool: 10.250.255.0/24
257 ueStaticPool: None
258 ueIpPool:
259 ip: 10.250.0.0
260 mask: 255.255.0.0
261 # This address must match to S1U IP address configured in omec-data-plane
262 s1uAddr: 192.168.251.3
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700263 #DNS Server - 3gpp compliant DNS server
264 nameserver: 127.0.0.1
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700265 s11:
266 nodePort:
267 enabled: false
268 port: 32123
269 port: 2123
270 # ZMQ mode is used for cp-dp communication when multiple UPFs is set
271 # Otherwise, direct UDP mode is used
272 # Note that enabling NodePort is valid only in direct UDP mode
273 multiUpfs: true
274 cpComm:
275 nodePort:
276 enabled: false
277 port: 30021
278 port: 21
279 # dpComm is required only when direct UDP mode is used
280 # When you deploy CP and DP to separate clusters in direct UDP mode, enable nodePort
281 # from both cpComm(omec-control-plane) and dpComm(omec-data-plane) and
282 # set "addr" to remote cluster's entry node IP and
283 # "port" to dpComm.nodePort.port value configured in omec-data-plane.
284 dpComm:
285 addr: spgwu
286 port: 20
Hyunsun Moon11d24f92020-08-26 14:55:19 -0700287 prometheus:
288 port: 9089
289 nodePort:
290 enabled: false
291 port: 30084
Ajay Lotan Thakur97278fa2020-09-21 17:31:51 -0500292 http:
293 port: 8080
294 nodePort:
295 enabled: false
296 port: 30080
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700297 jsonCfgFiles:
298 subscriber_mapping.json:
299 subscriber-selection-rules:
300 - priority: 5
301 keys:
302 serving-plmn:
303 mcc: 208
304 mnc: 10
305 tac: 1
306 imsi-range:
307 from: 200000000000000
308 to: 299999999999999
309 selected-apn-profile: apn-profile1
310 selected-qos-profile: qos-profile1
311 selected-access-profile:
312 - access-all
313 selected-user-plane-profile: user-plane1
314 - priority: 10
315 keys:
316 match-all: true
317 selected-apn-profile: apn-profile1
318 selected-qos-profile: qos-profile1
319 selected-access-profile:
320 - access-all
321 selected-user-plane-profile: user-plane1
322 apn-profiles:
323 apn-profile1:
324 apn-name: internet
325 usage: 1
326 network: lbo
327 gx_enabled: true
328 dns_primary: 8.8.8.4
329 dns_secondary: 8.8.8.8
330 mtu: 1460
331 user-plane-profiles:
332 user-plane1:
Hyunsun Moon33d85312020-08-20 00:55:31 -0700333 user-plane: upf-headless
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700334 qos-tags:
335 tag1: BW
336 access-tags:
337 tag1: ACC
338 qos-profiles:
339 mobile:
340 apn-ambr:
341 - 12345678
342 - 12345678
343 access-profiles:
344 access-all:
345 type: allow-all
346 internet-only:
347 type: internet-only
348 filter: No_private_network
349 intranet-only:
350 type: intranet-only
351 filter: only_private_network
352 apps-only:
353 type: specific-network
354 filter: only_apps_network
355 specific-app:
356 type: specific-destination-only
357 filter: allow-app-name
358 excluding-app:
359 type: excluding-this-app
360 filter: exclude-app-name
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700361 cfgFiles:
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700362 app_config.cfg: |
363 [GLOBAL]
364 NUM_DP_SELECTION_RULES = 2
365 [DP_SELECTION_RULE_1]
366 DPID = 1
367 DPNAME = onf-menlo
368 MCC = 315
369 MNC = 010
370 TAC = 202
371 [DP_SELECTION_RULE_2]
372 DPID = 2
373 DPNAME = oaisim
374 MCC = 208
375 MNC = 01
376 TAC = 1
377 adc_rules.cfg: |
378 [GLOBAL]
379 NUM_ADC_RULES = 0
380 meter_profile.cfg: |
381 [GLOBAL]
382 NUM_OF_IDX = 0
383 pcc_rules.cfg: |
384 [GLOBAL]
385 NUM_PCC_FILTERS = 1
386 UL_AMBR_MTR_PROFILE_IDX = 1
387 DL_AMBR_MTR_PROFILE_IDX = 2
388
389 [PCC_FILTER_1]
390 RULE_NAME = DefaultRule
391 RATING_GROUP = 9
392 SERVICE_ID = 0
393 RULE_STATUS = 0
394 GATE_STATUS = 1
395 SESSION_CONT = 0
396 REPORT_LEVEL = 1
397 CHARGING_MODE = 0
398 METERING_METHOD = 0
399 MUTE_NOTIFY = 0
400 MONITORING_KEY = 0
401 SPONSOR_ID = 0
402 REDIRECT_INFO = 0
403 PRECEDENCE = 254
404 DROP_PKT_COUNT = 0
405 UL_MBR_MTR_PROFILE_IDX = 3
406 DL_MBR_MTR_PROFILE_IDX = 3
407 SDF_FILTER_IDX = 99998
408 sdf_rules.cfg: |
409 [GLOBAL]
410 NUM_SDF_FILTERS = 1
411
412 [SDF_FILTER_1]
413 DIRECTION = downlink_only
414 IPV4_REMOTE = 13.2.1.113
415 IPV4_REMOTE_MASK = 255.255.255.0
416 PROTOCOL = 17
417 LOCAL_LOW_LIMIT_PORT = 0
418 LOCAL_HIGH_LIMIT_PORT = 65535
419 REMOTE_LOW_LIMIT_PORT = 0
420 REMOTE_HIGH_LIMIT_PORT = 65535