]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
node-proxy: implement /led endpoint
authorGuillaume Abrioux <gabrioux@ibm.com>
Fri, 20 Oct 2023 16:12:55 +0000 (16:12 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 15:10:11 +0000 (15:10 +0000)
commit52a660774e6c774f5a614812e19bd7d2e4162ebb
tree87e3040908153f979f2773e9e4f4a8b4bf8c71a1
parent6b62105720aef69f65cda250d8388faf1972a2e3
node-proxy: implement /led endpoint

This is the first 'act on node' feature implementation.

This adds the endpoint /led

a GET request to this endpoint returns the current status
of the enclosure LED.
a PATCH request to this endpoint allows to set the
enclosure LED status.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 76dd9aa47095f1fca644879656b1fe17a033b9c4)
src/cephadm/cephadmlib/node_proxy/basesystem.py
src/cephadm/cephadmlib/node_proxy/main.py
src/cephadm/cephadmlib/node_proxy/redfish_client.py
src/cephadm/cephadmlib/node_proxy/redfishdellsystem.py
src/pybind/mgr/cephadm/agent.py