blob: 208b0b3a8c23cad9336d0d3324cdbcdf205f3756 [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
29 tag: master
30
31bbsim-sadis-server:
32 enabled: true
33 replicas: 1
34
35radius:
36 enabled: true
37
38etcd:
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
50kafka:
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
62voltha-tracing:
63 enabled: false
64 tracing:
65 maxTraces: 500000
66
67efk:
68 enabled: false
69
70# onos configuration
71# used in the job "onos-config-loader"
72onos:
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 }
135
136# START EFK Setup to push voltha logs
137# elasticstack config
138# ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch
139elasticsearch:
140 replicas: 1
141 minimumMasterNodes: 1
142 # set cpu and memory configuration
143 resources:
144 requests:
145 cpu: "400m"
146 memory: "1Gi"
147 limits:
148 cpu: "1000m"
149 memory: "2Gi"
150 # setup persistence volume.By default persistence volumeclaim is disabled
151 volumeClaimTemplate:
152 accessModes: ["ReadWriteOnce"]
153 resources:
154 requests:
155 storage: 5Gi
156 persistence:
157 enabled: false
158 # setup cluster health status as yellow
159 clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s"
160
161# kibana config
162# ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana
163kibana:
164 elasticsearchHosts: "http://elasticsearch-master:9200"
165
166# fluentd-elasticsearch config
167# ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch
168fluentd-elasticsearch:
169 elasticsearch:
170 # set elasticsearch host
171 hosts: ["elasticsearch-master:9200"]
172 sslVerify: false