Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue: 4197110: Add the collectx versions to the to the PDF #286

Merged
merged 5 commits into from
Dec 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def __init__(
self.save_first_last_iteration_timestamp,
self.save_number_of_switches_and_ports,
self.save_number_of_core_dumps,
self.save_collectx_versions
}
# Based on the log path, decided if this is primary or secondary
if "ufm_logs" in logs_csvs[0]:
Expand All @@ -52,11 +53,16 @@ def __init__(
self._first_timestamp_of_logs = None
self._last_timestamp_of_logs = None

def get_collectx_versions(self):
def save_collectx_versions(self):
unique_collectx_versions = self._log_data_sorted[
self._log_data_sorted["type"] == "collectx_version"
]["data"].unique()
return unique_collectx_versions
self._dataframes_for_pdf.append(
(
f"{self.telemetry_type} telemetry collectx versions",
Miryam-Schwartz marked this conversation as resolved.
Show resolved Hide resolved
unique_collectx_versions,
)
)

def save_number_of_switches_and_ports(self):
"""
Expand Down
Loading