9 Commits

Author SHA1 Message Date
Jenkins
6fa0a1085d Merge "Add history.rst that uses generated 'ChangeLog' file" 2015-06-25 21:47:02 +00:00
Jenkins
a17e2ff682 Merge "Add base exception class for this library" 2015-06-25 21:10:17 +00:00
Joshua Harlow
9489002102 Add history.rst that uses generated 'ChangeLog' file
Change-Id: Ia5ce6ebd96060eb2024564fab91a2a62ae2b9cc9
2015-06-23 16:06:33 -07:00
Joshua Harlow
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
Joshua Harlow
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
Joshua Harlow
7eeef3f354 Add a more complex doctest(ed) example
Change-Id: I52345bbbac6526531f109d5fcb62ac451b99ba9f
2015-06-11 11:33:28 -07:00
Joshua Harlow
160e3044bd Add simple machine doctest(ed) example into docs
Change-Id: I9017b6972a06b57b0ae1c997640fbb51b6c4bea6
2015-06-10 13:20:17 -07:00
Joshua Harlow
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
Joshua Harlow
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