]> git.proxmox.com Git - pve-storage.git/commit
disks: get: add osdid-list return parameter
authorAaron Lauterer <a.lauterer@proxmox.com>
Tue, 22 Aug 2023 09:04:55 +0000 (11:04 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 13 Nov 2023 15:48:08 +0000 (16:48 +0100)
commite1348a27924e7185b211abe1a3beb36acfebf48d
tree818d83b843f9cc04e37bf33273a36a92330c5b80
parent29ca4abaee6f93201d11a22440ce993019cdc75a
disks: get: add osdid-list return parameter

It is possible to run multiple OSD daemons on one disk. The new
'osdid-list' parameter returns an array of all OSD IDs found on the
disk.

The old 'osdid' parameter is kept for compatibility. We might want to
deprecate / remove it in the future.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
src/PVE/API2/Disks.pm
src/PVE/Diskmanage.pm
src/test/disk_tests/cciss/disklist_expected.json
src/test/disk_tests/hdd_smart/disklist_expected.json
src/test/disk_tests/nvme_smart/disklist_expected.json
src/test/disk_tests/sas/disklist_expected.json
src/test/disk_tests/sas_ssd/disklist_expected.json
src/test/disk_tests/ssd_smart/disklist_expected.json
src/test/disk_tests/usages/disklist_expected.json