Matteo Scandolo | 71d97d9 | 2021-06-24 11:58:32 +0200 | [diff] [blame] | 1 | # Copyright 2018-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 | # bbsim values |
| 16 | |
| 17 | # Default overrides |
| 18 | global: |
| 19 | log_level: "DEBUG" |
| 20 | image_registry: "" |
| 21 | image_tag: ~ |
| 22 | image_org: "voltha/" |
| 23 | image_pullPolicy: "Always" |
| 24 | |
| 25 | # CLI switches passed to bbsim |
| 26 | olt_id: 0 |
| 27 | nni: 1 |
| 28 | pon: 1 |
| 29 | onu: 1 |
| 30 | uni: 4 |
| 31 | # time that BBSim should wait to emulate an hardware reboot |
| 32 | oltRebootDelay: 60 |
| 33 | # delay between ONU discovery indication |
| 34 | delay: 200 |
| 35 | log_level: '{{ .Values.global.log_level }}' |
| 36 | kafkaEventTopic: "" |
| 37 | authRetry: false |
| 38 | dhcpRetry: false |
| 39 | # default, only-onu, only-pon, both |
| 40 | controlledActivation: default |
| 41 | omci_response_rate: 10 |
| 42 | bp_format: mef |
| 43 | |
| 44 | # TODO read this values in the config |
| 45 | olt_tcp_port: 50060 |
| 46 | bbsim_api_port: 50070 |
| 47 | bbsim_rest_port: 50071 |
| 48 | bbsim_sadis_port: 50074 |
| 49 | bbsim_dmi_port: 50075 |
| 50 | enablePerf: false |
| 51 | enableEvents: false |
| 52 | kafkaAddress: ":9092" |
| 53 | |
| 54 | servicesConfig: |
| 55 | workflow: att |
| 56 | services: |
| 57 | - name: hsia |
| 58 | c_tag: 900 |
| 59 | c_tag_allocation: unique |
| 60 | s_tag: 900 |
| 61 | s_tag_allocation: shared |
| 62 | needs_eapol: true |
| 63 | needs_dhcp: true |
| 64 | tp_id: 64 |
| 65 | |
| 66 | images: |
| 67 | bbsim: |
| 68 | registry: '{{ .Values.global.image_registry }}' |
| 69 | repository: '{{ .Values.global.image_org }}bbsim' |
| 70 | tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}{{ .Chart.AppVersion }}{{- end }}{{- else }}{{ .Chart.AppVersion }}{{- end }}' |
| 71 | pullPolicy: '{{ .Values.global.image_pullPolicy | default "Always" }}' |
| 72 | |
| 73 | |
| 74 | serviceAccountName: default |
| 75 | |
| 76 | nameOverride: "" |
| 77 | fullnameOverride: "" |
| 78 | |
| 79 | replicaCount: 1 |
| 80 | |
| 81 | resources: {} |
| 82 | |
| 83 | nodeSelector: {} |
| 84 | |
| 85 | tolerations: [] |
| 86 | |
| 87 | affinity: {} |
| 88 | |
| 89 | privileged: false |