blob: 7f6da5d3dc45ae19c17f532a0612442346f80f7e [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 Mooned24cac2019-08-26 20:52:20 -050089 hss:
90 hssdb: cassandra
91 s6a:
92 nodePort:
93 enabled: false
94 port: 33868
95 # Provide the peer whitelist extension
96 # The peer name must be a fqdn. We allow also a special "*" character as the
97 # first label of the fqdn, to allow all fqdn with the same domain name.
98 # Example: *.example.net will allow host1.example.net and host2.example.net
99 acl:
100 oldTls: "*.cluster.local"
101 #ipSec:
102 bootstrap:
103 enabled: true
104 users:
Hyunsun Moonb7f9b4f2019-08-30 16:48:37 -0500105 - imsi: "208014567891200"
106 msisdn: "1122334455"
107 apn: apn1
108 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
109 opc: "d4416644f6154936193433dd20a0ace0"
Hyunsun Moon9257ef82019-10-16 15:26:30 -0700110 sqn: 96
Hyunsun Moonb7f9b4f2019-08-30 16:48:37 -0500111 - imsi: "208014567891201"
112 msisdn: "1122334455"
113 apn: apn1
114 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
115 opc: "d4416644f6154936193433dd20a0ace0"
Hyunsun Moon9257ef82019-10-16 15:26:30 -0700116 sqn: 96
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 Moon16d70922019-08-25 04:57:25 -0500183 spgwAddr: spgwc-s11
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
199 mcc:
200 dig1: 2
201 dig2: 0
202 dig3: 8
203 mnc:
204 dig1: 0
205 dig2: 1
206 dig3: -1
207 s1ap:
208 sctp_port: 36412
209 sctp_port_external: 36412
210 s11:
211 egtp_default_port: 2123
212 # sgw_addr and pgw_addr will be set dynamically if unset
213 #sgw_addr:
214 #pgw_addr:
215 s6a:
216 host_type: freediameter
217 # host and realm will be set dynamically if unset
218 #host:
219 #realm:
Hyunsun Moon7a007bb2019-08-19 16:41:36 -0600220 spgwc:
Hyunsun Moon16d70922019-08-25 04:57:25 -0500221 apn: apn1
222 ueIpPool:
223 ip: 16.0.0.0
224 mask: 255.0.0.0
225 # This address must match to S1U IP address configured in omec-data-plane
226 s1uAddr: 119.0.0.3
227 # mmeAddr will be set automatically to mme pod IP if it's unset
228 #mmeAddr:
229 s11:
230 nodePort:
231 enabled: false
232 port: 32123
233 cpComm:
234 nodePort:
235 enabled: false
236 port: 30021
237 dpComm:
238 # IMPORTANT: when you deploy CP and DP to separate clusters, enable nodePort
239 # from both cpComm(omec-control-plane) and dpComm(omec-data-plane) and
240 # set "addr" to remote cluster's entry node IP and
241 # "port" to dpComm.nodePort.port value configured in omec-data-plane.
Hyunsun Moonc4a7d542019-08-22 18:53:40 -0500242 addr: spgwu-dp-comm
Hyunsun Moon7a007bb2019-08-19 16:41:36 -0600243 port: 20
Hyunsun Moon16d70922019-08-25 04:57:25 -0500244 cfgFiles:
245 # See https://github.com/omec-project/ngic-rtc/tree/master/config for details
246 adc_rules.cfg: |
247 [GLOBAL]
248 NUM_ADC_RULES = 0
249 meter_profile.cfg: |
250 [GLOBAL]
Hyunsun Moon946b5ae2019-08-29 12:52:55 -0500251 NUM_OF_IDX = 0
Hyunsun Moon16d70922019-08-25 04:57:25 -0500252 pcc_rules.cfg: |
253 [GLOBAL]
254 NUM_PCC_FILTERS = 1
255 UL_AMBR_MTR_PROFILE_IDX = 1
256 DL_AMBR_MTR_PROFILE_IDX = 2
257
258 [PCC_FILTER_1]
259 RULE_NAME = DefaultRule
260 RATING_GROUP = 9
261 SERVICE_ID = 0
262 RULE_STATUS = 0
263 GATE_STATUS = 1
264 SESSION_CONT = 0
265 REPORT_LEVEL = 1
266 CHARGING_MODE = 0
267 METERING_METHOD = 0
268 MUTE_NOTIFY = 0
269 MONITORING_KEY = 0
270 SPONSOR_ID = 0
271 REDIRECT_INFO = 0
272 PRECEDENCE = 254
273 DROP_PKT_COUNT = 0
274 UL_MBR_MTR_PROFILE_IDX = 3
275 DL_MBR_MTR_PROFILE_IDX = 3
276 SDF_FILTER_IDX = 99998
277 sdf_rules.cfg: |
278 [GLOBAL]
279 NUM_SDF_FILTERS = 0