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