blob: 37d85db49c03905fa38b269b09d8ae1da7328f93 [file] [log] [blame]
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -08001# 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
Matteo Scandoloa0fc9402021-04-09 16:09:03 -070018global:
19 image_registry: ''
20 image_org: "voltha/"
21 image_tag: ~
22 image_pullPolicy: "Always"
23
24images:
25 onos_config_loader:
26 registry: '{{ .Values.global.image_registry }}'
27 repository: '{{ .Values.global.image_org }}voltha-ci-tools'
28 tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}2.3.2-onos-config-loader{{- end }}{{- else }}2.3.2-onos-config-loader{{- end }}'
29 pullPolicy: '{{ .Values.global.image_pullPolicy }}'
30
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080031# components config
32onos-classic:
33 enabled: true
34 replicas: 1
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080035 image:
36 pullPolicy: Always
37 repository: voltha/voltha-onos
Matteo Scandolo87d16d82021-03-30 12:17:34 -070038 tag: 4.3.1
Andrea Campanellaebb86872021-02-19 14:31:17 +010039 apps:
40 - org.onosproject.lldpprovider
41 - org.onosproject.openflow-base
42 - org.onosproject.gui2
43 - org.onosproject.drivers
44 - org.onosproject.mcast
45 - org.opencord.kafka
46 - org.opencord.sadis
47 - org.opencord.dhcpl2relay
48 - org.opencord.igmpproxy
49 - org.opencord.mcast
50 - org.opencord.olt
51 - org.opencord.aaa
Andrea Campanella1d284452021-04-20 10:23:42 +020052 java_opts: >
53 -XX:+UseG1GC
54 -XX:MaxGCPauseMillis=200
55 -XX:-UseContainerSupport
56 -Dkaraf.log.console=INFO
57 -Dds.lock.timeout.milliseconds=10000
58 atomix:
59 replicas: 0
60 persistence:
61 enabled: false
62 java_opts: >
63 -Xmx2G
64 -XX:-UseContainerSupport
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080065
66bbsim-sadis-server:
67 enabled: true
68 replicas: 1
69
70radius:
71 enabled: true
72
73etcd:
74 enabled: true
David K. Bainbridge637751d2021-03-25 22:18:08 +000075 ingress:
76 enabled: false
77 annotations:
78 kubernetes.io/ingress.class: "nginx"
79 nginx.ingress.kubernetes.io/ssl-redirect: "true"
80 nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
81 nginx.ingress.kubernetes.io/grpc-backend: "true"
82 enableVirtualHosts: false
83 hosts:
84 - host:
85 paths:
86 - "/etcdserverpb.KV/"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080087 auth:
88 rbac:
89 enabled: false
90 persistence:
91 enabled: false
92 statefulset:
93 replicaCount: 1
94 service:
95 port: 2379
96
97kafka:
98 enabled: true
99 replicaCount: 1
100 persistence:
101 enabled: false
102 zookeeper:
103 replicaCount: 1
104 persistence:
105 enabled: false
106 service:
107 port: 9092
108
109voltha-tracing:
110 enabled: false
111 tracing:
112 maxTraces: 500000
113
114efk:
115 enabled: false
116
117# onos configuration
118# used in the job "onos-config-loader"
119onos:
120 # NOTE that these values won't change the configuration in the ONOS container, they are only used in the script that loads the config
121 username: karaf
122 password: karaf
123 netcfg: >
124 {
125 "apps" : {
126 "org.opencord.dhcpl2relay" : {
127 "dhcpl2relay" : {
128 "useOltUplinkForServerPktInOut" : true
129 }
130 },
131 "org.opencord.kafka": {
132 "kafka" : {
133 "bootstrapServers" : "{{ .Release.Name }}-kafka.{{ .Release.Namespace }}.svc:9092"
134 }
135 },
136 "org.opencord.aaa" : {
137 "AAA": {
138 "radiusConnectionType" : "socket",
139 "radiusHost": "{{ .Release.Name }}-freeradius.{{ .Release.Namespace }}.svc",
140 "radiusServerPort": "1812",
141 "radiusSecret": "SECRET"
142 }
143 },
144 "org.opencord.sadis": {
145 "sadis": {
146 "integration": {
147 "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/subscribers/%s",
148 "cache": {
149 "enabled": true,
150 "maxsize": 50,
151 "ttl": "PT1m"
152 }
153 }
154 },
155 "bandwidthprofile": {
156 "integration": {
157 "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/profiles/%s",
158 "cache": {
159 "enabled": true,
160 "maxsize": 50,
161 "ttl": "PT1m"
162 }
163 }
164 }
165 }
166 }
167 }
168 componentConfig:
169 "org.opencord.olt.impl.OltFlowService": >
170 {
171 "enableDhcpOnNni": "true",
172 "defaultTechProfileId": "64",
173 "enableIgmpOnNni": "false",
174 "enableEapol": "true",
175 "enableDhcpV6": "false",
176 "enableDhcpV4": "true"
177 }
178 "org.onosproject.provider.lldp.impl.LldpLinkProvider": >
179 {
180 "enabled": "false"
181 }
Andrea Campanella0d7691b2021-02-18 17:56:20 +0100182 "org.onosproject.net.flow.impl.FlowRuleManager": >
183 {
184 "purgeOnDisconnection": "false"
185 }
186 "org.onosproject.net.meter.impl.MeterManager": >
187 {
188 "purgeOnDisconnection": "false"
189 }
Andrea Campanellaebb86872021-02-19 14:31:17 +0100190 "org.onosproject.net.group.impl.GroupManager": >
Andrea Campanella0d7691b2021-02-18 17:56:20 +0100191 {
192 "purgeOnDisconnection": "false"
193 }
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800194
195# START EFK Setup to push voltha logs
196# elasticstack config
197# ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch
198elasticsearch:
199 replicas: 1
200 minimumMasterNodes: 1
201 # set cpu and memory configuration
202 resources:
203 requests:
204 cpu: "400m"
205 memory: "1Gi"
206 limits:
207 cpu: "1000m"
208 memory: "2Gi"
209 # setup persistence volume.By default persistence volumeclaim is disabled
210 volumeClaimTemplate:
211 accessModes: ["ReadWriteOnce"]
212 resources:
213 requests:
214 storage: 5Gi
215 persistence:
216 enabled: false
217 # setup cluster health status as yellow
218 clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s"
219
220# kibana config
221# ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana
222kibana:
223 elasticsearchHosts: "http://elasticsearch-master:9200"
224
225# fluentd-elasticsearch config
226# ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch
227fluentd-elasticsearch:
228 elasticsearch:
229 # set elasticsearch host
230 hosts: ["elasticsearch-master:9200"]
231 sslVerify: false