ironic.common.fsm Module¶ironic.common.fsm.FSM[source]¶Bases: automaton.machines.FiniteMachine
An ironic state-machine class with some ironic specific additions.
add_state(*args, **kwargs)[source]¶Adds a given state to the state machine.
| Parameters: |
|
|---|
Further arguments are interpreted as for parent method add_state.
add_transition(*args, **kwargs)¶Adds an allowed transition from start -> end for the given event.
| Parameters: |
|
|---|
initialize(*args, **kwargs)[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.