blob: 10c77778005a0331a09a8149453d2b446a7d82e5 [file] [log] [blame]
Wei-Yu Chen0f12b9c2019-04-18 11:12:59 -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
Hyunsun Moon06f98552019-08-15 13:44:47 -060016images:
17 tags:
Hyunsun Moon8ee7f482019-08-29 13:57:27 -050018 init: docker.io/omecproject/pod-init:1.0.0
19 hssdb: docker.io/omecproject/c3po-hssdb:1.0.0
20 hss: docker.io/omecproject/c3po-hss:1.0.0
21 mme: docker.io/omecproject/openmme:1.0.0
Woojoong Kim83377562020-02-27 18:22:22 -080022 mmeExporter: docker.io/omecproject/mme-exporter:0.3.1
Ajay Lotan Thakur33c4ff92020-01-16 15:15:25 -080023 spgwc: docker.io/omecproject/ngic-cp:1.1.0
Hyunsun Moon06f98552019-08-15 13:44:47 -060024 depCheck: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1
25 pullPolicy: IfNotPresent
Wei-Yu Chen0f12b9c2019-04-18 11:12:59 -070026
Hyunsun Moon06f98552019-08-15 13:44:47 -060027nodeSelectors:
28 enabled: false
Hyunsun Moon06f98552019-08-15 13:44:47 -060029 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
Wei-Yu Chen0f12b9c2019-04-18 11:12:59 -070038
Hyunsun Moon06f98552019-08-15 13:44:47 -060039resources:
40 enabled: true
Hyunsun Moon06f98552019-08-15 13:44:47 -060041 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
Hyunsun Moon16d70922019-08-25 04:57:25 -050050 # Provide resources for a container, not a pod total
Hyunsun Moon06f98552019-08-15 13:44:47 -060051 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
Wei-Yu Chen0f12b9c2019-04-18 11:12:59 -070064
Hyunsun Moond8804b32019-08-18 00:31:43 -060065cassandra:
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
Hyunsun Moon16d70922019-08-25 04:57:25 -050077 #seed_size: 1
Hyunsun Moond8804b32019-08-18 00:31:43 -060078 endpoint_snitch: GossipingPropertyFileSnitch
Hyunsun Moon16d70922019-08-25 04:57:25 -050079 readinessProbe:
80 initialDelaySeconds: 10
Hyunsun Moond8804b32019-08-18 00:31:43 -060081 resources: {}
82 #requests:
83 # memory: 4Gi
84 # cpu: 2
85 #limits:
86 # memory: 4Gi
87 # cpu: 2
88
Hyunsun Moon06f98552019-08-15 13:44:47 -060089config:
Hyunsun Moone03ddf42019-12-01 19:28:53 -080090 clusterDomain: cluster.local
Hyunsun Moonec0b44d2020-01-10 15:50:53 -070091 coreDump:
92 enabled: false
93 path: /tmp/coredump
Hyunsun Mooned24cac2019-08-26 20:52:20 -050094 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
Hyunsun Moon1f554c42020-03-05 13:00:12 -0800109 apn: internet
110 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
111 opc: "d4416644f6154936193433dd20a0ace0"
112 sqn: 96
Hyunsun Mooned24cac2019-08-26 20:52:20 -0500113 users:
Hyunsun Moon1f554c42020-03-05 13:00:12 -0800114 - imsiStart: "208014567891200"
115 msisdnStart: "1122334455"
116 count: 10
Hyunsun Moonb7f9b4f2019-08-30 16:48:37 -0500117 mmes:
118 - id: 1
119 isdn: "19136246000"
120 unreachability: 1
Hyunsun Mooned24cac2019-08-26 20:52:20 -0500121 # See https://github.com/omec-project/c3po for details of config options
122 cfgFiles:
123 hss.json:
124 common:
125 fdcfg: conf/hss.conf
126 # Origin host and realm will be set automatically if unset
127 #originhost: ""
128 #originrealm: ""
129 hss:
130 gtwhost: "*"
131 gtwport: 9080
132 restport: 9081
133 ossport: 9082
134 # casssrv will be set to cassandra in the same cluster if unset
135 #casssrv: ""
136 cassusr: root
137 casspwd: root
138 cassdb: vhss
139 casscoreconnections: 2
140 cassmaxconnections: 8
141 cassioqueuesize: 32768
142 cassiothreads: 2
143 randv: true
144 optkey: "63bfa50ee6523365ff14c1f45f88737d"
145 reloadkey: false
146 logsize: 20
147 lognumber: 5
148 logname: logs/hss.log
149 logqsize: 8192
150 statlogsize: 20
151 statlognumber: 5
152 statlogname: logs/hss_stat.log
153 auditlogsize: 20
154 auditlognumber: 5
155 auditlogname: logs/hss_audit.log
156 statfreq: 2000
157 numworkers: 4
158 concurrent: 10
159 ossfile: conf/oss.json
160 oss.json:
161 option:
162 id: url
163 type: string
164 services:
165 - id: logger
166 commands:
167 - id: describe_loggers
168 - id: set_logger_level
169 options:
170 - id: name
171 type: string
172 - id: level
173 type: integer
174 - id: stats
175 commands:
176 - id: describe_stats_frequency
177 - id: describe_stats_live
178 - id: set_stats_frequency
179 options:
180 - id: frequency
181 type: integer
Hyunsun Moon06f98552019-08-15 13:44:47 -0600182 mme:
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800183 spgwAddr: spgwc
Hyunsun Moon636e17d2019-07-03 12:52:15 -0500184 s11:
Hyunsun Moon16d70922019-08-25 04:57:25 -0500185 nodePort:
186 enabled: false
187 port: 32124
Hyunsun Mooned24cac2019-08-26 20:52:20 -0500188 s6a:
189 nodePort:
190 enabled: false
191 port: 33869
Hyunsun Moon16d70922019-08-25 04:57:25 -0500192 # See https://github.com/omec-project/openmme/blob/master/README.txt for more config options
Hyunsun Mooned24cac2019-08-26 20:52:20 -0500193 cfgFiles:
194 config.json:
195 mme:
196 name: vmmestandalone
197 group_id: 1
198 code: 1
Ajay Lotan Thakurff2cad62019-12-01 04:41:58 -0800199 logging: error
Hyunsun Mooned24cac2019-08-26 20:52:20 -0500200 mcc:
201 dig1: 2
202 dig2: 0
203 dig3: 8
204 mnc:
205 dig1: 0
206 dig2: 1
207 dig3: -1
208 s1ap:
209 sctp_port: 36412
210 sctp_port_external: 36412
211 s11:
212 egtp_default_port: 2123
213 # sgw_addr and pgw_addr will be set dynamically if unset
214 #sgw_addr:
215 #pgw_addr:
216 s6a:
217 host_type: freediameter
218 # host and realm will be set dynamically if unset
219 #host:
220 #realm:
Woojoong Kimdde90e32020-02-18 14:43:18 -0800221 mme_exporter.json:
222 edges:
223 - id: onf-menlo-b48-1
224 tac: 202
225 edgeName: edge-onf-menlo
226 - id: intel-hillsboro-b48-1
227 tac: 101
228 edgeName: edge-intel-hillsboro
229 - id: onf-menlo-b7-1
230 tac: 17
231 edgeName: edge-onf-menlo
Woojoong Kim83377562020-02-27 18:22:22 -0800232 phoneTypes:
Hyunsun Moon1f554c42020-03-05 13:00:12 -0800233 - imsi: 208014567891200
Woojoong Kim83377562020-02-27 18:22:22 -0800234 phoneType: "Pixel-4"
Hyunsun Moon1f554c42020-03-05 13:00:12 -0800235 - imsi: 208014567891201
Woojoong Kim83377562020-02-27 18:22:22 -0800236 phoneType: "iPhone11-Pro"
Hyunsun Moon7a007bb2019-08-19 16:41:36 -0600237 spgwc:
Hyunsun Moon1f554c42020-03-05 13:00:12 -0800238 apn: internet
Hyunsun Moon16d70922019-08-25 04:57:25 -0500239 ueIpPool:
Hyunsun Moon9d067b52020-01-30 15:42:22 -0800240 ip: 10.250.0.0
241 mask: 255.255.0.0
Hyunsun Moon16d70922019-08-25 04:57:25 -0500242 # This address must match to S1U IP address configured in omec-data-plane
Hyunsun Moon9d067b52020-01-30 15:42:22 -0800243 s1uAddr: 192.168.251.3
Hyunsun Moon16d70922019-08-25 04:57:25 -0500244 s11:
245 nodePort:
246 enabled: false
247 port: 32123
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800248 port: 2123
249 # ZMQ mode is used for cp-dp communication when multiple UPFs is set
250 # Otherwise, direct UDP mode is used
251 # Note that enabling NodePort is valid only in direct UDP mode
Hyunsun Moone9215722020-01-09 15:35:02 -0700252 multiUpfs: false
Hyunsun Moon16d70922019-08-25 04:57:25 -0500253 cpComm:
254 nodePort:
255 enabled: false
256 port: 30021
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800257 port: 21
258 # dpComm is required only when direct UDP mode is used
259 # When you deploy CP and DP to separate clusters in direct UDP mode, enable nodePort
260 # from both cpComm(omec-control-plane) and dpComm(omec-data-plane) and
261 # set "addr" to remote cluster's entry node IP and
262 # "port" to dpComm.nodePort.port value configured in omec-data-plane.
Hyunsun Moon16d70922019-08-25 04:57:25 -0500263 dpComm:
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800264 addr: spgwu
Hyunsun Moon7a007bb2019-08-19 16:41:36 -0600265 port: 20
Hyunsun Moon16d70922019-08-25 04:57:25 -0500266 cfgFiles:
267 # See https://github.com/omec-project/ngic-rtc/tree/master/config for details
Woojoong Kim4866d752019-12-17 16:32:23 -0800268 app_config.cfg: |
269 [GLOBAL]
270 NUM_DP_SELECTION_RULES = 2
271 [DP_SELECTION_RULE_1]
272 DPID = 1
273 DPNAME = dp1
274 MCC = 315
275 MNC = 010
276 TAC = 202
277 [DP_SELECTION_RULE_2]
278 DPID = 2
279 DPNAME = dp2
280 MCC = 315
281 MNC = 010
282 TAC = 203
Hyunsun Moon16d70922019-08-25 04:57:25 -0500283 adc_rules.cfg: |
284 [GLOBAL]
285 NUM_ADC_RULES = 0
286 meter_profile.cfg: |
287 [GLOBAL]
Hyunsun Moon946b5ae2019-08-29 12:52:55 -0500288 NUM_OF_IDX = 0
Hyunsun Moon16d70922019-08-25 04:57:25 -0500289 pcc_rules.cfg: |
290 [GLOBAL]
291 NUM_PCC_FILTERS = 1
292 UL_AMBR_MTR_PROFILE_IDX = 1
293 DL_AMBR_MTR_PROFILE_IDX = 2
294
295 [PCC_FILTER_1]
296 RULE_NAME = DefaultRule
297 RATING_GROUP = 9
298 SERVICE_ID = 0
299 RULE_STATUS = 0
300 GATE_STATUS = 1
301 SESSION_CONT = 0
302 REPORT_LEVEL = 1
303 CHARGING_MODE = 0
304 METERING_METHOD = 0
305 MUTE_NOTIFY = 0
306 MONITORING_KEY = 0
307 SPONSOR_ID = 0
308 REDIRECT_INFO = 0
309 PRECEDENCE = 254
310 DROP_PKT_COUNT = 0
311 UL_MBR_MTR_PROFILE_IDX = 3
312 DL_MBR_MTR_PROFILE_IDX = 3
313 SDF_FILTER_IDX = 99998
314 sdf_rules.cfg: |
315 [GLOBAL]
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800316 NUM_SDF_FILTERS = 1
317
318 [SDF_FILTER_1]
319 DIRECTION = downlink_only
320 IPV4_REMOTE = 13.2.1.113
321 IPV4_REMOTE_MASK = 255.255.255.0
322 PROTOCOL = 17
323 LOCAL_LOW_LIMIT_PORT = 0
324 LOCAL_HIGH_LIMIT_PORT = 65535
325 REMOTE_LOW_LIMIT_PORT = 0
326 REMOTE_HIGH_LIMIT_PORT = 65535
Woojoong Kimf6ba8702020-01-24 12:49:05 -0800327
328prometheusExporter:
329 mme:
330 enabled: true # if it is set to false, subscriber-monitoring will not be operational
331 port: 33081 # for NodePort