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