Add P4Runtime translation support for di-topology-watchdog chart
This patch depends on bf-di-scripts PR: https://github.com/opennetworkinglab/bf-di-scripts/pull/44
Change-Id: Ib48f4ad3d2a0b87f8a875572eb684327cb92bbdf
diff --git a/VERSION b/VERSION
index b668c3b..8fc77d0 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.0.16
+1.0.17
diff --git a/di-topology-watchdog/Chart.yaml b/di-topology-watchdog/Chart.yaml
index 4a98afb..020a77e 100644
--- a/di-topology-watchdog/Chart.yaml
+++ b/di-topology-watchdog/Chart.yaml
@@ -4,4 +4,4 @@
appVersion: "1.0"
description: A Helm chart for Deep Insight topology watchdog
name: di-topology-watchdog
-version: 0.0.3
+version: 0.0.4
diff --git a/di-topology-watchdog/templates/deployment.yaml b/di-topology-watchdog/templates/deployment.yaml
index 3638505..9797fa4 100644
--- a/di-topology-watchdog/templates/deployment.yaml
+++ b/di-topology-watchdog/templates/deployment.yaml
@@ -28,10 +28,20 @@
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: {{ .Values.name }}
+ command:
+ - "./topo_watchdog"
+ - "--di-addr"
+ - "{{ .Values.diAddr }}"
+ - "--onos-addr"
+ - "{{ .Values.onosAddr }}"
{{- if .Values.withEndHost }}
- command: ["./topo_watchdog", "--di-addr", "{{ .Values.diAddr }}", "--onos-addr", "{{ .Values.onosAddr }}", "--k8s-subnet", "{{ .Values.k8sSubnet }}", "--node-iface-no", "{{ .Values.nodeIfaceNo }}"]
- {{- else }}
- command: ["./topo_watchdog", "--di-addr", "{{ .Values.diAddr }}", "--onos-addr", "{{ .Values.onosAddr }}"]
+ - "--k8s-subnet"
+ - "{{ .Values.k8sSubnet }}"
+ - "--node-iface-no"
+ - "{{ .Values.nodeIfaceNo }}"
+ {{- end }}
+ {{- if .Values.enableP4RuntimeTranslation }}
+ - "--enable-p4runtime-translation"
{{- end }}
{{- if hasKey .Values.image "pullSecrets" }}
imagePullSecrets:
diff --git a/di-topology-watchdog/values.yaml b/di-topology-watchdog/values.yaml
index 3ffbcb0..b365376 100644
--- a/di-topology-watchdog/values.yaml
+++ b/di-topology-watchdog/values.yaml
@@ -9,5 +9,6 @@
onosAddr: sdfabric-onos-classic-hs:8181
diAddr: gateway-service-internal.deepinsight:3030
withEndHost: false
+enableP4RuntimeTranslation: false
# k8sSubnet: 10.128.13.0/24 # The cluster subnet
# nodeIfaceNo: 1 # Default K8s node interface number retrieved via `ip link`.
diff --git a/sdfabric/Chart.yaml b/sdfabric/Chart.yaml
index 59e3cc2..628da64 100644
--- a/sdfabric/Chart.yaml
+++ b/sdfabric/Chart.yaml
@@ -7,7 +7,7 @@
description: A chart to deploy all SD-Fabric components
kubeVersion: ">=1.18.0"
type: application
-version: 1.0.16
+version: 1.0.17
keywords:
- aether
- sdn
@@ -39,7 +39,7 @@
condition: import.int-host-reporter.enabled
- name: di-topology-watchdog
repository: file://../di-topology-watchdog
- version: 0.0.3
+ version: 0.0.4
condition: import.di-topology-watchdog.enabled
- name: di-metrics-exporter
repository: file://../di-metrics-exporter