Simone Tiraboschi has submitted this change and it was merged.
Change subject: Add --json to --vm-status
......................................................................
Add --json to --vm-status
Add a --json option to vm-status, to make the output easily
consumable by other utilities which cannot use the HAClient python
API.
Update the manpages and help messages to reflect this.
Tweak vm_status.py a little bit so errors are also output as JSON
if they're encountered.
Change-Id: I57da55eb7fecaf4bb2c202a50ab33a41af39c2ce
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1324923
Signed-off-by: Ryan Barry <rbarry(a)redhat.com>
---
M man/hosted-engine.8
M src/bin/hosted-engine.in
M src/ovirt_hosted_engine_setup/vm_status.py
3 files changed, 42 insertions(+), 14 deletions(-)
Approvals:
Simone Tiraboschi: Looks good to me, approved
Jenkins CI: Passed CI tests
Ryan Barry: Verified
--
To view, visit
https://gerrit.ovirt.org/56721
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I57da55eb7fecaf4bb2c202a50ab33a41af39c2ce
Gerrit-PatchSet: 16
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry(a)redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Lev Veyde <lveyde(a)redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: Rafael Martins <rmartins(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: Ryan Barry <rbarry(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>