From eacb209b3c43f2d5247cb074d58b336818656e34 Mon Sep 17 00:00:00 2001 From: Elad Gershon Date: Wed, 14 Aug 2024 17:29:36 +0300 Subject: [PATCH] rename file telemetry collector Signed-off-by: Elad Gershon --- .../ufm_sim_web_service/isolation_mgr.py | 2 +- .../{collector.py => telemetry_collector.py} | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) rename plugins/pdr_deterministic_plugin/ufm_sim_web_service/{collector.py => telemetry_collector.py} (99%) diff --git a/plugins/pdr_deterministic_plugin/ufm_sim_web_service/isolation_mgr.py b/plugins/pdr_deterministic_plugin/ufm_sim_web_service/isolation_mgr.py index 9cef0fa4..1b503f66 100644 --- a/plugins/pdr_deterministic_plugin/ufm_sim_web_service/isolation_mgr.py +++ b/plugins/pdr_deterministic_plugin/ufm_sim_web_service/isolation_mgr.py @@ -23,7 +23,7 @@ from constants import PDRConstants as Constants from ufm_communication_mgr import UFMCommunicator -from collector import TelemetryCollector +from telemetry_collector import TelemetryCollector # should actually be persistent and thread safe dictionary pf PortStates class PortData(object): diff --git a/plugins/pdr_deterministic_plugin/ufm_sim_web_service/collector.py b/plugins/pdr_deterministic_plugin/ufm_sim_web_service/telemetry_collector.py similarity index 99% rename from plugins/pdr_deterministic_plugin/ufm_sim_web_service/collector.py rename to plugins/pdr_deterministic_plugin/ufm_sim_web_service/telemetry_collector.py index bf5a7774..9e5c2bf2 100644 --- a/plugins/pdr_deterministic_plugin/ufm_sim_web_service/collector.py +++ b/plugins/pdr_deterministic_plugin/ufm_sim_web_service/telemetry_collector.py @@ -3,6 +3,7 @@ import logging from constants import PDRConstants + class TelemetryCollector: """ collecting data for the algorithm