- Support configuration of hearbeat check interval for openolt-adapter chart
- Support configuration of hearbeat failure interval for openolt-adapter chart
Change-Id: Ib9f61a762472d62d893e70039f295e36da9ac8c2
diff --git a/voltha-adapter-openolt/Chart.yaml b/voltha-adapter-openolt/Chart.yaml
index bef36e2..1bbb341 100644
--- a/voltha-adapter-openolt/Chart.yaml
+++ b/voltha-adapter-openolt/Chart.yaml
@@ -14,7 +14,7 @@
---
apiVersion: "v1"
name: "voltha-adapter-openolt"
-version: "2.8.4"
+version: "2.8.5"
description: "A Helm chart for Voltha OpenOLT Adapter"
keywords:
- "onf"
@@ -33,4 +33,4 @@
# appVersion refers to multiple components with potentially different
# container image versions.
-appVersion: "3.1.3"
+appVersion: "3.1.5"
\ No newline at end of file
diff --git a/voltha-adapter-openolt/templates/openolt-deploy.yaml b/voltha-adapter-openolt/templates/openolt-deploy.yaml
index 2ee460f..873e822 100644
--- a/voltha-adapter-openolt/templates/openolt-deploy.yaml
+++ b/voltha-adapter-openolt/templates/openolt-deploy.yaml
@@ -96,6 +96,8 @@
- "--adapter_topic={{ tpl .Values.adapter_open_olt.topics.adapter_open_olt_topic . }}"
- "--kv_store_address={{ tpl .Values.services.etcd.address . }}"
- "--kv_store_request_timeout={{ tpl .Values.adapter_open_olt.kv_store_timeout . }}"
+ - "--heartbeat_check_interval={{ tpl .Values.adapter_open_olt.heartbeat_check_interval . }}"
+ - "--heartbeat_fail_interval={{ tpl .Values.adapter_open_olt.heartbeat_fail_interval . }}"
- "--log_level={{ $log_level }}"
- "--current_replica={{ .Values.replicas.current_replica }}"
- "--total_replica={{ .Values.replicas.total_replica }}"
diff --git a/voltha-adapter-openolt/values.yaml b/voltha-adapter-openolt/values.yaml
index f1d7e11..5ccf920 100644
--- a/voltha-adapter-openolt/values.yaml
+++ b/voltha-adapter-openolt/values.yaml
@@ -25,6 +25,8 @@
image_pullPolicy: "Always"
adapter_open_olt:
timeout: "5s"
+ heartbeat_check_interval: "15s"
+ heartbeat_fail_interval: "31s"
#enable OMCC encryption
omcc_encryption: false
@@ -74,7 +76,7 @@
profiler:
enabled: false
-# Define the recplica count for everything
+# Define the replica count for everything
replicas:
current_replica: 1
total_replica: 1
@@ -83,6 +85,8 @@
log_level: '{{ .Values.global.log_level }}'
kv_store_timeout: '{{ .Values.global.adapter_open_olt.timeout }}'
kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha'
+ heartbeat_check_interval: '{{ .Values.global.adapter_open_olt.heartbeat_check_interval }}'
+ heartbeat_fail_interval: '{{ .Values.global.adapter_open_olt.heartbeat_fail_interval }}'
topics:
core_topic: "{{ .Values.global.stack_name }}_rwcore"
adapter_open_olt_topic: "{{ .Values.global.stack_name }}_openolt"
diff --git a/voltha-stack/Chart.yaml b/voltha-stack/Chart.yaml
index 0c00e37..8308e53 100644
--- a/voltha-stack/Chart.yaml
+++ b/voltha-stack/Chart.yaml
@@ -28,7 +28,7 @@
name: voltha-stack
appVersion: "1.0"
-version: 0.1.9
+version: 0.1.10
dependencies:
- name: voltha
@@ -41,5 +41,5 @@
condition: voltha-adapter-openonu.enabled
- name: voltha-adapter-openolt
repository: file://../voltha-adapter-openolt
- version: 2.8.4
+ version: 2.8.5
condition: voltha-adapter-openolt.enabled