blob: ae4dae265c50ba448872dac43addcda8fb0761b4 [file] [log] [blame]
David K. Bainbridge4ecc1262019-07-01 13:39:11 -07001# Copyright 2019 Ciena Corporation
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
David Bainbridge90fd8e32019-08-21 23:32:47 +000015# IMAGE SELECTION
16# ---------------
17# By default no defaults are set and the image tags specified in the helm
18# charts will be used. If you would like to use the images generated from the
19# HEAD of the "master" git branches, then uncomment this below block and
Matteo Scandolodcd29f52019-10-07 15:42:42 -070020# set "<VALUE>" to "master". Similarly, if you want to use the images
David Bainbridge90fd8e32019-08-21 23:32:47 +000021# generated from the HEAD of the "voltha-2.1" git branches, then uncomment
22# this block and replace "<VALUE>" with "voltha-2.1".
David Bainbridge801a0ec2019-09-26 15:48:06 +000023defaults:
Andy Bavier8fe14e02019-10-16 09:57:27 -070024 image_tag: master
David K. Bainbridge4ecc1262019-07-01 13:39:11 -070025
David K. Bainbridgee3016f72020-01-30 09:48:34 -080026# OFAGENT IMPLEMENTATION
27# ----------------------
28# There are currently two implementations of OFAGENT: the original written in
29# Python and the reimplementation written in Go. The variable `use_ofagent_go`
David Bainbridgefce8af42020-03-17 12:50:39 -070030# can be used to optionally select the implementation. The Go version is the
31# version to be part of the official release and is the default. The Python
32# verison has been deprecated and is no longer being actively workes, but is
33# being left as an option for this release.
34#
35# Along with this change you will also may need to set the Docker image
36# information below (search for START_OFAGENT_GO).
37use_ofagent_go: true
David K. Bainbridgee3016f72020-01-30 09:48:34 -080038
39ofagent:
40 log_level: debug
41
David Bainbridge1ba64f12019-12-18 00:40:13 +000042replicas:
43 cli: ~
44
David Bainbridgee10f6d52019-07-25 00:28:13 +000045images:
David Bainbridgeac7f8072019-08-01 22:15:33 +000046 onos:
David Bainbridged31d6122019-08-13 19:37:59 +000047 repository: voltha/voltha-onos
David Bainbridge90fd8e32019-08-21 23:32:47 +000048 # IMAGE_SELECTION
49 # ---------------
50 # The helm chart used to deploy ONOS is the public ONOS helm chart so,
51 # there is a need to specify the exact image repository and image tag.
Matteo Scandolodcd29f52019-10-07 15:42:42 -070052 # If you would like to use the "master", "voltha-2.1", or other image
David Bainbridge90fd8e32019-08-21 23:32:47 +000053 # just replace the "tag" value below.
Andy Bavier8fe14e02019-10-16 09:57:27 -070054 tag: master
David Bainbridge90fd8e32019-08-21 23:32:47 +000055
56# IMAGE_SELECTION
57# ---------------
58# Below are a list of all the images utilized by kind-voltha. This list is
59# provided as a conveinence if you would like to override on a per image
60# basis. If you are using the defaults, master, or voltha-2.1 branch there
61# is no need to utilize this list.
David Bainbridge90fd8e32019-08-21 23:32:47 +000062# adapter_open_olt:
David Bainbridgebb32bc12019-08-23 22:54:49 +000063# repository: voltha/voltha-openolt-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000064# tag: 2.1.1
65# adapter_open_onu:
David Bainbridgebb32bc12019-08-23 22:54:49 +000066# repository: voltha/voltha-openonu-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000067# tag: 2.1.0
Andy Bavier8fe14e02019-10-16 09:57:27 -070068# adapter_simulated_olt:
69# repository: voltha/voltha-adapter-simulated-olt
David Bainbridgefce8af42020-03-17 12:50:39 -070070# tag: 2.1.1
Andy Bavier8fe14e02019-10-16 09:57:27 -070071# adapter_simulated_onu:
72# repository: voltha/voltha-adapter-simulated-onu
David Bainbridgefce8af42020-03-17 12:50:39 -070073# tag: 2.1.1
Andy Bavier8fe14e02019-10-16 09:57:27 -070074# bbsim:
75# repository: voltha/bbsim
76# tag: master
David Bainbridgefce8af42020-03-17 12:50:39 -070077# START_OFAGENT_GO - Comment the following block to use the Python implementation
David K. Bainbridgee3016f72020-01-30 09:48:34 -080078# of the ofagent
David Bainbridgefce8af42020-03-17 12:50:39 -070079 ofagent:
80 repository: voltha/ofagent-go
81 tag: master
David K. Bainbridgee3016f72020-01-30 09:48:34 -080082# END_OFAGENT_GO
83# ofagent:
David Bainbridgefce8af42020-03-17 12:50:39 -070084# repository: voltha/voltha-ofagent
David Bainbridge90fd8e32019-08-21 23:32:47 +000085# tag: 2.1.1
86# rw_core:
David Bainbridgebb32bc12019-08-23 22:54:49 +000087# repository: voltha/voltha-rw-core
David Bainbridge90fd8e32019-08-21 23:32:47 +000088# tag: 2.1.1
David Bainbridgee10f6d52019-07-25 00:28:13 +000089
David K. Bainbridge4ecc1262019-07-01 13:39:11 -070090deployments:
91 etcdOperator: true
92 backupOperator: false
93 restoreOperator: false
94
95voltha-etcd-cluster:
96 clusterSize: 1
David Bainbridgebb32bc12019-08-23 22:54:49 +000097 autoCompactionRetention: 1
David K. Bainbridge4ecc1262019-07-01 13:39:11 -070098
David Bainbridgefce8af42020-03-17 12:50:39 -070099kafka:
100 configurationOverrides:
101 "default.replication.factor": 1
102 "offsets.topic.replication.factor": 1
103 replicas: 1
104
David K. Bainbridge4ecc1262019-07-01 13:39:11 -0700105onos_env:
106- name: POD_IP
107 valueFrom:
108 fieldRef:
109 fieldPath: status.podIP
110- name: NAMESPACE
111 valueFrom:
112 fieldRef:
113 fieldPath: metadata.namespace
114- name: ONOS_APPS
115 value: "drivers,openflow-base,hostprovider"
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -0700116
117# Customization for BBSIM
118kafka_broker: 'voltha-kafka.voltha.svc.cluster.local:9092'
Hardik Windlass678cafb2020-02-11 15:34:37 +0000119pon: 1
120onu: 1
Matteo Scandolo38b98ce2019-11-04 07:57:42 -0800121auth: true
122dhcp: true
David Bainbridge4974fcb2019-08-31 02:24:50 +0000123
124# SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR
125# The VOLTHA charts have support for adding extra labels to deployments and
126# pods. These extra labels can be used to integrate with other utilities
127# such as kube-monkey to add a bit of chaos to the cluster. Below are some
128# settings that can be uncommented to opt-in VOLTHA deployments/pods to
129# kube-monkey. For example, if you want ALL deployments and pods to opt-in
130# then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks.
131# If you want to be more selected then comment the blocks that pertain to the
132# targets you care about.
133
134#extra_deployment_labels:
135# kube-monkey/enabled: enabled
136# kube-monkey/identifier: monkey-victim
137# kube-monkey/mtbf: 1
138# kube-monkey/kill-mode: fixed
139# kube-monkey/kill-value: 1
140#
141#extra_pod_labels:
142# kube-monkey/enabled: enabled
143# kube-monkey/identifier: monkey-victim
144# kube-monkey/mtbf: 1
145# kube-monkey/kill-mode: fixed
146# kube-monkey/kill-value: 1
147#
148#rw_core_deployment_labels:
149# kube-monkey/enabled: enabled
150# kube-monkey/identifier: monkey-victim
151# kube-monkey/mtbf: 1
152# kube-monkey/kill-mode: fixed
153# kube-monkey/kill-value: 1
154#
155#rw_core_pod_labels:
156# kube-monkey/enabled: enabled
157# kube-monkey/identifier: monkey-victim
158# kube-monkey/mtbf: 1
159# kube-monkey/kill-mode: fixed
160# kube-monkey/kill-value: 1
161#
David Bainbridge801a0ec2019-09-26 15:48:06 +0000162#ofagent_deployment_labels:
163# kube-monkey/enabled: enabled
164# kube-monkey/identifier: monkey-victim
165# kube-monkey/mtbf: 1
166# kube-monkey/kill-mode: fixed
167# kube-monkey/kill-value: 1
168#
169#ofagent_pod_labels:
170# kube-monkey/enabled: enabled
171# kube-monkey/identifier: monkey-victim
172# kube-monkey/mtbf: 1
173# kube-monkey/kill-mode: fixed
174# kube-monkey/kill-value: 1
175#
David Bainbridge4974fcb2019-08-31 02:24:50 +0000176#openolt_deployment_labels:
177# kube-monkey/enabled: enabled
178# kube-monkey/identifier: monkey-victim
179# kube-monkey/mtbf: 1
180# kube-monkey/kill-mode: fixed
181# kube-monkey/kill-value: 1
182#
183#openolt_pod_labels:
184# kube-monkey/enabled: enabled
185# kube-monkey/identifier: monkey-victim
186# kube-monkey/mtbf: 1
187# kube-monkey/kill-mode: fixed
188# kube-monkey/kill-value: 1
189#
190#openonu_deployment_labels:
191# kube-monkey/enabled: enabled
192# kube-monkey/identifier: monkey-victim
193# kube-monkey/mtbf: 1
194# kube-monkey/kill-mode: fixed
195# kube-monkey/kill-value: 1
196#
197#openonu_pod_labels:
198# kube-monkey/enabled: enabled
199# kube-monkey/identifier: monkey-victim
200# kube-monkey/mtbf: 1
201# kube-monkey/kill-mode: fixed
202# kube-monkey/kill-value: 1
203#
204#simolt_deployment_labels:
205# kube-monkey/enabled: enabled
206# kube-monkey/identifier: monkey-victim
207# kube-monkey/mtbf: 1
208# kube-monkey/kill-mode: fixed
209# kube-monkey/kill-value: 1
210#
211#simolt_pod_labels:
212# kube-monkey/enabled: enabled
213# kube-monkey/identifier: monkey-victim
214# kube-monkey/mtbf: 1
215# kube-monkey/kill-mode: fixed
216# kube-monkey/kill-value: 1
217#
218#simonu_deployment_labels:
219# kube-monkey/enabled: enabled
220# kube-monkey/identifier: monkey-victim
221# kube-monkey/mtbf: 1
222# kube-monkey/kill-mode: fixed
223# kube-monkey/kill-value: 1
224#
225#simonu_pod_labels:
226# kube-monkey/enabled: enabled
227# kube-monkey/identifier: monkey-victim
228# kube-monkey/mtbf: 1
229# kube-monkey/kill-mode: fixed
230# kube-monkey/kill-value: 1