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 |
Andrea Campanella | e77b895 | 2021-02-02 16:10:41 +0100 | [diff] [blame] | 24 | persistence: |
| 25 | enabled: false |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 26 | image: |
| 27 | pullPolicy: Always |
| 28 | repository: voltha/voltha-onos |
| 29 | tag: master |
| 30 | |
| 31 | bbsim-sadis-server: |
| 32 | enabled: true |
| 33 | replicas: 1 |
| 34 | |
| 35 | radius: |
| 36 | enabled: true |
| 37 | |
| 38 | etcd: |
| 39 | enabled: true |
| 40 | auth: |
| 41 | rbac: |
| 42 | enabled: false |
| 43 | persistence: |
| 44 | enabled: false |
| 45 | statefulset: |
| 46 | replicaCount: 1 |
| 47 | service: |
| 48 | port: 2379 |
| 49 | |
| 50 | kafka: |
| 51 | enabled: true |
| 52 | replicaCount: 1 |
| 53 | persistence: |
| 54 | enabled: false |
| 55 | zookeeper: |
| 56 | replicaCount: 1 |
| 57 | persistence: |
| 58 | enabled: false |
| 59 | service: |
| 60 | port: 9092 |
| 61 | |
| 62 | voltha-tracing: |
| 63 | enabled: false |
| 64 | tracing: |
| 65 | maxTraces: 500000 |
| 66 | |
| 67 | efk: |
| 68 | enabled: false |
| 69 | |
| 70 | # onos configuration |
| 71 | # used in the job "onos-config-loader" |
| 72 | onos: |
| 73 | # NOTE that these values won't change the configuration in the ONOS container, they are only used in the script that loads the config |
| 74 | username: karaf |
| 75 | password: karaf |
| 76 | netcfg: > |
| 77 | { |
| 78 | "apps" : { |
| 79 | "org.opencord.dhcpl2relay" : { |
| 80 | "dhcpl2relay" : { |
| 81 | "useOltUplinkForServerPktInOut" : true |
| 82 | } |
| 83 | }, |
| 84 | "org.opencord.kafka": { |
| 85 | "kafka" : { |
| 86 | "bootstrapServers" : "{{ .Release.Name }}-kafka.{{ .Release.Namespace }}.svc:9092" |
| 87 | } |
| 88 | }, |
| 89 | "org.opencord.aaa" : { |
| 90 | "AAA": { |
| 91 | "radiusConnectionType" : "socket", |
| 92 | "radiusHost": "{{ .Release.Name }}-freeradius.{{ .Release.Namespace }}.svc", |
| 93 | "radiusServerPort": "1812", |
| 94 | "radiusSecret": "SECRET" |
| 95 | } |
| 96 | }, |
| 97 | "org.opencord.sadis": { |
| 98 | "sadis": { |
| 99 | "integration": { |
| 100 | "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/subscribers/%s", |
| 101 | "cache": { |
| 102 | "enabled": true, |
| 103 | "maxsize": 50, |
| 104 | "ttl": "PT1m" |
| 105 | } |
| 106 | } |
| 107 | }, |
| 108 | "bandwidthprofile": { |
| 109 | "integration": { |
| 110 | "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/profiles/%s", |
| 111 | "cache": { |
| 112 | "enabled": true, |
| 113 | "maxsize": 50, |
| 114 | "ttl": "PT1m" |
| 115 | } |
| 116 | } |
| 117 | } |
| 118 | } |
| 119 | } |
| 120 | } |
| 121 | componentConfig: |
| 122 | "org.opencord.olt.impl.OltFlowService": > |
| 123 | { |
| 124 | "enableDhcpOnNni": "true", |
| 125 | "defaultTechProfileId": "64", |
| 126 | "enableIgmpOnNni": "false", |
| 127 | "enableEapol": "true", |
| 128 | "enableDhcpV6": "false", |
| 129 | "enableDhcpV4": "true" |
| 130 | } |
| 131 | "org.onosproject.provider.lldp.impl.LldpLinkProvider": > |
| 132 | { |
| 133 | "enabled": "false" |
| 134 | } |
Andrea Campanella | 0d7691b | 2021-02-18 17:56:20 +0100 | [diff] [blame^] | 135 | "org.onosproject.net.flow.impl.FlowRuleManager": > |
| 136 | { |
| 137 | "purgeOnDisconnection": "false" |
| 138 | } |
| 139 | "org.onosproject.net.meter.impl.MeterManager": > |
| 140 | { |
| 141 | "purgeOnDisconnection": "false" |
| 142 | } |
| 143 | "org.onosproject.net.groups.impl.GroupManager": > |
| 144 | { |
| 145 | "purgeOnDisconnection": "false" |
| 146 | } |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 147 | |
| 148 | # START EFK Setup to push voltha logs |
| 149 | # elasticstack config |
| 150 | # ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch |
| 151 | elasticsearch: |
| 152 | replicas: 1 |
| 153 | minimumMasterNodes: 1 |
| 154 | # set cpu and memory configuration |
| 155 | resources: |
| 156 | requests: |
| 157 | cpu: "400m" |
| 158 | memory: "1Gi" |
| 159 | limits: |
| 160 | cpu: "1000m" |
| 161 | memory: "2Gi" |
| 162 | # setup persistence volume.By default persistence volumeclaim is disabled |
| 163 | volumeClaimTemplate: |
| 164 | accessModes: ["ReadWriteOnce"] |
| 165 | resources: |
| 166 | requests: |
| 167 | storage: 5Gi |
| 168 | persistence: |
| 169 | enabled: false |
| 170 | # setup cluster health status as yellow |
| 171 | clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s" |
| 172 | |
| 173 | # kibana config |
| 174 | # ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana |
| 175 | kibana: |
| 176 | elasticsearchHosts: "http://elasticsearch-master:9200" |
| 177 | |
| 178 | # fluentd-elasticsearch config |
| 179 | # ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch |
| 180 | fluentd-elasticsearch: |
| 181 | elasticsearch: |
| 182 | # set elasticsearch host |
| 183 | hosts: ["elasticsearch-master:9200"] |
| 184 | sslVerify: false |