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 | a205aad | 2022-03-18 10:13:18 -0700 | [diff] [blame] | 33 | injectOmciUnknownMe: false |
Matteo Scandolo | d7938f1 | 2022-02-18 08:27:52 -0800 | [diff] [blame] | 34 | injectOmciUnknownAttributes: false |
Holger Hildebrandt | c7c4779 | 2022-05-12 07:30:06 +0000 | [diff] [blame] | 35 | omccVersion: 163 |
Andrea Campanella | 66534ee | 2022-03-17 14:50:00 +0100 | [diff] [blame] | 36 | nni_dhcp_trap_vid: 0 |
Matteo Scandolo | d7938f1 | 2022-02-18 08:27:52 -0800 | [diff] [blame] | 37 | |
Matteo Scandolo | 71d97d9 | 2021-06-24 11:58:32 +0200 | [diff] [blame] | 38 | # time that BBSim should wait to emulate an hardware reboot |
| 39 | oltRebootDelay: 60 |
| 40 | # delay between ONU discovery indication |
| 41 | delay: 200 |
| 42 | log_level: '{{ .Values.global.log_level }}' |
| 43 | kafkaEventTopic: "" |
| 44 | authRetry: false |
| 45 | dhcpRetry: false |
| 46 | # default, only-onu, only-pon, both |
| 47 | controlledActivation: default |
| 48 | omci_response_rate: 10 |
| 49 | bp_format: mef |
| 50 | |
| 51 | # TODO read this values in the config |
| 52 | olt_tcp_port: 50060 |
| 53 | bbsim_api_port: 50070 |
| 54 | bbsim_rest_port: 50071 |
| 55 | bbsim_sadis_port: 50074 |
| 56 | bbsim_dmi_port: 50075 |
| 57 | enablePerf: false |
| 58 | enableEvents: false |
| 59 | kafkaAddress: ":9092" |
| 60 | |
| 61 | servicesConfig: |
| 62 | workflow: att |
| 63 | services: |
| 64 | - name: hsia |
| 65 | c_tag: 900 |
| 66 | c_tag_allocation: unique |
| 67 | s_tag: 900 |
| 68 | s_tag_allocation: shared |
| 69 | needs_eapol: true |
| 70 | needs_dhcp: true |
| 71 | tp_id: 64 |
| 72 | |
| 73 | images: |
| 74 | bbsim: |
| 75 | registry: '{{ .Values.global.image_registry }}' |
| 76 | repository: '{{ .Values.global.image_org }}bbsim' |
| 77 | tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}{{ .Chart.AppVersion }}{{- end }}{{- else }}{{ .Chart.AppVersion }}{{- end }}' |
| 78 | pullPolicy: '{{ .Values.global.image_pullPolicy | default "Always" }}' |
| 79 | |
| 80 | |
| 81 | serviceAccountName: default |
| 82 | |
| 83 | nameOverride: "" |
| 84 | fullnameOverride: "" |
| 85 | |
| 86 | replicaCount: 1 |
| 87 | |
| 88 | resources: {} |
| 89 | |
| 90 | nodeSelector: {} |
| 91 | |
| 92 | tolerations: [] |
| 93 | |
| 94 | affinity: {} |
| 95 | |
| 96 | privileged: false |