summaryrefslogtreecommitdiffstats
path: root/doc/source
diff options
context:
space:
mode:
authorSandy Walsh <sandy.walsh@rackspace.com>2012-05-06 19:27:27 -0400
committerLorin Hochstein <lorin@nimbisservices.com>2012-05-06 19:36:15 -0400
commit42b09d91f7815ebf9072123cc5bd1817dbf8750d (patch)
tree7fb4b1c0275f6b43aff34d3ef2e7304567dcf914 /doc/source
parenteb9e54c1129080ad0f5b569b39dfa09c539f2f11 (diff)
downloadnova-42b09d91f7815ebf9072123cc5bd1817dbf8750d.tar.gz
nova-42b09d91f7815ebf9072123cc5bd1817dbf8750d.tar.xz
nova-42b09d91f7815ebf9072123cc5bd1817dbf8750d.zip
Docs for vm/task state transitions.
Added diagrams to RST docs that show required vm_state / task_state transitions for compute api operations. (Set Sandy Walsh as author since he created the diagrams) Change-Id: Ie6a9cd4b54321a98fea5429ee52eb781f57f31a4
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/devref/index.rst1
-rw-r--r--doc/source/devref/vmstates.rst24
-rw-r--r--doc/source/image_src/PowerStates.odpbin0 -> 21916 bytes
-rw-r--r--doc/source/images/PowerStates1.pngbin0 -> 175885 bytes
-rw-r--r--doc/source/images/PowerStates2.pngbin0 -> 254760 bytes
-rw-r--r--doc/source/images/run_instance_walkthrough.pngbin0 -> 163164 bytes
6 files changed, 25 insertions, 0 deletions
diff --git a/doc/source/devref/index.rst b/doc/source/devref/index.rst
index 13baa67fb..335f25242 100644
--- a/doc/source/devref/index.rst
+++ b/doc/source/devref/index.rst
@@ -38,6 +38,7 @@ Background Concepts for Nova
architecture
threading
+ vmstates
il8n
filter_scheduler
multinic
diff --git a/doc/source/devref/vmstates.rst b/doc/source/devref/vmstates.rst
new file mode 100644
index 000000000..6b9d0c705
--- /dev/null
+++ b/doc/source/devref/vmstates.rst
@@ -0,0 +1,24 @@
+Virtual Machine States and Transitions
+=======================================
+
+Preconditions for commands
+--------------------------
+
+
+The following diagrams show the required virtual machine (VM) states and
+task states for various commands issued by the user:
+
+
+.. image:: /images/PowerStates1.png
+
+.. image:: /images/PowerStates2.png
+
+
+Create instance states
+----------------------
+
+The following diagram shows the sequence of VM states, task states, and
+power states when a new VM instance is created.
+
+
+.. image:: /images/run_instance_walkthrough.png \ No newline at end of file
diff --git a/doc/source/image_src/PowerStates.odp b/doc/source/image_src/PowerStates.odp
new file mode 100644
index 000000000..e6704b6b9
--- /dev/null
+++ b/doc/source/image_src/PowerStates.odp
Binary files differ
diff --git a/doc/source/images/PowerStates1.png b/doc/source/images/PowerStates1.png
new file mode 100644
index 000000000..ff69d5a61
--- /dev/null
+++ b/doc/source/images/PowerStates1.png
Binary files differ
diff --git a/doc/source/images/PowerStates2.png b/doc/source/images/PowerStates2.png
new file mode 100644
index 000000000..0b343e692
--- /dev/null
+++ b/doc/source/images/PowerStates2.png
Binary files differ
diff --git a/doc/source/images/run_instance_walkthrough.png b/doc/source/images/run_instance_walkthrough.png
new file mode 100644
index 000000000..b9e15143e
--- /dev/null
+++ b/doc/source/images/run_instance_walkthrough.png
Binary files differ