Change in ovirt-engine-cli[master]: cli: implement CLI invocation capabilities #895559

mpastern at redhat.com mpastern at redhat.com
Mon Oct 28 15:27:49 UTC 2013


Michael Pasternak has submitted this change and it was merged.

Change subject: cli: implement CLI invocation capabilities #895559
......................................................................


cli: implement CLI invocation capabilities #895559

implemented by -E/--execute-command option, e.g:

[mpastern at laptop ~]$ ovirt-shell --execute-command "list vms;list clusters"

[oVirt shell (connected)]# list vms

id         : 77fd5b88-bcd6-4296-bf20-f3d857f7f0d2
name       : test

[oVirt shell (connected)]# list clusters

id         : 99408929-82cf-4dc7-a532-9d998063fa95
name       : Default
description: The default server cluster

[mpastern at laptop ~]$
[mpastern at laptop ~]$
[mpastern at laptop ~]$

Change-Id: Ie1d31b3321441b7efef6a27f6223ef96c803f1e5
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=895559
Signed-off-by: Michael pasternak <mpastern at redhat.com>
---
M src/cli/context.py
M src/ovirtcli/infrastructure/options.py
M src/ovirtcli/infrastructure/settings.py
M src/ovirtcli/shell/engineshell.py
4 files changed, 67 insertions(+), 21 deletions(-)

Approvals:
  Michael Pasternak: Verified; Looks good to me, approved
  Ravi Nori: Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.ovirt.org/20618
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie1d31b3321441b7efef6a27f6223ef96c803f1e5
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-cli
Gerrit-Branch: master
Gerrit-Owner: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>



More information about the Engine-commits mailing list