NoneBases: automaton.machines.FiniteMachine
An ironic state-machine class with some ironic specific additions.
FSM.add_state(state, on_enter=None, on_exit=None, target=None, terminal=None, stable=False)[source]¶Adds a given state to the state machine.
| Parameters: |
|
|---|
Further arguments are interpreted as for parent method add_state.
FSM.add_transition(start, end, event, replace=False)¶Adds an allowed transition from start -> end for the given event.
| Parameters: |
|
|---|
FSM.initialize(start_state=None, target_state=None)[source]¶Initialize the FSM.
| Parameters: |
|
|---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.