Exposing BBSim controlledActivation parameter in the helm-chart
Change-Id: I73ae2ae55c4169a9d93577fcc516db9f2e66d37d
diff --git a/bbsim/Chart.yaml b/bbsim/Chart.yaml
index c1fc6aa..1c8accf 100644
--- a/bbsim/Chart.yaml
+++ b/bbsim/Chart.yaml
@@ -15,5 +15,5 @@
name: bbsim
description: Broadband Simulator
icon: https://guide.opencord.org/logos/cord.svg
-version: 4.0.0-dev1
+version: 4.0.0-dev2
appVersion: master
diff --git a/bbsim/templates/deployment.yaml b/bbsim/templates/deployment.yaml
index 9659dea..b1928cf 100644
--- a/bbsim/templates/deployment.yaml
+++ b/bbsim/templates/deployment.yaml
@@ -62,6 +62,8 @@
"-logLevel", "{{ $log_level }}",
"-delay", "{{ .Values.delay }}",
"-services", "configs/services.yaml",
+ "-rest_api_address", ":{{ .Values.bbsim_rest_port }}",
+ "-ca", "{{ .Values.controlledActivation }}",
{{ if .Values.enableEvents -}}
"-enableEvents",
"-kafkaAddress", "{{ .Values.kafkaAddress }}",
@@ -76,9 +78,6 @@
{{ if .Values.dhcpRetry -}}
"-dhcpRetry",
{{ end -}}
- {{ if .Values.bbsim_rest_port -}}
- "-rest_api_address", ":{{ .Values.bbsim_rest_port }}"
- {{ end -}}
]
ports:
- name: "bbsim-{{ .Values.olt_id }}"
diff --git a/bbsim/values.yaml b/bbsim/values.yaml
index ec975dd..ca0cf5e 100644
--- a/bbsim/values.yaml
+++ b/bbsim/values.yaml
@@ -32,6 +32,8 @@
kafkaEventTopic: ""
authRetry: false
dhcpRetry: false
+# default, only-onu, only-pon, both
+controlledActivation: default
# TODO read this values in the config
olt_tcp_port: 50060