blob: c52ce9b7d3868a7f6ec90de5c217ebebf696e6ee [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
22 spgwc: docker.io/omecproject/ngic-cp:1.0.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
232 # mmeAddr will be set automatically to mme pod IP if it's unset
233 #mmeAddr:
234 s11:
235 nodePort:
236 enabled: false
237 port: 32123
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800238 port: 2123
239 # ZMQ mode is used for cp-dp communication when multiple UPFs is set
240 # Otherwise, direct UDP mode is used
241 # Note that enabling NodePort is valid only in direct UDP mode
Hyunsun Moone9215722020-01-09 15:35:02 -0700242 multiUpfs: false
Hyunsun Moon16d70922019-08-25 04:57:25 -0500243 cpComm:
244 nodePort:
245 enabled: false
246 port: 30021
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800247 port: 21
248 # dpComm is required only when direct UDP mode is used
249 # When you deploy CP and DP to separate clusters in direct UDP mode, enable nodePort
250 # from both cpComm(omec-control-plane) and dpComm(omec-data-plane) and
251 # set "addr" to remote cluster's entry node IP and
252 # "port" to dpComm.nodePort.port value configured in omec-data-plane.
Hyunsun Moon16d70922019-08-25 04:57:25 -0500253 dpComm:
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800254 addr: spgwu
Hyunsun Moon7a007bb2019-08-19 16:41:36 -0600255 port: 20
Hyunsun Moon16d70922019-08-25 04:57:25 -0500256 cfgFiles:
257 # See https://github.com/omec-project/ngic-rtc/tree/master/config for details
Woojoong Kim4866d752019-12-17 16:32:23 -0800258 app_config.cfg: |
259 [GLOBAL]
260 NUM_DP_SELECTION_RULES = 2
261 [DP_SELECTION_RULE_1]
262 DPID = 1
263 DPNAME = dp1
264 MCC = 315
265 MNC = 010
266 TAC = 202
267 [DP_SELECTION_RULE_2]
268 DPID = 2
269 DPNAME = dp2
270 MCC = 315
271 MNC = 010
272 TAC = 203
Hyunsun Moon16d70922019-08-25 04:57:25 -0500273 adc_rules.cfg: |
274 [GLOBAL]
275 NUM_ADC_RULES = 0
276 meter_profile.cfg: |
277 [GLOBAL]
Hyunsun Moon946b5ae2019-08-29 12:52:55 -0500278 NUM_OF_IDX = 0
Hyunsun Moon16d70922019-08-25 04:57:25 -0500279 pcc_rules.cfg: |
280 [GLOBAL]
281 NUM_PCC_FILTERS = 1
282 UL_AMBR_MTR_PROFILE_IDX = 1
283 DL_AMBR_MTR_PROFILE_IDX = 2
284
285 [PCC_FILTER_1]
286 RULE_NAME = DefaultRule
287 RATING_GROUP = 9
288 SERVICE_ID = 0
289 RULE_STATUS = 0
290 GATE_STATUS = 1
291 SESSION_CONT = 0
292 REPORT_LEVEL = 1
293 CHARGING_MODE = 0
294 METERING_METHOD = 0
295 MUTE_NOTIFY = 0
296 MONITORING_KEY = 0
297 SPONSOR_ID = 0
298 REDIRECT_INFO = 0
299 PRECEDENCE = 254
300 DROP_PKT_COUNT = 0
301 UL_MBR_MTR_PROFILE_IDX = 3
302 DL_MBR_MTR_PROFILE_IDX = 3
303 SDF_FILTER_IDX = 99998
304 sdf_rules.cfg: |
305 [GLOBAL]
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800306 NUM_SDF_FILTERS = 1
307
308 [SDF_FILTER_1]
309 DIRECTION = downlink_only
310 IPV4_REMOTE = 13.2.1.113
311 IPV4_REMOTE_MASK = 255.255.255.0
312 PROTOCOL = 17
313 LOCAL_LOW_LIMIT_PORT = 0
314 LOCAL_HIGH_LIMIT_PORT = 65535
315 REMOTE_LOW_LIMIT_PORT = 0
316 REMOTE_HIGH_LIMIT_PORT = 65535