VOL-3881: Support configuration of OMCI timeout value
Change-Id: I81fbf4be9c927215009aaab1a1a7ae9b8fb06adc
diff --git a/voltha-adapter-openonu/Chart.yaml b/voltha-adapter-openonu/Chart.yaml
index 052d620..d6a69cd 100644
--- a/voltha-adapter-openonu/Chart.yaml
+++ b/voltha-adapter-openonu/Chart.yaml
@@ -14,7 +14,7 @@
---
apiVersion: "v1"
name: "voltha-adapter-openonu"
-version: "2.7.9"
+version: "2.7.10"
description: "A Helm chart for Voltha OpenONU Adapter"
keywords:
- "onf"
diff --git a/voltha-adapter-openonu/templates/openonu-go-deploy.yaml b/voltha-adapter-openonu/templates/openonu-go-deploy.yaml
index f3ccab0..5768410 100644
--- a/voltha-adapter-openonu/templates/openonu-go-deploy.yaml
+++ b/voltha-adapter-openonu/templates/openonu-go-deploy.yaml
@@ -94,6 +94,7 @@
- "--accept_incr_evto={{ tpl .Values.adapter_open_onu.incremental_evto_update . }}"
- "--max_timeout_interadapter_comm={{ tpl .Values.adapter_open_onu.max_timeout_interadapter_comm . }}"
- "--max_timeout_reconciling={{ tpl .Values.adapter_open_onu.max_timeout_reconciling . }}"
+ - "--omci_timeout={{ tpl .Values.adapter_open_onu.omci_timeout . }}"
- "--trace_enabled={{ .Values.global.tracing.enabled }}"
- "--trace_agent_address={{ tpl .Values.services.tracing_agent.address . }}"
- "--log_correlation_enabled={{ .Values.global.log_correlation.enabled }}"
diff --git a/voltha-adapter-openonu/values.yaml b/voltha-adapter-openonu/values.yaml
index d62ba8f..cd7ec06 100644
--- a/voltha-adapter-openonu/values.yaml
+++ b/voltha-adapter-openonu/values.yaml
@@ -31,6 +31,8 @@
max_timeout_interadapter_comm: "30s"
# timeout for ONU reconciling
max_timeout_reconciling: "10s"
+ # timeout for OMCI channel
+ omci_timeout: "3s"
# kv store timeout
adapter_open_onu:
timeout: "5s"
@@ -104,6 +106,7 @@
incremental_evto_update: '{{ .Values.global.incremental_evto_update }}'
max_timeout_interadapter_comm: '{{ .Values.global.max_timeout_interadapter_comm }}'
max_timeout_reconciling: '{{ .Values.global.max_timeout_reconciling }}'
+ omci_timeout: '{{ .Values.global.omci_timeout }}'
kv_store_timeout: '{{ .Values.global.adapter_open_onu.timeout }}'
kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha'
topics: