blob: a607e98130a3bd5e019cf004ab50811ef564e91b [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
Ajay Lotan Thakur33c4ff92020-01-16 15:15:25 -080022 spgwc: docker.io/omecproject/ngic-cp:1.1.0
Hyunsun Moon06f98552019-08-15 13:44:47 -060023 depCheck: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1
24 pullPolicy: IfNotPresent
Wei-Yu Chen0f12b9c2019-04-18 11:12:59 -070025
Hyunsun Moon06f98552019-08-15 13:44:47 -060026nodeSelectors:
27 enabled: false
Hyunsun Moon06f98552019-08-15 13:44:47 -060028 hss:
29 label: omec-cp
30 value: enabled
31 mme:
32 label: omec-cp
33 value: enabled
34 spgwc:
35 label: omec-cp
36 value: enabled
Wei-Yu Chen0f12b9c2019-04-18 11:12:59 -070037
Hyunsun Moon06f98552019-08-15 13:44:47 -060038resources:
39 enabled: true
Hyunsun Moon06f98552019-08-15 13:44:47 -060040 hss:
41 requests:
42 cpu: 2
43 memory: 1Gi
44 limits:
45 cpu: 2
46 memory: 1Gi
47 mme:
48 # Note that MME pod is composed of 4 containers
Hyunsun Moon16d70922019-08-25 04:57:25 -050049 # Provide resources for a container, not a pod total
Hyunsun Moon06f98552019-08-15 13:44:47 -060050 requests:
51 cpu: 0.5
52 memory: 1Gi
53 limits:
54 cpu: 0.5
55 memory: 1Gi
56 spgwc:
57 requests:
58 cpu: 2
59 memory: 5Gi
60 limits:
61 cpu: 2
62 memory: 5Gi
Wei-Yu Chen0f12b9c2019-04-18 11:12:59 -070063
Hyunsun Moond8804b32019-08-18 00:31:43 -060064cassandra:
65 deploy: true
66 fullnameOverride: cassandra
67 image:
68 tag: 2.1.20
69 #selector:
70 # nodeSelector:
71 # cassandra: enabled
72 persistence:
73 enabled: false
74 config:
75 #cluster_size: 1
Hyunsun Moon16d70922019-08-25 04:57:25 -050076 #seed_size: 1
Hyunsun Moond8804b32019-08-18 00:31:43 -060077 endpoint_snitch: GossipingPropertyFileSnitch
Hyunsun Moon16d70922019-08-25 04:57:25 -050078 readinessProbe:
79 initialDelaySeconds: 10
Hyunsun Moond8804b32019-08-18 00:31:43 -060080 resources: {}
81 #requests:
82 # memory: 4Gi
83 # cpu: 2
84 #limits:
85 # memory: 4Gi
86 # cpu: 2
87
Hyunsun Moon06f98552019-08-15 13:44:47 -060088config:
Hyunsun Moone03ddf42019-12-01 19:28:53 -080089 clusterDomain: cluster.local
Hyunsun Moonec0b44d2020-01-10 15:50:53 -070090 coreDump:
91 enabled: false
92 path: /tmp/coredump
Hyunsun Mooned24cac2019-08-26 20:52:20 -050093 hss:
94 hssdb: cassandra
95 s6a:
96 nodePort:
97 enabled: false
98 port: 33868
99 # Provide the peer whitelist extension
100 # The peer name must be a fqdn. We allow also a special "*" character as the
101 # first label of the fqdn, to allow all fqdn with the same domain name.
102 # Example: *.example.net will allow host1.example.net and host2.example.net
103 acl:
104 oldTls: "*.cluster.local"
105 #ipSec:
106 bootstrap:
107 enabled: true
108 users:
Hyunsun Moonb7f9b4f2019-08-30 16:48:37 -0500109 - imsi: "208014567891200"
110 msisdn: "1122334455"
111 apn: apn1
112 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
113 opc: "d4416644f6154936193433dd20a0ace0"
Hyunsun Moon9257ef82019-10-16 15:26:30 -0700114 sqn: 96
Hyunsun Moonb7f9b4f2019-08-30 16:48:37 -0500115 - imsi: "208014567891201"
116 msisdn: "1122334455"
117 apn: apn1
118 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
119 opc: "d4416644f6154936193433dd20a0ace0"
Hyunsun Moon9257ef82019-10-16 15:26:30 -0700120 sqn: 96
Hyunsun Moonb7f9b4f2019-08-30 16:48:37 -0500121 mmes:
122 - id: 1
123 isdn: "19136246000"
124 unreachability: 1
Hyunsun Mooned24cac2019-08-26 20:52:20 -0500125 # 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
Hyunsun Moon06f98552019-08-15 13:44:47 -0600186 mme:
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800187 spgwAddr: spgwc
Hyunsun Moon636e17d2019-07-03 12:52:15 -0500188 s11:
Hyunsun Moon16d70922019-08-25 04:57:25 -0500189 nodePort:
190 enabled: false
191 port: 32124
Hyunsun Mooned24cac2019-08-26 20:52:20 -0500192 s6a:
193 nodePort:
194 enabled: false
195 port: 33869
Hyunsun Moon16d70922019-08-25 04:57:25 -0500196 # See https://github.com/omec-project/openmme/blob/master/README.txt for more config options
Hyunsun Mooned24cac2019-08-26 20:52:20 -0500197 cfgFiles:
198 config.json:
199 mme:
200 name: vmmestandalone
201 group_id: 1
202 code: 1
Ajay Lotan Thakurff2cad62019-12-01 04:41:58 -0800203 logging: error
Hyunsun Mooned24cac2019-08-26 20:52:20 -0500204 mcc:
205 dig1: 2
206 dig2: 0
207 dig3: 8
208 mnc:
209 dig1: 0
210 dig2: 1
211 dig3: -1
212 s1ap:
213 sctp_port: 36412
214 sctp_port_external: 36412
215 s11:
216 egtp_default_port: 2123
217 # sgw_addr and pgw_addr will be set dynamically if unset
218 #sgw_addr:
219 #pgw_addr:
220 s6a:
221 host_type: freediameter
222 # host and realm will be set dynamically if unset
223 #host:
224 #realm:
Hyunsun Moon7a007bb2019-08-19 16:41:36 -0600225 spgwc:
Hyunsun Moon16d70922019-08-25 04:57:25 -0500226 apn: apn1
227 ueIpPool:
228 ip: 16.0.0.0
229 mask: 255.0.0.0
230 # This address must match to S1U IP address configured in omec-data-plane
231 s1uAddr: 119.0.0.3
Hyunsun Moon16d70922019-08-25 04:57:25 -0500232 s11:
233 nodePort:
234 enabled: false
235 port: 32123
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800236 port: 2123
237 # ZMQ mode is used for cp-dp communication when multiple UPFs is set
238 # Otherwise, direct UDP mode is used
239 # Note that enabling NodePort is valid only in direct UDP mode
Hyunsun Moone9215722020-01-09 15:35:02 -0700240 multiUpfs: false
Hyunsun Moon16d70922019-08-25 04:57:25 -0500241 cpComm:
242 nodePort:
243 enabled: false
244 port: 30021
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800245 port: 21
246 # dpComm is required only when direct UDP mode is used
247 # When you deploy CP and DP to separate clusters in direct UDP mode, enable nodePort
248 # from both cpComm(omec-control-plane) and dpComm(omec-data-plane) and
249 # set "addr" to remote cluster's entry node IP and
250 # "port" to dpComm.nodePort.port value configured in omec-data-plane.
Hyunsun Moon16d70922019-08-25 04:57:25 -0500251 dpComm:
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800252 addr: spgwu
Hyunsun Moon7a007bb2019-08-19 16:41:36 -0600253 port: 20
Hyunsun Moon16d70922019-08-25 04:57:25 -0500254 cfgFiles:
255 # See https://github.com/omec-project/ngic-rtc/tree/master/config for details
Woojoong Kim4866d752019-12-17 16:32:23 -0800256 app_config.cfg: |
257 [GLOBAL]
258 NUM_DP_SELECTION_RULES = 2
259 [DP_SELECTION_RULE_1]
260 DPID = 1
261 DPNAME = dp1
262 MCC = 315
263 MNC = 010
264 TAC = 202
265 [DP_SELECTION_RULE_2]
266 DPID = 2
267 DPNAME = dp2
268 MCC = 315
269 MNC = 010
270 TAC = 203
Hyunsun Moon16d70922019-08-25 04:57:25 -0500271 adc_rules.cfg: |
272 [GLOBAL]
273 NUM_ADC_RULES = 0
274 meter_profile.cfg: |
275 [GLOBAL]
Hyunsun Moon946b5ae2019-08-29 12:52:55 -0500276 NUM_OF_IDX = 0
Hyunsun Moon16d70922019-08-25 04:57:25 -0500277 pcc_rules.cfg: |
278 [GLOBAL]
279 NUM_PCC_FILTERS = 1
280 UL_AMBR_MTR_PROFILE_IDX = 1
281 DL_AMBR_MTR_PROFILE_IDX = 2
282
283 [PCC_FILTER_1]
284 RULE_NAME = DefaultRule
285 RATING_GROUP = 9
286 SERVICE_ID = 0
287 RULE_STATUS = 0
288 GATE_STATUS = 1
289 SESSION_CONT = 0
290 REPORT_LEVEL = 1
291 CHARGING_MODE = 0
292 METERING_METHOD = 0
293 MUTE_NOTIFY = 0
294 MONITORING_KEY = 0
295 SPONSOR_ID = 0
296 REDIRECT_INFO = 0
297 PRECEDENCE = 254
298 DROP_PKT_COUNT = 0
299 UL_MBR_MTR_PROFILE_IDX = 3
300 DL_MBR_MTR_PROFILE_IDX = 3
301 SDF_FILTER_IDX = 99998
302 sdf_rules.cfg: |
303 [GLOBAL]
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800304 NUM_SDF_FILTERS = 1
305
306 [SDF_FILTER_1]
307 DIRECTION = downlink_only
308 IPV4_REMOTE = 13.2.1.113
309 IPV4_REMOTE_MASK = 255.255.255.0
310 PROTOCOL = 17
311 LOCAL_LOW_LIMIT_PORT = 0
312 LOCAL_HIGH_LIMIT_PORT = 65535
313 REMOTE_LOW_LIMIT_PORT = 0
314 REMOTE_HIGH_LIMIT_PORT = 65535