api2/types/tape/drive: add changer_drivenum

so that an api user can see which drive belongs to which drivenum of a changer
for ones with multiple drives

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak
2021-01-27 11:33:47 +01:00
committed by Dietmar Maurer
parent 8b1174f50a
commit d8792b88ef
4 changed files with 7 additions and 0 deletions

View File

@ -127,6 +127,7 @@ pub fn list_drives(
name: drive.name,
path: drive.path.clone(),
changer: drive.changer,
changer_drivenum: drive.changer_drive_id,
vendor: None,
model: None,
serial: None,