Michael Pasternak has submitted this change and it was merged.

Change subject: cli: implement StateMachine.rollback()
......................................................................


cli: implement StateMachine.rollback()

StateMachine.rollback() is triggered when an error occurred during
logical state transition, such as connection failure in 'connect'
command,

calling rollback() will return StateMachine to the origin state
whatever it was before the failure.

Change-Id: Ideaf855e2475bd39cf15454b09aa8add0fc08726
Signed-off-by: Michael Pasternak <[email protected]>
---
M src/ovirtcli/command/connect.py
M src/ovirtcli/command/disconnect.py
M src/ovirtcli/state/dfsaevent.py
M src/ovirtcli/state/finitestatemachine.py
M src/ovirtcli/state/statemachine.py
5 files changed, 51 insertions(+), 5 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ideaf855e2475bd39cf15454b09aa8add0fc08726
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine-cli
Gerrit-Branch: master
Gerrit-Owner: Michael Pasternak <[email protected]>
Gerrit-Reviewer: Barak Azulay <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to