VOL-3433 Make timeouts of inter-adapter communication configurable

Change-Id: If212960d432368ac14766617dd53059915fe3659
diff --git a/voltha-adapter-openonu/Chart.yaml b/voltha-adapter-openonu/Chart.yaml
index fd33823..4ec7ffd 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.6.0-dev"
+version: "2.6.0"
 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 c213e67..67fc09f 100644
--- a/voltha-adapter-openonu/templates/openonu-go-deploy.yaml
+++ b/voltha-adapter-openonu/templates/openonu-go-deploy.yaml
@@ -90,6 +90,7 @@
             - "--kv_store_port={{ .Values.services.etcd.port }}"
             - "--log_level={{ $log_level }}"
             - "--probe_port=8080"
+            - "--max_timeout_interadapter_comm={{ tpl .Values.adapter_open_onu.max_timeout_interadapter_comm . }}"
           {{- if .Values.securityContext.enabled }}
           securityContext:
             allowPrivilegeEscalation: false
diff --git a/voltha-adapter-openonu/values.yaml b/voltha-adapter-openonu/values.yaml
index 6917202..c4789b6 100644
--- a/voltha-adapter-openonu/values.yaml
+++ b/voltha-adapter-openonu/values.yaml
@@ -25,6 +25,9 @@
   image_org: "voltha/"
   image_pullPolicy: "Always"
   incremental_evto_update: False
+  # timeout for deadline for interadapter communication
+  # should be in format as expected by parseDuration golang.
+  max_timeout_interadapter_comm: "30s"
   topics:
     core_topic: "rwcore"
     adapter_open_onu_topic: "brcm_openomci_onu"
@@ -59,6 +62,7 @@
 adapter_open_onu:
   log_level: '{{ .Values.defaults.log_level }}'
   incremental_evto_update: '{{ .Values.defaults.incremental_evto_update }}'
+  max_timeout_interadapter_comm: '{{ .Values.defaults.max_timeout_interadapter_comm }}'
 
 images:
   adapter_open_onu: