]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
node-proxy: RedfishClient class refactor
authorGuillaume Abrioux <gabrioux@ibm.com>
Fri, 16 Jun 2023 11:09:48 +0000 (13:09 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 14:52:24 +0000 (14:52 +0000)
commit55539d1fe5ee45f22a40e61e0d4a32f38d6592ff
tree4b35dcc284247223ffd9f103dd0b5da518f4b12b
parentcd627cb07aae3fae629c6f120ff6197834b3fda0
node-proxy: RedfishClient class refactor

This implements BaseClient class and make RedfishClient inherit from it.
Same logic as BaseSystem / RedfishSystem given that any other backend could
need to implement a new client for collecting the data.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 5cd39211401fcbbcb8a8e3441fd42043b45238dd)
src/cephadm/node-proxy/baseclient.py [new file with mode: 0644]
src/cephadm/node-proxy/basesystem.py
src/cephadm/node-proxy/redfish_client.py