Allow the cta-admin tool to modify the physical library model and type
Problem
At the moment it's not possible to modify the model and type of a physical library.
This should be allowed.
Example from https://gitlab.cern.ch/cta/operations/-/issues/1550:
pcvlado ~ > cta-admin pl ls | egrep 'model|\+'
name manufacturer model type gui url webcam url location physical cartridge slots available cartridge slots physical drive slots c.user c.host c.time m.user m.host m.time comment
SPECTRALIB3 Spectra Logic TFinity+ LTO http://spectralib3.cern.ch/ http://spectralib3cam1.cern.ch/ 613-R-001 15000 5000 48 tapeops ctaproductionfrontend11 2024-11-05 18:00 tapeops ctaproductionfrontend11 2024-11-05 18:00 -
pcvlado ~ > cta-admin pl
Missing subcommand
cta-admin pl/physicallibrary add/ch/rm/ls:
add --name/-n <physical_library_name> --manufacturer/--ma <manufacturer>
--model/--mo <model> [--type/-t <type>] [--guiurl/-g <gui_url>]
[--webcamurl/-w <webcam_url>] [--location/-l <location>]
--nbphysicalcartridgeslots/--npcs <nb_physical_cartridge_slots>
[--nbavailablecartridgeslots/--nacs <nb_available_cartridge_slots>]
--nbphysicaldriveslots/--npds <nb_physical_drive_slots >
[--comment/-m <"comment">]
ch --name/-n <physical_library_name> [--guiurl/-g <gui_url>]
[--webcamurl/-w <webcam_url>] [--location/-l <location>]
[--nbphysicalcartridgeslots/--npcs <nb_physical_cartridge_slots>]
[--nbavailablecartridgeslots/--nacs <nb_available_cartridge_slots>]
[--nbphysicaldriveslots/--npds <nb_physical_drive_slots >]
[--comment/-m <"comment">]
rm --name/-n <physical_library_name>
ls