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