]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
node-proxy: allow multiple sources per component
authorGuillaume Abrioux <gabrioux@ibm.com>
Thu, 12 Feb 2026 14:00:11 +0000 (15:00 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Wed, 18 Feb 2026 08:52:38 +0000 (09:52 +0100)
commitd382bbcfd43c85dba4af6b5050603ba374d4963a
treea8eca357c5d69464e5daa3454b7728c7e9974a29
parent3eb664e5f7e4decba96c6566b6252ff0ecc523e3
node-proxy: allow multiple sources per component

COMPONENT_SPECS can now be a single spec or a list of specs per component.
Data from all sources is merged. Unavailable paths are skipped.

Extract get_component_data() from update_component() to support the merge logic.

Fixes: https://tracker.ceph.com/issues/74749
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py
src/ceph-node-proxy/ceph_node_proxy/redfish.py
src/ceph-node-proxy/tests/test_baseredfishsystem.py