From: Ondrej Lichtner olichtne@redhat.com
Gathered pcap files were previously stored in directories named after machine hostnames with logs. Since then we moved the log files to directories named after machine ids used in the recipe. This patch moves the pcap files to the same location.
Signed-off-by: Ondrej Lichtner olichtne@redhat.com --- lnst/Controller/NetTestController.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lnst/Controller/NetTestController.py b/lnst/Controller/NetTestController.py index 3c33d68..85bd3af 100644 --- a/lnst/Controller/NetTestController.py +++ b/lnst/Controller/NetTestController.py @@ -720,9 +720,7 @@ class NetTestController: logging_root = os.path.abspath(logging_root) logging.info("Retrieving capture files from slaves") for machine_id, machine in self._machines.iteritems(): - hostname = machine.get_hostname() - - slave_logging_dir = os.path.join(logging_root, hostname + "/") + slave_logging_dir = os.path.join(logging_root, machine_id + "/") try: os.mkdir(slave_logging_dir) except OSError as err:
lnst-developers@lists.fedorahosted.org