]> 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:10:43 +0000 (15:10 +0000)
commitdc1d08576af1551878cf7a21f7394d3b6415d1e5
treee2cad02cf073e651a3bef9eb450e96ed85f8e657
parentbf042ed2dcf958b22ed8afbe040f8abc1b6f7535
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>
(cherry picked from commit cae0e5e510eb3bad5132deb0332942aa294c6e8b)
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