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