Add Logical Library disabled state to protobuf for "drive ls"
cta-admin drive ls
should indicate if the drive is in a disabled library.
This can be implemented as follows:
- Modify
cta_admin.proto
to add a new field tomessage DriveLsItem
:bool logical_library_is_disabled = 27
- Modify
cta-admin
to put an exclamation mark in front of the drive name whenlogical_library_is_disabled == true
. Example output:
!IBM460 I4601434 tpsrv004 Up NO_MOUNT Free 134770 - - - - - - - 0 - 7 -
- Modify CTA Frontend/Catalogue to query whether the library is disabled and populate the protobuf