]> git.proxmox.com Git - pve-storage.git/commit
fix #2266: Diskmanage: get correct osd id
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 8 Jul 2019 13:48:14 +0000 (15:48 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 Jul 2019 17:04:08 +0000 (19:04 +0200)
commit79f4a7bfd39c59dc35545f90d37e080afc2153dc
tree129d49c1f1a85863cbc1c3c7b0eb7185e942e80f
parent0841d128bea82d40345443687a9c26b61f5ac81d
fix #2266: Diskmanage: get correct osd id

The osdid can consist of multiple digits, cope with that and add more
regression tests for this

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
13 files changed:
PVE/Diskmanage.pm
test/disk_tests/usages/disklist
test/disk_tests/usages/disklist_expected.json
test/disk_tests/usages/lvs
test/disk_tests/usages/pvs
test/disk_tests/usages/sdk/device/vendor [new file with mode: 0644]
test/disk_tests/usages/sdk/queue/rotational [new file with mode: 0644]
test/disk_tests/usages/sdk/size [new file with mode: 0644]
test/disk_tests/usages/sdk_udevadm [new file with mode: 0644]
test/disk_tests/usages/sdl/device/vendor [new file with mode: 0644]
test/disk_tests/usages/sdl/queue/rotational [new file with mode: 0644]
test/disk_tests/usages/sdl/size [new file with mode: 0644]
test/disk_tests/usages/sdl_udevadm [new file with mode: 0644]