blob: 1af015322101be59ad4b129702f39efb19f1fb6c [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 Thakurb48ed2d2020-07-01 11:58:51 -0700292 jsonCfgFiles:
293 subscriber_mapping.json:
294 subscriber-selection-rules:
295 - priority: 5
296 keys:
297 serving-plmn:
298 mcc: 208
299 mnc: 10
300 tac: 1
301 imsi-range:
302 from: 200000000000000
303 to: 299999999999999
304 selected-apn-profile: apn-profile1
305 selected-qos-profile: qos-profile1
306 selected-access-profile:
307 - access-all
308 selected-user-plane-profile: user-plane1
309 - priority: 10
310 keys:
311 match-all: true
312 selected-apn-profile: apn-profile1
313 selected-qos-profile: qos-profile1
314 selected-access-profile:
315 - access-all
316 selected-user-plane-profile: user-plane1
317 apn-profiles:
318 apn-profile1:
319 apn-name: internet
320 usage: 1
321 network: lbo
322 gx_enabled: true
323 dns_primary: 8.8.8.4
324 dns_secondary: 8.8.8.8
325 mtu: 1460
326 user-plane-profiles:
327 user-plane1:
Hyunsun Moon33d85312020-08-20 00:55:31 -0700328 user-plane: upf-headless
Ajay Lotan Thakurb48ed2d2020-07-01 11:58:51 -0700329 qos-tags:
330 tag1: BW
331 access-tags:
332 tag1: ACC
333 qos-profiles:
334 mobile:
335 apn-ambr:
336 - 12345678
337 - 12345678
338 access-profiles:
339 access-all:
340 type: allow-all
341 internet-only:
342 type: internet-only
343 filter: No_private_network
344 intranet-only:
345 type: intranet-only
346 filter: only_private_network
347 apps-only:
348 type: specific-network
349 filter: only_apps_network
350 specific-app:
351 type: specific-destination-only
352 filter: allow-app-name
353 excluding-app:
354 type: excluding-this-app
355 filter: exclude-app-name
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700356 cfgFiles:
Jeremy Ronquillo223db002020-06-05 10:28:22 -0700357 app_config.cfg: |
358 [GLOBAL]
359 NUM_DP_SELECTION_RULES = 2
360 [DP_SELECTION_RULE_1]
361 DPID = 1
362 DPNAME = onf-menlo
363 MCC = 315
364 MNC = 010
365 TAC = 202
366 [DP_SELECTION_RULE_2]
367 DPID = 2
368 DPNAME = oaisim
369 MCC = 208
370 MNC = 01
371 TAC = 1
372 adc_rules.cfg: |
373 [GLOBAL]
374 NUM_ADC_RULES = 0
375 meter_profile.cfg: |
376 [GLOBAL]
377 NUM_OF_IDX = 0
378 pcc_rules.cfg: |
379 [GLOBAL]
380 NUM_PCC_FILTERS = 1
381 UL_AMBR_MTR_PROFILE_IDX = 1
382 DL_AMBR_MTR_PROFILE_IDX = 2
383
384 [PCC_FILTER_1]
385 RULE_NAME = DefaultRule
386 RATING_GROUP = 9
387 SERVICE_ID = 0
388 RULE_STATUS = 0
389 GATE_STATUS = 1
390 SESSION_CONT = 0
391 REPORT_LEVEL = 1
392 CHARGING_MODE = 0
393 METERING_METHOD = 0
394 MUTE_NOTIFY = 0
395 MONITORING_KEY = 0
396 SPONSOR_ID = 0
397 REDIRECT_INFO = 0
398 PRECEDENCE = 254
399 DROP_PKT_COUNT = 0
400 UL_MBR_MTR_PROFILE_IDX = 3
401 DL_MBR_MTR_PROFILE_IDX = 3
402 SDF_FILTER_IDX = 99998
403 sdf_rules.cfg: |
404 [GLOBAL]
405 NUM_SDF_FILTERS = 1
406
407 [SDF_FILTER_1]
408 DIRECTION = downlink_only
409 IPV4_REMOTE = 13.2.1.113
410 IPV4_REMOTE_MASK = 255.255.255.0
411 PROTOCOL = 17
412 LOCAL_LOW_LIMIT_PORT = 0
413 LOCAL_HIGH_LIMIT_PORT = 65535
414 REMOTE_LOW_LIMIT_PORT = 0
415 REMOTE_HIGH_LIMIT_PORT = 65535