]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/rook: make `device ls` only display pvs in specified storage class
authorJoseph Sawaya <jsawaya@redhat.com>
Wed, 30 Jun 2021 20:34:31 +0000 (16:34 -0400)
committerJoseph Sawaya <jsawaya@redhat.com>
Tue, 13 Jul 2021 17:55:05 +0000 (13:55 -0400)
commit2f64afa0b1f9ad6ec0e693d96f5850aded62c6d7
treed5493bd179e5e0ee1db0a106a72608cffbd4fb57
parentd7ec31c1b87e7e50eb2a1a3c8f572d4e85398900
mgr/rook: make `device ls` only display pvs in specified storage class

This commit changes get_discovered_devices to only display information in
the storage class specified by the Rook module option storage_class_name.

get_discovered_devices also only fetches the LSO discovery result CRs if
the specified storage class is one created by the LSO.

Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
src/pybind/mgr/rook/rook_cluster.py