forked from proxmox-mirrors/proxmox
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 <d.csapak@proxmox.com>
This commit is contained in:
parent
175a9b3cd5
commit
2bf32cb820
@ -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<f64>,
|
||||
/// Current device activity
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub drive_activity: Option<DeviceActivity>,
|
||||
}
|
||||
|
||||
#[api()]
|
||||
|
Loading…
Reference in New Issue
Block a user