Commit Graph

13 Commits

Author SHA1 Message Date
971c83f6c0 Merge "Add runners to features.rst & add a runner base & update docstrings" 2015-06-30 19:19:05 +00:00
e1e435759d Merge "Add a bigger CD-player state-machine doctest(ed) example" 2015-06-30 17:45:16 +00:00
33d5fdaa5f Add a bigger CD-player state-machine doctest(ed) example
Change-Id: I7d0c1d08b61f56b33289a0d774b89685416a3a70
2015-06-29 15:43:00 -07:00
ecf1263033 Add runners to features.rst & add a runner base & update docstrings
Change-Id: I18d7a656f537c3bf28257d24adc4a900e77906f3
2015-06-27 18:09:58 +00:00
6fa0a1085d Merge "Add history.rst that uses generated 'ChangeLog' file" 2015-06-25 21:47:02 +00:00
a17e2ff682 Merge "Add base exception class for this library" 2015-06-25 21:10:17 +00:00
9489002102 Add history.rst that uses generated 'ChangeLog' file
Change-Id: Ia5ce6ebd96060eb2024564fab91a2a62ae2b9cc9
2015-06-23 16:06:33 -07:00
fd1d81a90c Add base exception class for this library
To make it easier for users of this library to
differentiate general exceptions from automaton
exceptions it is quite common to have a root exception
class that libraries use (and derive there exceptions
from); this adds that.

Change-Id: I140cb188f58849ac5caea97ed5a422375b549f6f
2015-06-23 12:36:17 -07:00
3898b1d803 Add optional machine conversion into a pydot graph
Both ironic and taskflow share this same code to convert
their state machines into a pydot graph which then gets
converted into SVG to form:

- http://docs.openstack.org/developer/taskflow/states.html
- http://docs.openstack.org/developer/ironic/dev/states.html

So instead of duplicating it, provide a useful helper function
that both (and others) can share to produce a dot/graphviz pretty
diagram from a state machine.

Change-Id: I218740910163a1ca2587d706edc55852af1c0c74
2015-06-18 10:44:44 -07:00
7eeef3f354 Add a more complex doctest(ed) example
Change-Id: I52345bbbac6526531f109d5fcb62ac451b99ba9f
2015-06-11 11:33:28 -07:00
160e3044bd Add simple machine doctest(ed) example into docs
Change-Id: I9017b6972a06b57b0ae1c997640fbb51b6c4bea6
2015-06-10 13:20:17 -07:00
bcb61f0b0d Split the state machine runners off into own file
When using a state machine it is not always desired
to use the runner concept, so to ensure both concepts
are modular split runners off into there own module.

Change-Id: Iac8ce50b0a17468190f3f737663b5b094c324a55
2015-06-09 15:14:34 -07:00
d71b6cf8b4 Revamp repo to match openstack repos
Get the repo in a working state so that it works
with the new and improved openstack CI system.

Change-Id: I80661c35fa7109a7ee9b1d00f89ca521a469eed0
2015-06-05 17:18:17 -07:00