]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: make devices lists more granular in gather-facts
authorPaul Cuzner <pcuzner@redhat.com>
Wed, 19 Aug 2020 23:12:09 +0000 (11:12 +1200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Mon, 7 Sep 2020 09:01:03 +0000 (11:01 +0200)
commitcd215be5c8b3b36f74975517dfcdc5bafaf0a976
treecaa1c856455036cf773134ed4f18f9674bc0316d
parentc6914ca923287fa66a4cb3a5e359af70e2e4cf7b
cephadm: make devices lists more granular in gather-facts

The gather-facts commands returns a list of hdd and flash
devices. This patch changes the list content from being
simple strings representing the disks to a dict, making it
easier to extend in the future.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
(cherry picked from commit 9b43b5c555d7e4160bc704a9702edc17797de50d)
src/cephadm/cephadm