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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
Gerrit-Reviewer: Ravi Nori <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to