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 <mishka8520(a)yahoo.com>
---
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 <mishka8520(a)yahoo.com>
Gerrit-Reviewer: Barak Azulay <bazulay(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mishka8520(a)yahoo.com>