Change in ovirt-hosted-engine-setup[master]: Add --json to --vm-status

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@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@redhat.com> Gerrit-Reviewer: Fabian Deutsch <fabiand@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Lev Veyde <lveyde@redhat.com> Gerrit-Reviewer: Martin Sivák <msivak@redhat.com> Gerrit-Reviewer: Rafael Martins <rmartins@redhat.com> Gerrit-Reviewer: Roy Golan <rgolan@redhat.com> Gerrit-Reviewer: Ryan Barry <rbarry@redhat.com> Gerrit-Reviewer: Sandro Bonazzola <sbonazzo@redhat.com> Gerrit-Reviewer: Simone Tiraboschi <stirabos@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
stirabos@redhat.com