]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
orch/cephadm: add json format support to `ceph orch hardware`
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 29 Nov 2023 13:44:55 +0000 (13:44 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 15:16:21 +0000 (15:16 +0000)
commitc54d3e2f3b0ab825fc8ffaa3f5ccd3024d4459f2
tree8912c92476bab111998f52963dcc36b83044050a
parent7b6864d9b398ca601fa9ff866b6b4c9f9cbc1ff0
orch/cephadm: add json format support to `ceph orch hardware`

This adds `--format json` option support to the `ceph orch hardware` CLI
command.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 3a38755aef724d3039dc303a210b0972f7a71e63)
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/orchestrator/module.py