From 0973d6613091c8ac51215ed48bfd7cef116d02d8 Mon Sep 17 00:00:00 2001 From: Yury Kylulin Date: Fri, 24 Jul 2020 16:13:57 +0000 Subject: Fix execution in the Kubernetes environment Due to the recent changes in the rapid scripts, Kubernetes environment need to be adjusted. Ready for test flag file for the runrapid script created during the container start. TUN device configuration added. Signed-off-by: Yury Kylulin Change-Id: I097aafbd1d1d102aa61b8b86842afcb2d6a51338 --- VNFs/DPPD-PROX/helper-scripts/rapid/pod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/pod.py') diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/pod.py b/VNFs/DPPD-PROX/helper-scripts/rapid/pod.py index 61af9371..f663c9df 100644 --- a/VNFs/DPPD-PROX/helper-scripts/rapid/pod.py +++ b/VNFs/DPPD-PROX/helper-scripts/rapid/pod.py @@ -157,7 +157,7 @@ class Pod: Otherwise return -1. """ self._log.info("Checking assigned SRIOV VF for POD %s" % self._name) - ret = self._ssh_client.run_cmd("cat /opt/k8s_sriov_device_plugin_envs") + ret = self._ssh_client.run_cmd("cat /opt/rapid/k8s_sriov_device_plugin_envs") if ret != 0: self._log.error("Failed to check assigned SRIOV VF!" "Error %s" % self._ssh_client.get_error()) -- cgit 1.2.3-korg