Wei-Yu Chen | 0f12b9c | 2019-04-18 11:12:59 -0700 | [diff] [blame] | 1 | # 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 Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 16 | images: |
| 17 | tags: |
Hyunsun Moon | 8ee7f48 | 2019-08-29 13:57:27 -0500 | [diff] [blame] | 18 | 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 |
Woojoong Kim | f6ba870 | 2020-01-24 12:49:05 -0800 | [diff] [blame] | 22 | mmeExporter: docker.io/omecproject/mme-exporter:0.1.0 |
Ajay Lotan Thakur | 33c4ff9 | 2020-01-16 15:15:25 -0800 | [diff] [blame] | 23 | spgwc: docker.io/omecproject/ngic-cp:1.1.0 |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 24 | depCheck: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1 |
| 25 | pullPolicy: IfNotPresent |
Wei-Yu Chen | 0f12b9c | 2019-04-18 11:12:59 -0700 | [diff] [blame] | 26 | |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 27 | nodeSelectors: |
| 28 | enabled: false |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 29 | hss: |
| 30 | label: omec-cp |
| 31 | value: enabled |
| 32 | mme: |
| 33 | label: omec-cp |
| 34 | value: enabled |
| 35 | spgwc: |
| 36 | label: omec-cp |
| 37 | value: enabled |
Wei-Yu Chen | 0f12b9c | 2019-04-18 11:12:59 -0700 | [diff] [blame] | 38 | |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 39 | resources: |
| 40 | enabled: true |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 41 | hss: |
| 42 | requests: |
| 43 | cpu: 2 |
| 44 | memory: 1Gi |
| 45 | limits: |
| 46 | cpu: 2 |
| 47 | memory: 1Gi |
| 48 | mme: |
| 49 | # Note that MME pod is composed of 4 containers |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 50 | # Provide resources for a container, not a pod total |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 51 | requests: |
| 52 | cpu: 0.5 |
| 53 | memory: 1Gi |
| 54 | limits: |
| 55 | cpu: 0.5 |
| 56 | memory: 1Gi |
| 57 | spgwc: |
| 58 | requests: |
| 59 | cpu: 2 |
| 60 | memory: 5Gi |
| 61 | limits: |
| 62 | cpu: 2 |
| 63 | memory: 5Gi |
Wei-Yu Chen | 0f12b9c | 2019-04-18 11:12:59 -0700 | [diff] [blame] | 64 | |
Hyunsun Moon | d8804b3 | 2019-08-18 00:31:43 -0600 | [diff] [blame] | 65 | cassandra: |
| 66 | deploy: true |
| 67 | fullnameOverride: cassandra |
| 68 | image: |
| 69 | tag: 2.1.20 |
| 70 | #selector: |
| 71 | # nodeSelector: |
| 72 | # cassandra: enabled |
| 73 | persistence: |
| 74 | enabled: false |
| 75 | config: |
| 76 | #cluster_size: 1 |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 77 | #seed_size: 1 |
Hyunsun Moon | d8804b3 | 2019-08-18 00:31:43 -0600 | [diff] [blame] | 78 | endpoint_snitch: GossipingPropertyFileSnitch |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 79 | readinessProbe: |
| 80 | initialDelaySeconds: 10 |
Hyunsun Moon | d8804b3 | 2019-08-18 00:31:43 -0600 | [diff] [blame] | 81 | resources: {} |
| 82 | #requests: |
| 83 | # memory: 4Gi |
| 84 | # cpu: 2 |
| 85 | #limits: |
| 86 | # memory: 4Gi |
| 87 | # cpu: 2 |
| 88 | |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 89 | config: |
Hyunsun Moon | e03ddf4 | 2019-12-01 19:28:53 -0800 | [diff] [blame] | 90 | clusterDomain: cluster.local |
Hyunsun Moon | ec0b44d | 2020-01-10 15:50:53 -0700 | [diff] [blame] | 91 | coreDump: |
| 92 | enabled: false |
| 93 | path: /tmp/coredump |
Hyunsun Moon | ed24cac | 2019-08-26 20:52:20 -0500 | [diff] [blame] | 94 | hss: |
| 95 | hssdb: cassandra |
| 96 | s6a: |
| 97 | nodePort: |
| 98 | enabled: false |
| 99 | port: 33868 |
| 100 | # Provide the peer whitelist extension |
| 101 | # The peer name must be a fqdn. We allow also a special "*" character as the |
| 102 | # first label of the fqdn, to allow all fqdn with the same domain name. |
| 103 | # Example: *.example.net will allow host1.example.net and host2.example.net |
| 104 | acl: |
| 105 | oldTls: "*.cluster.local" |
| 106 | #ipSec: |
| 107 | bootstrap: |
| 108 | enabled: true |
| 109 | users: |
Hyunsun Moon | b7f9b4f | 2019-08-30 16:48:37 -0500 | [diff] [blame] | 110 | - imsi: "208014567891200" |
| 111 | msisdn: "1122334455" |
| 112 | apn: apn1 |
| 113 | key: "465b5ce8b199b49faa5f0a2ee238a6bc" |
| 114 | opc: "d4416644f6154936193433dd20a0ace0" |
Hyunsun Moon | 9257ef8 | 2019-10-16 15:26:30 -0700 | [diff] [blame] | 115 | sqn: 96 |
Hyunsun Moon | b7f9b4f | 2019-08-30 16:48:37 -0500 | [diff] [blame] | 116 | - imsi: "208014567891201" |
| 117 | msisdn: "1122334455" |
| 118 | apn: apn1 |
| 119 | key: "465b5ce8b199b49faa5f0a2ee238a6bc" |
| 120 | opc: "d4416644f6154936193433dd20a0ace0" |
Hyunsun Moon | 9257ef8 | 2019-10-16 15:26:30 -0700 | [diff] [blame] | 121 | sqn: 96 |
Hyunsun Moon | b7f9b4f | 2019-08-30 16:48:37 -0500 | [diff] [blame] | 122 | mmes: |
| 123 | - id: 1 |
| 124 | isdn: "19136246000" |
| 125 | unreachability: 1 |
Hyunsun Moon | ed24cac | 2019-08-26 20:52:20 -0500 | [diff] [blame] | 126 | # See https://github.com/omec-project/c3po for details of config options |
| 127 | cfgFiles: |
| 128 | hss.json: |
| 129 | common: |
| 130 | fdcfg: conf/hss.conf |
| 131 | # Origin host and realm will be set automatically if unset |
| 132 | #originhost: "" |
| 133 | #originrealm: "" |
| 134 | hss: |
| 135 | gtwhost: "*" |
| 136 | gtwport: 9080 |
| 137 | restport: 9081 |
| 138 | ossport: 9082 |
| 139 | # casssrv will be set to cassandra in the same cluster if unset |
| 140 | #casssrv: "" |
| 141 | cassusr: root |
| 142 | casspwd: root |
| 143 | cassdb: vhss |
| 144 | casscoreconnections: 2 |
| 145 | cassmaxconnections: 8 |
| 146 | cassioqueuesize: 32768 |
| 147 | cassiothreads: 2 |
| 148 | randv: true |
| 149 | optkey: "63bfa50ee6523365ff14c1f45f88737d" |
| 150 | reloadkey: false |
| 151 | logsize: 20 |
| 152 | lognumber: 5 |
| 153 | logname: logs/hss.log |
| 154 | logqsize: 8192 |
| 155 | statlogsize: 20 |
| 156 | statlognumber: 5 |
| 157 | statlogname: logs/hss_stat.log |
| 158 | auditlogsize: 20 |
| 159 | auditlognumber: 5 |
| 160 | auditlogname: logs/hss_audit.log |
| 161 | statfreq: 2000 |
| 162 | numworkers: 4 |
| 163 | concurrent: 10 |
| 164 | ossfile: conf/oss.json |
| 165 | oss.json: |
| 166 | option: |
| 167 | id: url |
| 168 | type: string |
| 169 | services: |
| 170 | - id: logger |
| 171 | commands: |
| 172 | - id: describe_loggers |
| 173 | - id: set_logger_level |
| 174 | options: |
| 175 | - id: name |
| 176 | type: string |
| 177 | - id: level |
| 178 | type: integer |
| 179 | - id: stats |
| 180 | commands: |
| 181 | - id: describe_stats_frequency |
| 182 | - id: describe_stats_live |
| 183 | - id: set_stats_frequency |
| 184 | options: |
| 185 | - id: frequency |
| 186 | type: integer |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 187 | mme: |
Hyunsun Moon | 834c28f | 2019-12-05 18:26:22 -0800 | [diff] [blame] | 188 | spgwAddr: spgwc |
Hyunsun Moon | 636e17d | 2019-07-03 12:52:15 -0500 | [diff] [blame] | 189 | s11: |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 190 | nodePort: |
| 191 | enabled: false |
| 192 | port: 32124 |
Hyunsun Moon | ed24cac | 2019-08-26 20:52:20 -0500 | [diff] [blame] | 193 | s6a: |
| 194 | nodePort: |
| 195 | enabled: false |
| 196 | port: 33869 |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 197 | # See https://github.com/omec-project/openmme/blob/master/README.txt for more config options |
Hyunsun Moon | ed24cac | 2019-08-26 20:52:20 -0500 | [diff] [blame] | 198 | cfgFiles: |
| 199 | config.json: |
| 200 | mme: |
| 201 | name: vmmestandalone |
| 202 | group_id: 1 |
| 203 | code: 1 |
Ajay Lotan Thakur | ff2cad6 | 2019-12-01 04:41:58 -0800 | [diff] [blame] | 204 | logging: error |
Hyunsun Moon | ed24cac | 2019-08-26 20:52:20 -0500 | [diff] [blame] | 205 | mcc: |
| 206 | dig1: 2 |
| 207 | dig2: 0 |
| 208 | dig3: 8 |
| 209 | mnc: |
| 210 | dig1: 0 |
| 211 | dig2: 1 |
| 212 | dig3: -1 |
| 213 | s1ap: |
| 214 | sctp_port: 36412 |
| 215 | sctp_port_external: 36412 |
| 216 | s11: |
| 217 | egtp_default_port: 2123 |
| 218 | # sgw_addr and pgw_addr will be set dynamically if unset |
| 219 | #sgw_addr: |
| 220 | #pgw_addr: |
| 221 | s6a: |
| 222 | host_type: freediameter |
| 223 | # host and realm will be set dynamically if unset |
| 224 | #host: |
| 225 | #realm: |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 226 | spgwc: |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 227 | apn: apn1 |
| 228 | ueIpPool: |
Hyunsun Moon | 9d067b5 | 2020-01-30 15:42:22 -0800 | [diff] [blame] | 229 | ip: 10.250.0.0 |
| 230 | mask: 255.255.0.0 |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 231 | # This address must match to S1U IP address configured in omec-data-plane |
Hyunsun Moon | 9d067b5 | 2020-01-30 15:42:22 -0800 | [diff] [blame] | 232 | s1uAddr: 192.168.251.3 |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 233 | s11: |
| 234 | nodePort: |
| 235 | enabled: false |
| 236 | port: 32123 |
Hyunsun Moon | 834c28f | 2019-12-05 18:26:22 -0800 | [diff] [blame] | 237 | port: 2123 |
| 238 | # ZMQ mode is used for cp-dp communication when multiple UPFs is set |
| 239 | # Otherwise, direct UDP mode is used |
| 240 | # Note that enabling NodePort is valid only in direct UDP mode |
Hyunsun Moon | e921572 | 2020-01-09 15:35:02 -0700 | [diff] [blame] | 241 | multiUpfs: false |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 242 | cpComm: |
| 243 | nodePort: |
| 244 | enabled: false |
| 245 | port: 30021 |
Hyunsun Moon | 834c28f | 2019-12-05 18:26:22 -0800 | [diff] [blame] | 246 | port: 21 |
| 247 | # dpComm is required only when direct UDP mode is used |
| 248 | # When you deploy CP and DP to separate clusters in direct UDP mode, enable nodePort |
| 249 | # from both cpComm(omec-control-plane) and dpComm(omec-data-plane) and |
| 250 | # set "addr" to remote cluster's entry node IP and |
| 251 | # "port" to dpComm.nodePort.port value configured in omec-data-plane. |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 252 | dpComm: |
Hyunsun Moon | 834c28f | 2019-12-05 18:26:22 -0800 | [diff] [blame] | 253 | addr: spgwu |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 254 | port: 20 |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 255 | cfgFiles: |
| 256 | # See https://github.com/omec-project/ngic-rtc/tree/master/config for details |
Woojoong Kim | 4866d75 | 2019-12-17 16:32:23 -0800 | [diff] [blame] | 257 | app_config.cfg: | |
| 258 | [GLOBAL] |
| 259 | NUM_DP_SELECTION_RULES = 2 |
| 260 | [DP_SELECTION_RULE_1] |
| 261 | DPID = 1 |
| 262 | DPNAME = dp1 |
| 263 | MCC = 315 |
| 264 | MNC = 010 |
| 265 | TAC = 202 |
| 266 | [DP_SELECTION_RULE_2] |
| 267 | DPID = 2 |
| 268 | DPNAME = dp2 |
| 269 | MCC = 315 |
| 270 | MNC = 010 |
| 271 | TAC = 203 |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 272 | adc_rules.cfg: | |
| 273 | [GLOBAL] |
| 274 | NUM_ADC_RULES = 0 |
| 275 | meter_profile.cfg: | |
| 276 | [GLOBAL] |
Hyunsun Moon | 946b5ae | 2019-08-29 12:52:55 -0500 | [diff] [blame] | 277 | NUM_OF_IDX = 0 |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 278 | pcc_rules.cfg: | |
| 279 | [GLOBAL] |
| 280 | NUM_PCC_FILTERS = 1 |
| 281 | UL_AMBR_MTR_PROFILE_IDX = 1 |
| 282 | DL_AMBR_MTR_PROFILE_IDX = 2 |
| 283 | |
| 284 | [PCC_FILTER_1] |
| 285 | RULE_NAME = DefaultRule |
| 286 | RATING_GROUP = 9 |
| 287 | SERVICE_ID = 0 |
| 288 | RULE_STATUS = 0 |
| 289 | GATE_STATUS = 1 |
| 290 | SESSION_CONT = 0 |
| 291 | REPORT_LEVEL = 1 |
| 292 | CHARGING_MODE = 0 |
| 293 | METERING_METHOD = 0 |
| 294 | MUTE_NOTIFY = 0 |
| 295 | MONITORING_KEY = 0 |
| 296 | SPONSOR_ID = 0 |
| 297 | REDIRECT_INFO = 0 |
| 298 | PRECEDENCE = 254 |
| 299 | DROP_PKT_COUNT = 0 |
| 300 | UL_MBR_MTR_PROFILE_IDX = 3 |
| 301 | DL_MBR_MTR_PROFILE_IDX = 3 |
| 302 | SDF_FILTER_IDX = 99998 |
| 303 | sdf_rules.cfg: | |
| 304 | [GLOBAL] |
Hyunsun Moon | 834c28f | 2019-12-05 18:26:22 -0800 | [diff] [blame] | 305 | NUM_SDF_FILTERS = 1 |
| 306 | |
| 307 | [SDF_FILTER_1] |
| 308 | DIRECTION = downlink_only |
| 309 | IPV4_REMOTE = 13.2.1.113 |
| 310 | IPV4_REMOTE_MASK = 255.255.255.0 |
| 311 | PROTOCOL = 17 |
| 312 | LOCAL_LOW_LIMIT_PORT = 0 |
| 313 | LOCAL_HIGH_LIMIT_PORT = 65535 |
| 314 | REMOTE_LOW_LIMIT_PORT = 0 |
| 315 | REMOTE_HIGH_LIMIT_PORT = 65535 |
Woojoong Kim | f6ba870 | 2020-01-24 12:49:05 -0800 | [diff] [blame] | 316 | |
| 317 | prometheusExporter: |
| 318 | mme: |
| 319 | enabled: true # if it is set to false, subscriber-monitoring will not be operational |
| 320 | port: 33081 # for NodePort |