blob: 8d589ed548c50f211e7557fe269957b793f5065b [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 Scandolo71d97d92021-06-24 11:58:32 +020033# time that BBSim should wait to emulate an hardware reboot
34oltRebootDelay: 60
35# delay between ONU discovery indication
36delay: 200
37log_level: '{{ .Values.global.log_level }}'
38kafkaEventTopic: ""
39authRetry: false
40dhcpRetry: false
41# default, only-onu, only-pon, both
42controlledActivation: default
43omci_response_rate: 10
44bp_format: mef
45
46# TODO read this values in the config
47olt_tcp_port: 50060
48bbsim_api_port: 50070
49bbsim_rest_port: 50071
50bbsim_sadis_port: 50074
51bbsim_dmi_port: 50075
52enablePerf: false
53enableEvents: false
54kafkaAddress: ":9092"
55
56servicesConfig:
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
68images:
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
76serviceAccountName: default
77
78nameOverride: ""
79fullnameOverride: ""
80
81replicaCount: 1
82
83resources: {}
84
85nodeSelector: {}
86
87tolerations: []
88
89affinity: {}
90
91privileged: false