From 2bf32cb82015e4ba1ca7a47dce7e0b177323c01b Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Mon, 13 May 2024 12:49:24 +0200 Subject: [PATCH] tape: add drive activity to drive status api and show it in the gui for single drives. Adds the known values for the activity to the UI. Signed-off-by: Dominik Csapak --- pbs-api-types/src/tape/drive.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pbs-api-types/src/tape/drive.rs b/pbs-api-types/src/tape/drive.rs index de569980..caa6b3b3 100644 --- a/pbs-api-types/src/tape/drive.rs +++ b/pbs-api-types/src/tape/drive.rs @@ -216,6 +216,9 @@ pub struct LtoDriveAndMediaStatus { /// Estimated tape wearout factor (assuming max. 16000 end-to-end passes) #[serde(skip_serializing_if = "Option::is_none")] pub medium_wearout: Option, + /// Current device activity + #[serde(skip_serializing_if = "Option::is_none")] + pub drive_activity: Option, } #[api()]