]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
node-proxy: split redfishdell class
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 27 Sep 2023 08:27:28 +0000 (08:27 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 14:54:53 +0000 (14:54 +0000)
commit83964cf27ea8fb61ec753dc3aed62a10bc8082f4
treeea255e6bb57ac607cf428d04c39d61fb43c04bcc
parentbf0b88cc241525586481137eecad11e8c501ff29
node-proxy: split redfishdell class

This refactors split the redfishdell class in order
to collect power and thermal details from the redfish API.

'power' and 'thermal' details are very different in many points:

- not available at the same endpoint,
- data structure is different.

For these two reasons, let's split that class.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit db0172186a753d57c357a5396378d1158e3167e3)
src/cephadm/cephadmlib/node_proxy/baseredfishsystem.py [new file with mode: 0644]
src/cephadm/cephadmlib/node_proxy/redfish_dell.py
src/cephadm/cephadmlib/node_proxy/redfish_system.py [deleted file]
src/cephadm/cephadmlib/node_proxy/redfishdellchassis.py [new file with mode: 0644]
src/cephadm/cephadmlib/node_proxy/redfishdellsystem.py [new file with mode: 0644]
src/pybind/mgr/cephadm/agent.py