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