diff --git a/doc/source/dev/states.rst b/doc/source/dev/states.rst index b23a1f080b..9ebe6951d9 100644 --- a/doc/source/dev/states.rst +++ b/doc/source/dev/states.rst @@ -11,7 +11,7 @@ The diagram below shows the provisioning states that an Ironic node goes through during the lifetime of a node. The diagram also depicts the events that transition the node to different states. -.. figure:: ../images/states.png +.. figure:: ../images/states.svg :width: 660px :align: left :alt: Ironic state transitions diff --git a/doc/source/images/states.png b/doc/source/images/states.png deleted file mode 100644 index 54b8395a0d..0000000000 Binary files a/doc/source/images/states.png and /dev/null differ diff --git a/doc/source/images/states.svg b/doc/source/images/states.svg new file mode 100644 index 0000000000..dc3c8d830b --- /dev/null +++ b/doc/source/images/states.svg @@ -0,0 +1,229 @@ + + + + + + +Ironic states + + +manageable + +manageable + + +cleaning + +cleaning + + +manageable->cleaning + + +on_provide + + +inspecting + +inspecting + + +manageable->inspecting + + +on_inspect + + +available + +available + + +cleaning->available + + +on_done + + +clean failed + +clean failed + + +cleaning->clean failed + + +on_fail + + +inspecting->manageable + + +on_done + + +inspect failed + +inspect failed + + +inspecting->inspect failed + + +on_fail + + +available->manageable + + +on_manage + + +deploying + +deploying + + +available->deploying + + +on_deploy + + +active + +active + + +deploying->active + + +on_done + + +deploy failed + +deploy failed + + +deploying->deploy failed + + +on_fail + + +wait call-back + +wait call-back + + +deploying->wait call-back + + +on_wait + + +active->deploying + + +on_rebuild + + +deleting + +deleting + + +active->deleting + + +on_delete + + +deleting->cleaning + + +on_clean + + +error + +error + + +deleting->error + + +on_error + + +error->deploying + + +on_rebuild + + +error->deleting + + +on_delete + + +deploy failed->deploying + + +on_rebuild + + +deploy failed->deploying + + +on_deploy + + +deploy failed->deleting + + +on_delete + + +wait call-back->deploying + + +on_resume + + +wait call-back->deleting + + +on_delete + + +wait call-back->deploy failed + + +on_fail + + +clean failed->manageable + + +on_manage + + +inspect failed->manageable + + +on_manage + + +inspect failed->inspecting + + +on_inspect + + + diff --git a/tox.ini b/tox.ini index 30fe7b9883..0b69c5c4db 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,7 @@ downloadcache = ~/cache/pip [testenv:genstates] deps = {[testenv]deps} pydot2 -commands = {toxinidir}/tools/states_to_dot.py -f {toxinidir}/doc/source/images/states.png +commands = {toxinidir}/tools/states_to_dot.py -f {toxinidir}/doc/source/images/states.svg --format svg [testenv:py34] # NOTE(viktors): we must change default connection string for MySQL because