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