blob: 2d034ba35a52232f8f6e27bdf152b9b835485889 [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 Moonb7f9b4f2019-08-30 16:48:37 -0500110 - imsi: "208014567891201"
111 msisdn: "1122334455"
112 apn: apn1
113 key: "465b5ce8b199b49faa5f0a2ee238a6bc"
114 opc: "d4416644f6154936193433dd20a0ace0"
Hyunsun Moonb7f9b4f2019-08-30 16:48:37 -0500115 mmes:
116 - id: 1
117 isdn: "19136246000"
118 unreachability: 1
Hyunsun Mooned24cac2019-08-26 20:52:20 -0500119 # See https://github.com/omec-project/c3po for details of config options
120 cfgFiles:
121 hss.json:
122 common:
123 fdcfg: conf/hss.conf
124 # Origin host and realm will be set automatically if unset
125 #originhost: ""
126 #originrealm: ""
127 hss:
128 gtwhost: "*"
129 gtwport: 9080
130 restport: 9081
131 ossport: 9082
132 # casssrv will be set to cassandra in the same cluster if unset
133 #casssrv: ""
134 cassusr: root
135 casspwd: root
136 cassdb: vhss
137 casscoreconnections: 2
138 cassmaxconnections: 8
139 cassioqueuesize: 32768
140 cassiothreads: 2
141 randv: true
142 optkey: "63bfa50ee6523365ff14c1f45f88737d"
143 reloadkey: false
144 logsize: 20
145 lognumber: 5
146 logname: logs/hss.log
147 logqsize: 8192
148 statlogsize: 20
149 statlognumber: 5
150 statlogname: logs/hss_stat.log
151 auditlogsize: 20
152 auditlognumber: 5
153 auditlogname: logs/hss_audit.log
154 statfreq: 2000
155 numworkers: 4
156 concurrent: 10
157 ossfile: conf/oss.json
158 oss.json:
159 option:
160 id: url
161 type: string
162 services:
163 - id: logger
164 commands:
165 - id: describe_loggers
166 - id: set_logger_level
167 options:
168 - id: name
169 type: string
170 - id: level
171 type: integer
172 - id: stats
173 commands:
174 - id: describe_stats_frequency
175 - id: describe_stats_live
176 - id: set_stats_frequency
177 options:
178 - id: frequency
179 type: integer
Hyunsun Moon06f98552019-08-15 13:44:47 -0600180 mme:
Hyunsun Moon16d70922019-08-25 04:57:25 -0500181 spgwAddr: spgwc-s11
Hyunsun Moon636e17d2019-07-03 12:52:15 -0500182 s11:
Hyunsun Moon16d70922019-08-25 04:57:25 -0500183 nodePort:
184 enabled: false
185 port: 32124
Hyunsun Mooned24cac2019-08-26 20:52:20 -0500186 s6a:
187 nodePort:
188 enabled: false
189 port: 33869
Hyunsun Moon16d70922019-08-25 04:57:25 -0500190 # See https://github.com/omec-project/openmme/blob/master/README.txt for more config options
Hyunsun Mooned24cac2019-08-26 20:52:20 -0500191 cfgFiles:
192 config.json:
193 mme:
194 name: vmmestandalone
195 group_id: 1
196 code: 1
197 mcc:
198 dig1: 2
199 dig2: 0
200 dig3: 8
201 mnc:
202 dig1: 0
203 dig2: 1
204 dig3: -1
205 s1ap:
206 sctp_port: 36412
207 sctp_port_external: 36412
208 s11:
209 egtp_default_port: 2123
210 # sgw_addr and pgw_addr will be set dynamically if unset
211 #sgw_addr:
212 #pgw_addr:
213 s6a:
214 host_type: freediameter
215 # host and realm will be set dynamically if unset
216 #host:
217 #realm:
Hyunsun Moon7a007bb2019-08-19 16:41:36 -0600218 spgwc:
Hyunsun Moon16d70922019-08-25 04:57:25 -0500219 apn: apn1
220 ueIpPool:
221 ip: 16.0.0.0
222 mask: 255.0.0.0
223 # This address must match to S1U IP address configured in omec-data-plane
224 s1uAddr: 119.0.0.3
225 # mmeAddr will be set automatically to mme pod IP if it's unset
226 #mmeAddr:
227 s11:
228 nodePort:
229 enabled: false
230 port: 32123
231 cpComm:
232 nodePort:
233 enabled: false
234 port: 30021
235 dpComm:
236 # IMPORTANT: when you deploy CP and DP to separate clusters, enable nodePort
237 # from both cpComm(omec-control-plane) and dpComm(omec-data-plane) and
238 # set "addr" to remote cluster's entry node IP and
239 # "port" to dpComm.nodePort.port value configured in omec-data-plane.
Hyunsun Moonc4a7d542019-08-22 18:53:40 -0500240 addr: spgwu-dp-comm
Hyunsun Moon7a007bb2019-08-19 16:41:36 -0600241 port: 20
Hyunsun Moon16d70922019-08-25 04:57:25 -0500242 cfgFiles:
243 # See https://github.com/omec-project/ngic-rtc/tree/master/config for details
244 adc_rules.cfg: |
245 [GLOBAL]
246 NUM_ADC_RULES = 0
247 meter_profile.cfg: |
248 [GLOBAL]
Hyunsun Moon946b5ae2019-08-29 12:52:55 -0500249 NUM_OF_IDX = 0
Hyunsun Moon16d70922019-08-25 04:57:25 -0500250 pcc_rules.cfg: |
251 [GLOBAL]
252 NUM_PCC_FILTERS = 1
253 UL_AMBR_MTR_PROFILE_IDX = 1
254 DL_AMBR_MTR_PROFILE_IDX = 2
255
256 [PCC_FILTER_1]
257 RULE_NAME = DefaultRule
258 RATING_GROUP = 9
259 SERVICE_ID = 0
260 RULE_STATUS = 0
261 GATE_STATUS = 1
262 SESSION_CONT = 0
263 REPORT_LEVEL = 1
264 CHARGING_MODE = 0
265 METERING_METHOD = 0
266 MUTE_NOTIFY = 0
267 MONITORING_KEY = 0
268 SPONSOR_ID = 0
269 REDIRECT_INFO = 0
270 PRECEDENCE = 254
271 DROP_PKT_COUNT = 0
272 UL_MBR_MTR_PROFILE_IDX = 3
273 DL_MBR_MTR_PROFILE_IDX = 3
274 SDF_FILTER_IDX = 99998
275 sdf_rules.cfg: |
276 [GLOBAL]
277 NUM_SDF_FILTERS = 0