Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame^] | 1 | # Copyright 2020-present Open Networking Foundation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | # Default values for voltha-infra. |
| 16 | # This is a YAML-formatted file. |
| 17 | |
| 18 | # components config |
| 19 | onos-classic: |
| 20 | enabled: true |
| 21 | replicas: 1 |
| 22 | atomix: |
| 23 | replicas: 0 |
| 24 | image: |
| 25 | pullPolicy: Always |
| 26 | repository: voltha/voltha-onos |
| 27 | tag: master |
| 28 | |
| 29 | bbsim-sadis-server: |
| 30 | enabled: true |
| 31 | replicas: 1 |
| 32 | |
| 33 | radius: |
| 34 | enabled: true |
| 35 | |
| 36 | etcd: |
| 37 | enabled: true |
| 38 | auth: |
| 39 | rbac: |
| 40 | enabled: false |
| 41 | persistence: |
| 42 | enabled: false |
| 43 | statefulset: |
| 44 | replicaCount: 1 |
| 45 | service: |
| 46 | port: 2379 |
| 47 | |
| 48 | kafka: |
| 49 | enabled: true |
| 50 | replicaCount: 1 |
| 51 | persistence: |
| 52 | enabled: false |
| 53 | zookeeper: |
| 54 | replicaCount: 1 |
| 55 | persistence: |
| 56 | enabled: false |
| 57 | service: |
| 58 | port: 9092 |
| 59 | |
| 60 | voltha-tracing: |
| 61 | enabled: false |
| 62 | tracing: |
| 63 | maxTraces: 500000 |
| 64 | |
| 65 | efk: |
| 66 | enabled: false |
| 67 | |
| 68 | # onos configuration |
| 69 | # used in the job "onos-config-loader" |
| 70 | onos: |
| 71 | # NOTE that these values won't change the configuration in the ONOS container, they are only used in the script that loads the config |
| 72 | username: karaf |
| 73 | password: karaf |
| 74 | netcfg: > |
| 75 | { |
| 76 | "apps" : { |
| 77 | "org.opencord.dhcpl2relay" : { |
| 78 | "dhcpl2relay" : { |
| 79 | "useOltUplinkForServerPktInOut" : true |
| 80 | } |
| 81 | }, |
| 82 | "org.opencord.kafka": { |
| 83 | "kafka" : { |
| 84 | "bootstrapServers" : "{{ .Release.Name }}-kafka.{{ .Release.Namespace }}.svc:9092" |
| 85 | } |
| 86 | }, |
| 87 | "org.opencord.aaa" : { |
| 88 | "AAA": { |
| 89 | "radiusConnectionType" : "socket", |
| 90 | "radiusHost": "{{ .Release.Name }}-freeradius.{{ .Release.Namespace }}.svc", |
| 91 | "radiusServerPort": "1812", |
| 92 | "radiusSecret": "SECRET" |
| 93 | } |
| 94 | }, |
| 95 | "org.opencord.sadis": { |
| 96 | "sadis": { |
| 97 | "integration": { |
| 98 | "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/subscribers/%s", |
| 99 | "cache": { |
| 100 | "enabled": true, |
| 101 | "maxsize": 50, |
| 102 | "ttl": "PT1m" |
| 103 | } |
| 104 | } |
| 105 | }, |
| 106 | "bandwidthprofile": { |
| 107 | "integration": { |
| 108 | "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/profiles/%s", |
| 109 | "cache": { |
| 110 | "enabled": true, |
| 111 | "maxsize": 50, |
| 112 | "ttl": "PT1m" |
| 113 | } |
| 114 | } |
| 115 | } |
| 116 | } |
| 117 | } |
| 118 | } |
| 119 | componentConfig: |
| 120 | "org.opencord.olt.impl.OltFlowService": > |
| 121 | { |
| 122 | "enableDhcpOnNni": "true", |
| 123 | "defaultTechProfileId": "64", |
| 124 | "enableIgmpOnNni": "false", |
| 125 | "enableEapol": "true", |
| 126 | "enableDhcpV6": "false", |
| 127 | "enableDhcpV4": "true" |
| 128 | } |
| 129 | "org.onosproject.provider.lldp.impl.LldpLinkProvider": > |
| 130 | { |
| 131 | "enabled": "false" |
| 132 | } |
| 133 | |
| 134 | # START EFK Setup to push voltha logs |
| 135 | # elasticstack config |
| 136 | # ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch |
| 137 | elasticsearch: |
| 138 | replicas: 1 |
| 139 | minimumMasterNodes: 1 |
| 140 | # set cpu and memory configuration |
| 141 | resources: |
| 142 | requests: |
| 143 | cpu: "400m" |
| 144 | memory: "1Gi" |
| 145 | limits: |
| 146 | cpu: "1000m" |
| 147 | memory: "2Gi" |
| 148 | # setup persistence volume.By default persistence volumeclaim is disabled |
| 149 | volumeClaimTemplate: |
| 150 | accessModes: ["ReadWriteOnce"] |
| 151 | resources: |
| 152 | requests: |
| 153 | storage: 5Gi |
| 154 | persistence: |
| 155 | enabled: false |
| 156 | # setup cluster health status as yellow |
| 157 | clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s" |
| 158 | |
| 159 | # kibana config |
| 160 | # ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana |
| 161 | kibana: |
| 162 | elasticsearchHosts: "http://elasticsearch-master:9200" |
| 163 | |
| 164 | # fluentd-elasticsearch config |
| 165 | # ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch |
| 166 | fluentd-elasticsearch: |
| 167 | elasticsearch: |
| 168 | # set elasticsearch host |
| 169 | hosts: ["elasticsearch-master:9200"] |
| 170 | sslVerify: false |