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