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