blob: dd160ee315b850bf133cf68de762d05f318aa890 [file] [log] [blame]
Matteo Scandolo71d97d92021-06-24 11:58:32 +02001# 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
18global:
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
26olt_id: 0
27nni: 1
Elia Battiston587c6b22022-02-21 18:41:31 +010028nni_speed: 10000 # in Mbps (= 1Gbps)
Matteo Scandolo71d97d92021-06-24 11:58:32 +020029pon: 1
30onu: 1
31uni: 4
Elia Battistonffb9da52022-01-20 10:38:05 +010032pots: 0
Matteo Scandoloa205aad2022-03-18 10:13:18 -070033injectOmciUnknownMe: false
Matteo Scandolod7938f12022-02-18 08:27:52 -080034injectOmciUnknownAttributes: false
Andrea Campanella66534ee2022-03-17 14:50:00 +010035nni_dhcp_trap_vid: 0
Matteo Scandolod7938f12022-02-18 08:27:52 -080036
Matteo Scandolo71d97d92021-06-24 11:58:32 +020037# time that BBSim should wait to emulate an hardware reboot
38oltRebootDelay: 60
39# delay between ONU discovery indication
40delay: 200
41log_level: '{{ .Values.global.log_level }}'
42kafkaEventTopic: ""
43authRetry: false
44dhcpRetry: false
45# default, only-onu, only-pon, both
46controlledActivation: default
47omci_response_rate: 10
48bp_format: mef
49
50# TODO read this values in the config
51olt_tcp_port: 50060
52bbsim_api_port: 50070
53bbsim_rest_port: 50071
54bbsim_sadis_port: 50074
55bbsim_dmi_port: 50075
56enablePerf: false
57enableEvents: false
58kafkaAddress: ":9092"
59
60servicesConfig:
61 workflow: att
62 services:
63 - name: hsia
64 c_tag: 900
65 c_tag_allocation: unique
66 s_tag: 900
67 s_tag_allocation: shared
68 needs_eapol: true
69 needs_dhcp: true
70 tp_id: 64
71
72images:
73 bbsim:
74 registry: '{{ .Values.global.image_registry }}'
75 repository: '{{ .Values.global.image_org }}bbsim'
76 tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}{{ .Chart.AppVersion }}{{- end }}{{- else }}{{ .Chart.AppVersion }}{{- end }}'
77 pullPolicy: '{{ .Values.global.image_pullPolicy | default "Always" }}'
78
79
80serviceAccountName: default
81
82nameOverride: ""
83fullnameOverride: ""
84
85replicaCount: 1
86
87resources: {}
88
89nodeSelector: {}
90
91tolerations: []
92
93affinity: {}
94
95privileged: false