Change in ovirt-engine-cli[master]: cli: implement /exit events listener

mpastern at redhat.com mpastern at redhat.com
Tue Oct 22 07:45:10 UTC 2013


Michael Pasternak has submitted this change and it was merged.

Change subject: cli: implement /exit events listener
......................................................................


cli: implement /exit events listener

ExitListener is listens for the /exit events and triggers
/disconnect command,

this way even if shell will be killed via ctrl-d event
(not via standard way of exiting - /exit command), /disconnect
command still will be triggered releasing local and remote
resources.

Change-Id: If5dcd1a7433f71f4b4321641b168e72659f13058
Signed-off-by: Michael pasternak <mpastern at redhat.com>
---
M src/ovirtcli/command/disconnect.py
A src/ovirtcli/listeners/exitlistener.py
M src/ovirtcli/shell/engineshell.py
3 files changed, 48 insertions(+), 4 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/20323
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If5dcd1a7433f71f4b4321641b168e72659f13058
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