Michael Pasternak has submitted this change and it was merged.
Change subject: cli: introducing FiniteStateMachine (1/2)
......................................................................
cli: introducing FiniteStateMachine (1/2)
This patch moves shell state management to the
Deterministic Finite State Machine (DFSA).
Change-Id: Ic3ea3cf7fa82eb82c2323d96231de0a5e1094056
Signed-off-by: Michael pasternak <mpastern(a)redhat.com>
---
M src/cli/error.py
M src/ovirtcli/__init__.py
M src/ovirtcli/annotations/requires.py
A src/ovirtcli/annotations/singleton.py
M src/ovirtcli/command/connect.py
M src/ovirtcli/command/disconnect.py
D src/ovirtcli/listeners/exitlistener.py
A src/ovirtcli/meta/__init__.py
A src/ovirtcli/meta/singleton.py
M src/ovirtcli/shell/engineshell.py
A src/ovirtcli/state/__init__.py
A src/ovirtcli/state/dfsaevent.py
A src/ovirtcli/state/dfsaeventcontext.py
A src/ovirtcli/state/dfsastate.py
A src/ovirtcli/state/finitestatemachine.py
A src/ovirtcli/state/statemachine.py
16 files changed, 884 insertions(+), 77 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/20451
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic3ea3cf7fa82eb82c2323d96231de0a5e1094056
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-cli
Gerrit-Branch: master
Gerrit-Owner: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori(a)redhat.com>