David K. Bainbridge | 4ecc126 | 2019-07-01 13:39:11 -0700 | [diff] [blame] | 1 | # 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 Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 15 | # 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 Scandolo | dcd29f5 | 2019-10-07 15:42:42 -0700 | [diff] [blame] | 20 | # set "<VALUE>" to "master". Similarly, if you want to use the images |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 21 | # generated from the HEAD of the "voltha-2.1" git branches, then uncomment |
| 22 | # this block and replace "<VALUE>" with "voltha-2.1". |
David Bainbridge | 801a0ec | 2019-09-26 15:48:06 +0000 | [diff] [blame] | 23 | defaults: |
Andy Bavier | 8fe14e0 | 2019-10-16 09:57:27 -0700 | [diff] [blame] | 24 | image_tag: master |
David K. Bainbridge | 4ecc126 | 2019-07-01 13:39:11 -0700 | [diff] [blame] | 25 | |
David K. Bainbridge | e3016f7 | 2020-01-30 09:48:34 -0800 | [diff] [blame] | 26 | # 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 Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 30 | # 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). |
| 37 | use_ofagent_go: true |
David K. Bainbridge | e3016f7 | 2020-01-30 09:48:34 -0800 | [diff] [blame] | 38 | |
Holger Hildebrandt | 03ca769 | 2020-04-14 10:55:43 +0000 | [diff] [blame^] | 39 | # OPENONU-ADAPTER IMPLEMENTATION |
| 40 | # ------------------------------ |
| 41 | # There are currently two implementations of OPENONU-ADAPTER: the original |
| 42 | # written in Python and the reimplementation written in Go. The variable |
| 43 | # `use_openonu_adapter_go` can be used to optionally use the new Go |
| 44 | # implementation. This is done by setting that value to `true`. |
| 45 | # |
| 46 | # Along with this change you will also may need to set the Docker image |
| 47 | # information below (search for START_OPENONU_ADAPTER_GO). |
| 48 | use_openonu_adapter_go: false |
| 49 | |
David Bainbridge | e10f6d5 | 2019-07-25 00:28:13 +0000 | [diff] [blame] | 50 | images: |
David Bainbridge | ac7f807 | 2019-08-01 22:15:33 +0000 | [diff] [blame] | 51 | onos: |
David Bainbridge | d31d612 | 2019-08-13 19:37:59 +0000 | [diff] [blame] | 52 | repository: voltha/voltha-onos |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 53 | # IMAGE_SELECTION |
| 54 | # --------------- |
| 55 | # The helm chart used to deploy ONOS is the public ONOS helm chart so, |
| 56 | # there is a need to specify the exact image repository and image tag. |
Matteo Scandolo | dcd29f5 | 2019-10-07 15:42:42 -0700 | [diff] [blame] | 57 | # If you would like to use the "master", "voltha-2.1", or other image |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 58 | # just replace the "tag" value below. |
Andy Bavier | 8fe14e0 | 2019-10-16 09:57:27 -0700 | [diff] [blame] | 59 | tag: master |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 60 | |
| 61 | # IMAGE_SELECTION |
| 62 | # --------------- |
| 63 | # Below are a list of all the images utilized by kind-voltha. This list is |
| 64 | # provided as a conveinence if you would like to override on a per image |
| 65 | # basis. If you are using the defaults, master, or voltha-2.1 branch there |
| 66 | # is no need to utilize this list. |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 67 | # adapter_open_olt: |
David Bainbridge | bb32bc1 | 2019-08-23 22:54:49 +0000 | [diff] [blame] | 68 | # repository: voltha/voltha-openolt-adapter |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 69 | # tag: 2.1.1 |
| 70 | # adapter_open_onu: |
David Bainbridge | bb32bc1 | 2019-08-23 22:54:49 +0000 | [diff] [blame] | 71 | # repository: voltha/voltha-openonu-adapter |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 72 | # tag: 2.1.0 |
Andy Bavier | 8fe14e0 | 2019-10-16 09:57:27 -0700 | [diff] [blame] | 73 | # adapter_simulated_olt: |
| 74 | # repository: voltha/voltha-adapter-simulated-olt |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 75 | # tag: 2.1.1 |
Andy Bavier | 8fe14e0 | 2019-10-16 09:57:27 -0700 | [diff] [blame] | 76 | # adapter_simulated_onu: |
| 77 | # repository: voltha/voltha-adapter-simulated-onu |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 78 | # tag: 2.1.1 |
Andy Bavier | 8fe14e0 | 2019-10-16 09:57:27 -0700 | [diff] [blame] | 79 | # bbsim: |
| 80 | # repository: voltha/bbsim |
| 81 | # tag: master |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 82 | # START_OFAGENT_GO - Comment the following block to use the Python implementation |
David K. Bainbridge | e3016f7 | 2020-01-30 09:48:34 -0800 | [diff] [blame] | 83 | # of the ofagent |
David Bainbridge | 6ca4010 | 2020-04-08 11:30:40 -0700 | [diff] [blame] | 84 | # ofagent_go: |
David Bainbridge | 52e6e9d | 2020-03-23 13:48:27 -0700 | [diff] [blame] | 85 | # repository: voltha/voltha-ofagent-go |
| 86 | # tag: master |
David K. Bainbridge | e3016f7 | 2020-01-30 09:48:34 -0800 | [diff] [blame] | 87 | # END_OFAGENT_GO |
David Bainbridge | 6ca4010 | 2020-04-08 11:30:40 -0700 | [diff] [blame] | 88 | # ofagent_py: |
David Bainbridge | 52e6e9d | 2020-03-23 13:48:27 -0700 | [diff] [blame] | 89 | # repository: voltha/voltha-ofagent-py |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 90 | # tag: 2.1.1 |
| 91 | # rw_core: |
David Bainbridge | bb32bc1 | 2019-08-23 22:54:49 +0000 | [diff] [blame] | 92 | # repository: voltha/voltha-rw-core |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 93 | # tag: 2.1.1 |
Holger Hildebrandt | 03ca769 | 2020-04-14 10:55:43 +0000 | [diff] [blame^] | 94 | # START_OPENONU_ADAPTER_GO - Uncomment the following block to use the Go implementation |
| 95 | # of the openonu-adapter |
| 96 | # adapter_open_onu_go: |
| 97 | # repository: voltha-openonu-adapter-go |
| 98 | # tag: master |
| 99 | # END_OPENONU_ADAPTER_GO |
David Bainbridge | e10f6d5 | 2019-07-25 00:28:13 +0000 | [diff] [blame] | 100 | |
David K. Bainbridge | 4ecc126 | 2019-07-01 13:39:11 -0700 | [diff] [blame] | 101 | deployments: |
| 102 | etcdOperator: true |
| 103 | backupOperator: false |
| 104 | restoreOperator: false |
| 105 | |
| 106 | voltha-etcd-cluster: |
| 107 | clusterSize: 1 |
David Bainbridge | bb32bc1 | 2019-08-23 22:54:49 +0000 | [diff] [blame] | 108 | autoCompactionRetention: 1 |
David K. Bainbridge | 4ecc126 | 2019-07-01 13:39:11 -0700 | [diff] [blame] | 109 | |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 110 | kafka: |
| 111 | configurationOverrides: |
| 112 | "default.replication.factor": 1 |
| 113 | "offsets.topic.replication.factor": 1 |
| 114 | replicas: 1 |
| 115 | |
David K. Bainbridge | 4ecc126 | 2019-07-01 13:39:11 -0700 | [diff] [blame] | 116 | onos_env: |
| 117 | - name: POD_IP |
| 118 | valueFrom: |
| 119 | fieldRef: |
| 120 | fieldPath: status.podIP |
| 121 | - name: NAMESPACE |
| 122 | valueFrom: |
| 123 | fieldRef: |
| 124 | fieldPath: metadata.namespace |
| 125 | - name: ONOS_APPS |
| 126 | value: "drivers,openflow-base,hostprovider" |
David K. Bainbridge | f1c8f4c | 2019-07-01 14:30:38 -0700 | [diff] [blame] | 127 | |
| 128 | # Customization for BBSIM |
| 129 | kafka_broker: 'voltha-kafka.voltha.svc.cluster.local:9092' |
Hardik Windlass | 678cafb | 2020-02-11 15:34:37 +0000 | [diff] [blame] | 130 | pon: 1 |
| 131 | onu: 1 |
Matteo Scandolo | 38b98ce | 2019-11-04 07:57:42 -0800 | [diff] [blame] | 132 | auth: true |
| 133 | dhcp: true |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 134 | |
| 135 | # SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR |
| 136 | # The VOLTHA charts have support for adding extra labels to deployments and |
| 137 | # pods. These extra labels can be used to integrate with other utilities |
| 138 | # such as kube-monkey to add a bit of chaos to the cluster. Below are some |
| 139 | # settings that can be uncommented to opt-in VOLTHA deployments/pods to |
| 140 | # kube-monkey. For example, if you want ALL deployments and pods to opt-in |
| 141 | # then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks. |
| 142 | # If you want to be more selected then comment the blocks that pertain to the |
| 143 | # targets you care about. |
| 144 | |
| 145 | #extra_deployment_labels: |
| 146 | # kube-monkey/enabled: enabled |
| 147 | # kube-monkey/identifier: monkey-victim |
| 148 | # kube-monkey/mtbf: 1 |
| 149 | # kube-monkey/kill-mode: fixed |
| 150 | # kube-monkey/kill-value: 1 |
| 151 | # |
| 152 | #extra_pod_labels: |
| 153 | # kube-monkey/enabled: enabled |
| 154 | # kube-monkey/identifier: monkey-victim |
| 155 | # kube-monkey/mtbf: 1 |
| 156 | # kube-monkey/kill-mode: fixed |
| 157 | # kube-monkey/kill-value: 1 |
| 158 | # |
| 159 | #rw_core_deployment_labels: |
| 160 | # kube-monkey/enabled: enabled |
| 161 | # kube-monkey/identifier: monkey-victim |
| 162 | # kube-monkey/mtbf: 1 |
| 163 | # kube-monkey/kill-mode: fixed |
| 164 | # kube-monkey/kill-value: 1 |
| 165 | # |
| 166 | #rw_core_pod_labels: |
| 167 | # kube-monkey/enabled: enabled |
| 168 | # kube-monkey/identifier: monkey-victim |
| 169 | # kube-monkey/mtbf: 1 |
| 170 | # kube-monkey/kill-mode: fixed |
| 171 | # kube-monkey/kill-value: 1 |
| 172 | # |
David Bainbridge | 801a0ec | 2019-09-26 15:48:06 +0000 | [diff] [blame] | 173 | #ofagent_deployment_labels: |
| 174 | # kube-monkey/enabled: enabled |
| 175 | # kube-monkey/identifier: monkey-victim |
| 176 | # kube-monkey/mtbf: 1 |
| 177 | # kube-monkey/kill-mode: fixed |
| 178 | # kube-monkey/kill-value: 1 |
| 179 | # |
| 180 | #ofagent_pod_labels: |
| 181 | # kube-monkey/enabled: enabled |
| 182 | # kube-monkey/identifier: monkey-victim |
| 183 | # kube-monkey/mtbf: 1 |
| 184 | # kube-monkey/kill-mode: fixed |
| 185 | # kube-monkey/kill-value: 1 |
| 186 | # |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 187 | #openolt_deployment_labels: |
| 188 | # kube-monkey/enabled: enabled |
| 189 | # kube-monkey/identifier: monkey-victim |
| 190 | # kube-monkey/mtbf: 1 |
| 191 | # kube-monkey/kill-mode: fixed |
| 192 | # kube-monkey/kill-value: 1 |
| 193 | # |
| 194 | #openolt_pod_labels: |
| 195 | # kube-monkey/enabled: enabled |
| 196 | # kube-monkey/identifier: monkey-victim |
| 197 | # kube-monkey/mtbf: 1 |
| 198 | # kube-monkey/kill-mode: fixed |
| 199 | # kube-monkey/kill-value: 1 |
| 200 | # |
| 201 | #openonu_deployment_labels: |
| 202 | # kube-monkey/enabled: enabled |
| 203 | # kube-monkey/identifier: monkey-victim |
| 204 | # kube-monkey/mtbf: 1 |
| 205 | # kube-monkey/kill-mode: fixed |
| 206 | # kube-monkey/kill-value: 1 |
| 207 | # |
| 208 | #openonu_pod_labels: |
| 209 | # kube-monkey/enabled: enabled |
| 210 | # kube-monkey/identifier: monkey-victim |
| 211 | # kube-monkey/mtbf: 1 |
| 212 | # kube-monkey/kill-mode: fixed |
| 213 | # kube-monkey/kill-value: 1 |
| 214 | # |
| 215 | #simolt_deployment_labels: |
| 216 | # kube-monkey/enabled: enabled |
| 217 | # kube-monkey/identifier: monkey-victim |
| 218 | # kube-monkey/mtbf: 1 |
| 219 | # kube-monkey/kill-mode: fixed |
| 220 | # kube-monkey/kill-value: 1 |
| 221 | # |
| 222 | #simolt_pod_labels: |
| 223 | # kube-monkey/enabled: enabled |
| 224 | # kube-monkey/identifier: monkey-victim |
| 225 | # kube-monkey/mtbf: 1 |
| 226 | # kube-monkey/kill-mode: fixed |
| 227 | # kube-monkey/kill-value: 1 |
| 228 | # |
| 229 | #simonu_deployment_labels: |
| 230 | # kube-monkey/enabled: enabled |
| 231 | # kube-monkey/identifier: monkey-victim |
| 232 | # kube-monkey/mtbf: 1 |
| 233 | # kube-monkey/kill-mode: fixed |
| 234 | # kube-monkey/kill-value: 1 |
| 235 | # |
| 236 | #simonu_pod_labels: |
| 237 | # kube-monkey/enabled: enabled |
| 238 | # kube-monkey/identifier: monkey-victim |
| 239 | # kube-monkey/mtbf: 1 |
| 240 | # kube-monkey/kill-mode: fixed |
| 241 | # kube-monkey/kill-value: 1 |