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 | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 18 | init: docker.io/omecproject/pod-init:0.1.0 |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 19 | hssdb: docker.io/omecproject/c3po-hssdb:0.1.0-dev |
| 20 | hss: docker.io/omecproject/c3po-hss:0.1.0-dev |
| 21 | mme: docker.io/omecproject/openmme:0.1.0-dev |
| 22 | spgwc: docker.io/omecproject/ngic-cp:0.1.0-dev |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 23 | depCheck: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1 |
| 24 | pullPolicy: IfNotPresent |
Wei-Yu Chen | 0f12b9c | 2019-04-18 11:12:59 -0700 | [diff] [blame] | 25 | |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 26 | nodeSelectors: |
| 27 | enabled: false |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 28 | 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 Chen | 0f12b9c | 2019-04-18 11:12:59 -0700 | [diff] [blame] | 37 | |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 38 | resources: |
| 39 | enabled: true |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 40 | 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 Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 49 | # Provide resources for a container, not a pod total |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 50 | 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 Chen | 0f12b9c | 2019-04-18 11:12:59 -0700 | [diff] [blame] | 63 | |
Hyunsun Moon | d8804b3 | 2019-08-18 00:31:43 -0600 | [diff] [blame] | 64 | cassandra: |
| 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 Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 76 | #seed_size: 1 |
Hyunsun Moon | d8804b3 | 2019-08-18 00:31:43 -0600 | [diff] [blame] | 77 | endpoint_snitch: GossipingPropertyFileSnitch |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 78 | readinessProbe: |
| 79 | initialDelaySeconds: 10 |
Hyunsun Moon | d8804b3 | 2019-08-18 00:31:43 -0600 | [diff] [blame] | 80 | resources: {} |
| 81 | #requests: |
| 82 | # memory: 4Gi |
| 83 | # cpu: 2 |
| 84 | #limits: |
| 85 | # memory: 4Gi |
| 86 | # cpu: 2 |
| 87 | |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 88 | config: |
Hyunsun Moon | ed24cac | 2019-08-26 20:52:20 -0500 | [diff] [blame] | 89 | 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: |
| 105 | imsi: "208014567891200" |
| 106 | msisdn: "1122334455" |
| 107 | apn: apn1 |
| 108 | key: "465b5ce8b199b49faa5f0a2ee238a6bc" |
| 109 | opc: "d4416644f6154936193433dd20a0ace0" |
| 110 | numbers: 2 |
| 111 | mme: |
| 112 | id: 1 |
| 113 | isdn: "19136246000" |
| 114 | unreachability: 1 |
| 115 | # See https://github.com/omec-project/c3po for details of config options |
| 116 | cfgFiles: |
| 117 | hss.json: |
| 118 | common: |
| 119 | fdcfg: conf/hss.conf |
| 120 | # Origin host and realm will be set automatically if unset |
| 121 | #originhost: "" |
| 122 | #originrealm: "" |
| 123 | hss: |
| 124 | gtwhost: "*" |
| 125 | gtwport: 9080 |
| 126 | restport: 9081 |
| 127 | ossport: 9082 |
| 128 | # casssrv will be set to cassandra in the same cluster if unset |
| 129 | #casssrv: "" |
| 130 | cassusr: root |
| 131 | casspwd: root |
| 132 | cassdb: vhss |
| 133 | casscoreconnections: 2 |
| 134 | cassmaxconnections: 8 |
| 135 | cassioqueuesize: 32768 |
| 136 | cassiothreads: 2 |
| 137 | randv: true |
| 138 | optkey: "63bfa50ee6523365ff14c1f45f88737d" |
| 139 | reloadkey: false |
| 140 | logsize: 20 |
| 141 | lognumber: 5 |
| 142 | logname: logs/hss.log |
| 143 | logqsize: 8192 |
| 144 | statlogsize: 20 |
| 145 | statlognumber: 5 |
| 146 | statlogname: logs/hss_stat.log |
| 147 | auditlogsize: 20 |
| 148 | auditlognumber: 5 |
| 149 | auditlogname: logs/hss_audit.log |
| 150 | statfreq: 2000 |
| 151 | numworkers: 4 |
| 152 | concurrent: 10 |
| 153 | ossfile: conf/oss.json |
| 154 | oss.json: |
| 155 | option: |
| 156 | id: url |
| 157 | type: string |
| 158 | services: |
| 159 | - id: logger |
| 160 | commands: |
| 161 | - id: describe_loggers |
| 162 | - id: set_logger_level |
| 163 | options: |
| 164 | - id: name |
| 165 | type: string |
| 166 | - id: level |
| 167 | type: integer |
| 168 | - id: stats |
| 169 | commands: |
| 170 | - id: describe_stats_frequency |
| 171 | - id: describe_stats_live |
| 172 | - id: set_stats_frequency |
| 173 | options: |
| 174 | - id: frequency |
| 175 | type: integer |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 176 | mme: |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 177 | spgwAddr: spgwc-s11 |
Hyunsun Moon | 636e17d | 2019-07-03 12:52:15 -0500 | [diff] [blame] | 178 | s11: |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 179 | nodePort: |
| 180 | enabled: false |
| 181 | port: 32124 |
Hyunsun Moon | ed24cac | 2019-08-26 20:52:20 -0500 | [diff] [blame] | 182 | s6a: |
| 183 | nodePort: |
| 184 | enabled: false |
| 185 | port: 33869 |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 186 | # 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] | 187 | cfgFiles: |
| 188 | config.json: |
| 189 | mme: |
| 190 | name: vmmestandalone |
| 191 | group_id: 1 |
| 192 | code: 1 |
| 193 | mcc: |
| 194 | dig1: 2 |
| 195 | dig2: 0 |
| 196 | dig3: 8 |
| 197 | mnc: |
| 198 | dig1: 0 |
| 199 | dig2: 1 |
| 200 | dig3: -1 |
| 201 | s1ap: |
| 202 | sctp_port: 36412 |
| 203 | sctp_port_external: 36412 |
| 204 | s11: |
| 205 | egtp_default_port: 2123 |
| 206 | # sgw_addr and pgw_addr will be set dynamically if unset |
| 207 | #sgw_addr: |
| 208 | #pgw_addr: |
| 209 | s6a: |
| 210 | host_type: freediameter |
| 211 | # host and realm will be set dynamically if unset |
| 212 | #host: |
| 213 | #realm: |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 214 | spgwc: |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 215 | apn: apn1 |
| 216 | ueIpPool: |
| 217 | ip: 16.0.0.0 |
| 218 | mask: 255.0.0.0 |
| 219 | # This address must match to S1U IP address configured in omec-data-plane |
| 220 | s1uAddr: 119.0.0.3 |
| 221 | # mmeAddr will be set automatically to mme pod IP if it's unset |
| 222 | #mmeAddr: |
| 223 | s11: |
| 224 | nodePort: |
| 225 | enabled: false |
| 226 | port: 32123 |
| 227 | cpComm: |
| 228 | nodePort: |
| 229 | enabled: false |
| 230 | port: 30021 |
| 231 | dpComm: |
| 232 | # IMPORTANT: when you deploy CP and DP to separate clusters, enable nodePort |
| 233 | # from both cpComm(omec-control-plane) and dpComm(omec-data-plane) and |
| 234 | # set "addr" to remote cluster's entry node IP and |
| 235 | # "port" to dpComm.nodePort.port value configured in omec-data-plane. |
Hyunsun Moon | c4a7d54 | 2019-08-22 18:53:40 -0500 | [diff] [blame] | 236 | addr: spgwu-dp-comm |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 237 | port: 20 |
Hyunsun Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 238 | cfgFiles: |
| 239 | # See https://github.com/omec-project/ngic-rtc/tree/master/config for details |
| 240 | adc_rules.cfg: | |
| 241 | [GLOBAL] |
| 242 | NUM_ADC_RULES = 0 |
| 243 | meter_profile.cfg: | |
| 244 | [GLOBAL] |
| 245 | NUM_OF_IDX = 3 |
| 246 | |
| 247 | [ENTRY_1] |
| 248 | ; QCI5,QCI7 15.571kbps = 1947 B |
| 249 | CIR = 2342400 |
| 250 | CBS = 5856 |
| 251 | EBS = 11712 |
| 252 | MTR_PROFILE_IDX = 5 |
| 253 | |
| 254 | [ENTRY_2] |
| 255 | ; QCI1, 44kbps = 5500 B |
| 256 | CIR = 2342400 |
| 257 | CBS = 5856 |
| 258 | EBS = 11712 |
| 259 | MTR_PROFILE_IDX = 6 |
| 260 | |
| 261 | [ENTRY_3] |
| 262 | ; 128B, 2pps |
| 263 | CIR = 2342400 |
| 264 | CBS = 512 |
| 265 | EBS = 1024 |
| 266 | MTR_PROFILE_IDX = 9 |
| 267 | pcc_rules.cfg: | |
| 268 | [GLOBAL] |
| 269 | NUM_PCC_FILTERS = 1 |
| 270 | UL_AMBR_MTR_PROFILE_IDX = 1 |
| 271 | DL_AMBR_MTR_PROFILE_IDX = 2 |
| 272 | |
| 273 | [PCC_FILTER_1] |
| 274 | RULE_NAME = DefaultRule |
| 275 | RATING_GROUP = 9 |
| 276 | SERVICE_ID = 0 |
| 277 | RULE_STATUS = 0 |
| 278 | GATE_STATUS = 1 |
| 279 | SESSION_CONT = 0 |
| 280 | REPORT_LEVEL = 1 |
| 281 | CHARGING_MODE = 0 |
| 282 | METERING_METHOD = 0 |
| 283 | MUTE_NOTIFY = 0 |
| 284 | MONITORING_KEY = 0 |
| 285 | SPONSOR_ID = 0 |
| 286 | REDIRECT_INFO = 0 |
| 287 | PRECEDENCE = 254 |
| 288 | DROP_PKT_COUNT = 0 |
| 289 | UL_MBR_MTR_PROFILE_IDX = 3 |
| 290 | DL_MBR_MTR_PROFILE_IDX = 3 |
| 291 | SDF_FILTER_IDX = 99998 |
| 292 | sdf_rules.cfg: | |
| 293 | [GLOBAL] |
| 294 | NUM_SDF_FILTERS = 0 |