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

stirabos at redhat.com stirabos at redhat.com
Mon May 30 17:19:23 UTC 2016


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



More information about the Engine-commits mailing list