]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
node-proxy: implement http_query() helper function
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 25 Oct 2023 15:07:09 +0000 (15:07 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 15:07:20 +0000 (15:07 +0000)
commitc4875f4cf4dab2841ac1a138ed3b564cd827a77c
treea344eed9fe52991de81f3846802f8ccd7bf21f0b
parent8343968af89c30bb6005fdbe640520d78258356b
node-proxy: implement http_query() helper function

so we can drop the dependency to `requests` and
use same helper function from both reporter.py and redfish_client.py

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/cephadm/cephadmlib/node_proxy/main.py
src/cephadm/cephadmlib/node_proxy/redfish_client.py
src/cephadm/cephadmlib/node_proxy/reporter.py
src/cephadm/cephadmlib/node_proxy/util.py