]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: Crush selection can handle any crush map
authorStephan Müller <smueller@suse.com>
Wed, 6 May 2020 08:13:28 +0000 (10:13 +0200)
committerStephan Müller <smueller@suse.com>
Tue, 2 Jun 2020 08:38:05 +0000 (10:38 +0200)
commitaf75c4e0cdb62c98bf00185ebd3abf8cba7371af
treefddeca88eb6c9ea8ee92f7bad1672f319d378bf9
parentcf40097b794febebe53b5f32d1fdcef8e03a52e8
mgr/dashboard: Crush selection can handle any crush map

The crush selection class now provides a view static methods that can
take a crush map in search for sub nodes of a node and provide a list of
failure domains generated out of a list of nodes.

Fixes: https://tracker.ceph.com/issues/44620
Signed-off-by: Stephan Müller <smueller@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/classes/crush.node.selection.class.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/classes/crush.node.selection.class.ts