From aacbf08a9f7d286e65f70d7beba3ec1108c0ddef Mon Sep 17 00:00:00 2001 From: Luc Provoost Date: Mon, 9 Jan 2023 11:35:47 +0100 Subject: Add entry in the log file when copying files Added some extra logging in the rapid log file when we copy files to or from the PROX instances. Signed-off-by: Luc Provoost Change-Id: If9947ce87cec34f8336c69a243e9d5340ca37aef --- VNFs/DPPD-PROX/helper-scripts/rapid/prox_ctrl.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'VNFs') diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/prox_ctrl.py b/VNFs/DPPD-PROX/helper-scripts/rapid/prox_ctrl.py index c1aade6b..0288ce94 100644 --- a/VNFs/DPPD-PROX/helper-scripts/rapid/prox_ctrl.py +++ b/VNFs/DPPD-PROX/helper-scripts/rapid/prox_ctrl.py @@ -103,9 +103,12 @@ class prox_ctrl(object): def scp_put(self, src, dst): self._sshclient.scp_put(src, dst) + RapidLog.info("Copying from {} to {}:{}".format(src, self._ip, dst)) def scp_get(self, src, dst): self._sshclient.scp_get('/home/' + self._user + src, dst) + RapidLog.info("Copying from {}:/home/{}{} to {}".format(self._ip, + self._user, src, dst)) class prox_sock(object): def __init__(self, sock): -- cgit 1.2.3-korg