blob: 5b96a6d532a20ea929a96626179358b2e82b1870 [file] [log] [blame]
Jeremy Ronquillo223db002020-06-05 10:28:22 -07001# Copyright 2018-present Open Networking Foundation
2# Copyright 2018 Intel Corporation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16images:
17 tags:
18 init: docker.io/omecproject/pod-init:1.0.0
19 hssdb: docker.io/omecproject/c3po-hssdb:latest
20 hss: docker.io/omecproject/c3po-hss:latest
21 mme: docker.io/omecproject/openmme:paging-latest
22 mmeExporter: docker.io/omecproject/mme-exporter:paging-latest
23 spgwc: docker.io/omecproject/ngic-cp:central-cp-multi-upfs-latest
24 depCheck: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1
25 pullPolicy: IfNotPresent
26
27nodeSelectors:
28 enabled: false
29 hss:
30 label: omec-cp
31 value: enabled
32 mme:
33 label: omec-cp
34 value: enabled
35 spgwc:
36 label: omec-cp
37 value: enabled
38
39resources:
40 enabled: true
41 hss:
42 requests:
43 cpu: 2
44 memory: 1Gi
45 limits:
46 cpu: 2
47 memory: 1Gi
48 mme:
49 # Note that MME pod is composed of 4 containers
50 # Provide resources for a container, not a pod total
51 requests:
52 cpu: 0.5
53 memory: 1Gi
54 limits:
55 cpu: 0.5
56 memory: 1Gi
57 spgwc:
58 requests:
59 cpu: 2
60 memory: 5Gi
61 limits:
62 cpu: 2
63 memory: 5Gi
64
65cassandra:
66 deploy: true
67 fullnameOverride: cassandra
68 image:
69 tag: 2.1.20
70 #selector:
71 # nodeSelector:
72 # cassandra: enabled
73 persistence:
74 enabled: false
75 config:
76 #cluster_size: 1
77 #seed_size: 1
78 endpoint_snitch: GossipingPropertyFileSnitch
79 readinessProbe:
80 initialDelaySeconds: 10
81 resources: {}
82 #requests:
83 # memory: 4Gi
84 # cpu: 2
85 #limits:
86 # memory: 4Gi
87 # cpu: 2
88
89config:
90 clusterDomain: cluster.local
91 coreDump:
92 enabled: false
93 path: /tmp/coredump
94 hss:
95 hssdb: cassandra
96 s6a:
97 nodePort:
98 enabled: false
99 port: 33868
100 # Provide the peer whitelist extension
101 # The peer name must be a fqdn. We allow also a special "*" character as the
102 # first label of the fqdn, to allow all fqdn with the same domain name.
103 # Example: *.example.net will allow host1.example.net and host2.example.net
104 acl:
105 oldTls: "*.cluster.local"
106 #ipSec:
107 bootstrap:
108 enabled: true
109 apn: internet
110 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
111 opc: "d4416644f6154936193433dd20a0ace0"
112 sqn: 96
113 users:
114 - imsiStart: "208014567891200"
115 msisdnStart: "1122334455"
116 count: 10
117 staticusers:
118 - imsi: "208014567891201"
119 msisdn: "1122334455"
120 staticAddr: 0.0.0.0
121 mmes:
122 - id: 1
123 isdn: "19136246000"
124 unreachability: 1
125 # See https://github.com/omec-project/c3po for details of config options
126 cfgFiles:
127 hss.json:
128 common:
129 fdcfg: conf/hss.conf
130 # Origin host and realm will be set automatically if unset
131 #originhost: ""
132 #originrealm: ""
133 hss:
134 gtwhost: "*"
135 gtwport: 9080
136 restport: 9081
137 ossport: 9082
138 # casssrv will be set to cassandra in the same cluster if unset
139 #casssrv: ""
140 cassusr: root
141 casspwd: root
142 cassdb: vhss
143 casscoreconnections: 2
144 cassmaxconnections: 8
145 cassioqueuesize: 32768
146 cassiothreads: 2
147 randv: true
148 optkey: "63bfa50ee6523365ff14c1f45f88737d"
149 reloadkey: false
150 logsize: 20
151 lognumber: 5
152 logname: logs/hss.log
153 logqsize: 8192
154 statlogsize: 20
155 statlognumber: 5
156 statlogname: logs/hss_stat.log
157 auditlogsize: 20
158 auditlognumber: 5
159 auditlogname: logs/hss_audit.log
160 statfreq: 2000
161 numworkers: 4
162 concurrent: 10
163 ossfile: conf/oss.json
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 mme:
187 spgwAddr: spgwc
188 s11:
189 nodePort:
190 enabled: false
191 port: 32124
192 s6a:
193 nodePort:
194 enabled: false
195 port: 33869
196 # See https://github.com/omec-project/openmme/blob/master/README.txt for more config options
197 cfgFiles:
198 config.json:
199 mme:
200 name: vmmestandalone
201 group_id: 1
202 code: 1
203 logging: error
204 mcc:
205 dig1: 2
206 dig2: 0
207 dig3: 8
208 mnc:
209 dig1: 0
210 dig2: 1
211 dig3: -1
212 plmnlist:
213 #plmn1 - aether common plmn, plmn2 is for comac-in-box
214 plmn1: "mcc=315,mnc=010"
215 plmn2: "mcc=208,mnc=01"
216 s1ap:
217 sctp_port: 36412
218 sctp_port_external: 36412
219 s11:
220 egtp_default_port: 2123
221 # sgw_addr and pgw_addr will be set dynamically if unset
222 #sgw_addr:
223 #pgw_addr:
224 s6a:
225 host_type: freediameter
226 # host and realm will be set dynamically if unset
227 #host:
228 #realm:
229 mme_exporter.json:
230 edges:
231 - id: onf-menlo
232 tac: 202
233 edgeName: edge-onf-menlo
234 - id: oaisim
235 tac: 1
236 edgeName: edge-oaisim
237 phoneTypes:
238 - imsi: 208014567891200
239 phoneType: "Pixel-4"
240 - imsi: 208014567891201
241 phoneType: "iPhone11-Pro"
242 spgwc:
243 apn: internet
244 # ueStaticPool is used only when multiUpfs is not enabled.
245 # In case of multiUpfs, use app_config.cfg to provide static pool per DP.
246 #ueStaticPool: 10.250.255.0/24
247 ueStaticPool: None
248 ueIpPool:
249 ip: 10.250.0.0
250 mask: 255.255.0.0
251 # This address must match to S1U IP address configured in omec-data-plane
252 s1uAddr: 192.168.251.3
253 s11:
254 nodePort:
255 enabled: false
256 port: 32123
257 port: 2123
258 # ZMQ mode is used for cp-dp communication when multiple UPFs is set
259 # Otherwise, direct UDP mode is used
260 # Note that enabling NodePort is valid only in direct UDP mode
261 multiUpfs: true
262 cpComm:
263 nodePort:
264 enabled: false
265 port: 30021
266 port: 21
267 # dpComm is required only when direct UDP mode is used
268 # When you deploy CP and DP to separate clusters in direct UDP mode, enable nodePort
269 # from both cpComm(omec-control-plane) and dpComm(omec-data-plane) and
270 # set "addr" to remote cluster's entry node IP and
271 # "port" to dpComm.nodePort.port value configured in omec-data-plane.
272 dpComm:
273 addr: spgwu
274 port: 20
275 cfgFiles:
276 # See https://github.com/omec-project/ngic-rtc/tree/master/config for details
277 app_config.cfg: |
278 [GLOBAL]
279 NUM_DP_SELECTION_RULES = 2
280 [DP_SELECTION_RULE_1]
281 DPID = 1
282 DPNAME = onf-menlo
283 MCC = 315
284 MNC = 010
285 TAC = 202
286 [DP_SELECTION_RULE_2]
287 DPID = 2
288 DPNAME = oaisim
289 MCC = 208
290 MNC = 01
291 TAC = 1
292 adc_rules.cfg: |
293 [GLOBAL]
294 NUM_ADC_RULES = 0
295 meter_profile.cfg: |
296 [GLOBAL]
297 NUM_OF_IDX = 0
298 pcc_rules.cfg: |
299 [GLOBAL]
300 NUM_PCC_FILTERS = 1
301 UL_AMBR_MTR_PROFILE_IDX = 1
302 DL_AMBR_MTR_PROFILE_IDX = 2
303
304 [PCC_FILTER_1]
305 RULE_NAME = DefaultRule
306 RATING_GROUP = 9
307 SERVICE_ID = 0
308 RULE_STATUS = 0
309 GATE_STATUS = 1
310 SESSION_CONT = 0
311 REPORT_LEVEL = 1
312 CHARGING_MODE = 0
313 METERING_METHOD = 0
314 MUTE_NOTIFY = 0
315 MONITORING_KEY = 0
316 SPONSOR_ID = 0
317 REDIRECT_INFO = 0
318 PRECEDENCE = 254
319 DROP_PKT_COUNT = 0
320 UL_MBR_MTR_PROFILE_IDX = 3
321 DL_MBR_MTR_PROFILE_IDX = 3
322 SDF_FILTER_IDX = 99998
323 sdf_rules.cfg: |
324 [GLOBAL]
325 NUM_SDF_FILTERS = 1
326
327 [SDF_FILTER_1]
328 DIRECTION = downlink_only
329 IPV4_REMOTE = 13.2.1.113
330 IPV4_REMOTE_MASK = 255.255.255.0
331 PROTOCOL = 17
332 LOCAL_LOW_LIMIT_PORT = 0
333 LOCAL_HIGH_LIMIT_PORT = 65535
334 REMOTE_LOW_LIMIT_PORT = 0
335 REMOTE_HIGH_LIMIT_PORT = 65535
336
337prometheusExporter:
338 mme:
339 enabled: true # if it is set to false, subscriber-monitoring will not be operational
340 port: 33081 # for NodePort