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