]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/orchestrator_cli: 'ceph device {fault,ident}-{on,off}', 'ceph device ls-lights'
authorSage Weil <sage@redhat.com>
Wed, 27 Feb 2019 21:00:21 +0000 (15:00 -0600)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 5 Nov 2019 12:02:29 +0000 (13:02 +0100)
commit07faf3b991eacd62815de82c4d8b8ef6dd2b8f08
tree684efb24bc51afd02cc79056b58ede70b4b8117f
parentb205cf9973cc731be3a48543a5d5e6cdaecc069a
mgr/orchestrator_cli: 'ceph device {fault,ident}-{on,off}', 'ceph device ls-lights'

Add generic CLI commands to turn device lights on and off.

These will call out to orchestrator stubs, once it has the appropriate hook
implemented, which will in turn call out to salt or rook or ssh or whatever
to actually turn a light on or off.

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/orchestrator_cli/module.py