blob: f94085a10757867f5da193678b877909e3b84173 [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 Mooned24cac2019-08-26 20:52:20 -050090 hss:
91 hssdb: cassandra
92 s6a:
93 nodePort:
94 enabled: false
95 port: 33868
96 # Provide the peer whitelist extension
97 # The peer name must be a fqdn. We allow also a special "*" character as the
98 # first label of the fqdn, to allow all fqdn with the same domain name.
99 # Example: *.example.net will allow host1.example.net and host2.example.net
100 acl:
101 oldTls: "*.cluster.local"
102 #ipSec:
103 bootstrap:
104 enabled: true
105 users:
Hyunsun Moonb7f9b4f2019-08-30 16:48:37 -0500106 - imsi: "208014567891200"
107 msisdn: "1122334455"
108 apn: apn1
109 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
110 opc: "d4416644f6154936193433dd20a0ace0"
Hyunsun Moon9257ef82019-10-16 15:26:30 -0700111 sqn: 96
Hyunsun Moonb7f9b4f2019-08-30 16:48:37 -0500112 - imsi: "208014567891201"
113 msisdn: "1122334455"
114 apn: apn1
115 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
116 opc: "d4416644f6154936193433dd20a0ace0"
Hyunsun Moon9257ef82019-10-16 15:26:30 -0700117 sqn: 96
Hyunsun Moonb7f9b4f2019-08-30 16:48:37 -0500118 mmes:
119 - id: 1
120 isdn: "19136246000"
121 unreachability: 1
Hyunsun Mooned24cac2019-08-26 20:52:20 -0500122 # See https://github.com/omec-project/c3po for details of config options
123 cfgFiles:
124 hss.json:
125 common:
126 fdcfg: conf/hss.conf
127 # Origin host and realm will be set automatically if unset
128 #originhost: ""
129 #originrealm: ""
130 hss:
131 gtwhost: "*"
132 gtwport: 9080
133 restport: 9081
134 ossport: 9082
135 # casssrv will be set to cassandra in the same cluster if unset
136 #casssrv: ""
137 cassusr: root
138 casspwd: root
139 cassdb: vhss
140 casscoreconnections: 2
141 cassmaxconnections: 8
142 cassioqueuesize: 32768
143 cassiothreads: 2
144 randv: true
145 optkey: "63bfa50ee6523365ff14c1f45f88737d"
146 reloadkey: false
147 logsize: 20
148 lognumber: 5
149 logname: logs/hss.log
150 logqsize: 8192
151 statlogsize: 20
152 statlognumber: 5
153 statlogname: logs/hss_stat.log
154 auditlogsize: 20
155 auditlognumber: 5
156 auditlogname: logs/hss_audit.log
157 statfreq: 2000
158 numworkers: 4
159 concurrent: 10
160 ossfile: conf/oss.json
161 oss.json:
162 option:
163 id: url
164 type: string
165 services:
166 - id: logger
167 commands:
168 - id: describe_loggers
169 - id: set_logger_level
170 options:
171 - id: name
172 type: string
173 - id: level
174 type: integer
175 - id: stats
176 commands:
177 - id: describe_stats_frequency
178 - id: describe_stats_live
179 - id: set_stats_frequency
180 options:
181 - id: frequency
182 type: integer
Hyunsun Moon06f98552019-08-15 13:44:47 -0600183 mme:
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800184 spgwAddr: spgwc
Hyunsun Moon636e17d2019-07-03 12:52:15 -0500185 s11:
Hyunsun Moon16d70922019-08-25 04:57:25 -0500186 nodePort:
187 enabled: false
188 port: 32124
Hyunsun Mooned24cac2019-08-26 20:52:20 -0500189 s6a:
190 nodePort:
191 enabled: false
192 port: 33869
Hyunsun Moon16d70922019-08-25 04:57:25 -0500193 # See https://github.com/omec-project/openmme/blob/master/README.txt for more config options
Hyunsun Mooned24cac2019-08-26 20:52:20 -0500194 cfgFiles:
195 config.json:
196 mme:
197 name: vmmestandalone
198 group_id: 1
199 code: 1
Ajay Lotan Thakurff2cad62019-12-01 04:41:58 -0800200 logging: error
Hyunsun Mooned24cac2019-08-26 20:52:20 -0500201 mcc:
202 dig1: 2
203 dig2: 0
204 dig3: 8
205 mnc:
206 dig1: 0
207 dig2: 1
208 dig3: -1
209 s1ap:
210 sctp_port: 36412
211 sctp_port_external: 36412
212 s11:
213 egtp_default_port: 2123
214 # sgw_addr and pgw_addr will be set dynamically if unset
215 #sgw_addr:
216 #pgw_addr:
217 s6a:
218 host_type: freediameter
219 # host and realm will be set dynamically if unset
220 #host:
221 #realm:
Hyunsun Moon7a007bb2019-08-19 16:41:36 -0600222 spgwc:
Hyunsun Moon16d70922019-08-25 04:57:25 -0500223 apn: apn1
224 ueIpPool:
225 ip: 16.0.0.0
226 mask: 255.0.0.0
227 # This address must match to S1U IP address configured in omec-data-plane
228 s1uAddr: 119.0.0.3
229 # mmeAddr will be set automatically to mme pod IP if it's unset
230 #mmeAddr:
231 s11:
232 nodePort:
233 enabled: false
234 port: 32123
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800235 port: 2123
236 # ZMQ mode is used for cp-dp communication when multiple UPFs is set
237 # Otherwise, direct UDP mode is used
238 # Note that enabling NodePort is valid only in direct UDP mode
239 multiUpfs: true
Hyunsun Moon16d70922019-08-25 04:57:25 -0500240 cpComm:
241 nodePort:
242 enabled: false
243 port: 30021
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800244 port: 21
245 # dpComm is required only when direct UDP mode is used
246 # When you deploy CP and DP to separate clusters in direct UDP mode, enable nodePort
247 # from both cpComm(omec-control-plane) and dpComm(omec-data-plane) and
248 # set "addr" to remote cluster's entry node IP and
249 # "port" to dpComm.nodePort.port value configured in omec-data-plane.
Hyunsun Moon16d70922019-08-25 04:57:25 -0500250 dpComm:
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800251 addr: spgwu
Hyunsun Moon7a007bb2019-08-19 16:41:36 -0600252 port: 20
Hyunsun Moon16d70922019-08-25 04:57:25 -0500253 cfgFiles:
254 # See https://github.com/omec-project/ngic-rtc/tree/master/config for details
Woojoong Kim4866d752019-12-17 16:32:23 -0800255 app_config.cfg: |
256 [GLOBAL]
257 NUM_DP_SELECTION_RULES = 2
258 [DP_SELECTION_RULE_1]
259 DPID = 1
260 DPNAME = dp1
261 MCC = 315
262 MNC = 010
263 TAC = 202
264 [DP_SELECTION_RULE_2]
265 DPID = 2
266 DPNAME = dp2
267 MCC = 315
268 MNC = 010
269 TAC = 203
Hyunsun Moon16d70922019-08-25 04:57:25 -0500270 adc_rules.cfg: |
271 [GLOBAL]
272 NUM_ADC_RULES = 0
273 meter_profile.cfg: |
274 [GLOBAL]
Hyunsun Moon946b5ae2019-08-29 12:52:55 -0500275 NUM_OF_IDX = 0
Hyunsun Moon16d70922019-08-25 04:57:25 -0500276 pcc_rules.cfg: |
277 [GLOBAL]
278 NUM_PCC_FILTERS = 1
279 UL_AMBR_MTR_PROFILE_IDX = 1
280 DL_AMBR_MTR_PROFILE_IDX = 2
281
282 [PCC_FILTER_1]
283 RULE_NAME = DefaultRule
284 RATING_GROUP = 9
285 SERVICE_ID = 0
286 RULE_STATUS = 0
287 GATE_STATUS = 1
288 SESSION_CONT = 0
289 REPORT_LEVEL = 1
290 CHARGING_MODE = 0
291 METERING_METHOD = 0
292 MUTE_NOTIFY = 0
293 MONITORING_KEY = 0
294 SPONSOR_ID = 0
295 REDIRECT_INFO = 0
296 PRECEDENCE = 254
297 DROP_PKT_COUNT = 0
298 UL_MBR_MTR_PROFILE_IDX = 3
299 DL_MBR_MTR_PROFILE_IDX = 3
300 SDF_FILTER_IDX = 99998
301 sdf_rules.cfg: |
302 [GLOBAL]
Hyunsun Moon834c28f2019-12-05 18:26:22 -0800303 NUM_SDF_FILTERS = 1
304
305 [SDF_FILTER_1]
306 DIRECTION = downlink_only
307 IPV4_REMOTE = 13.2.1.113
308 IPV4_REMOTE_MASK = 255.255.255.0
309 PROTOCOL = 17
310 LOCAL_LOW_LIMIT_PORT = 0
311 LOCAL_HIGH_LIMIT_PORT = 65535
312 REMOTE_LOW_LIMIT_PORT = 0
313 REMOTE_HIGH_LIMIT_PORT = 65535