From 42b09d91f7815ebf9072123cc5bd1817dbf8750d Mon Sep 17 00:00:00 2001 From: Sandy Walsh Date: Sun, 6 May 2012 19:27:27 -0400 Subject: 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 --- doc/source/devref/index.rst | 1 + doc/source/devref/vmstates.rst | 24 ++++++++++++++++++++++++ doc/source/image_src/PowerStates.odp | Bin 0 -> 21916 bytes doc/source/images/PowerStates1.png | Bin 0 -> 175885 bytes doc/source/images/PowerStates2.png | Bin 0 -> 254760 bytes doc/source/images/run_instance_walkthrough.png | Bin 0 -> 163164 bytes 6 files changed, 25 insertions(+) create mode 100644 doc/source/devref/vmstates.rst create mode 100644 doc/source/image_src/PowerStates.odp create mode 100644 doc/source/images/PowerStates1.png create mode 100644 doc/source/images/PowerStates2.png create mode 100644 doc/source/images/run_instance_walkthrough.png (limited to 'doc/source') 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 Binary files /dev/null and b/doc/source/image_src/PowerStates.odp differ diff --git a/doc/source/images/PowerStates1.png b/doc/source/images/PowerStates1.png new file mode 100644 index 000000000..ff69d5a61 Binary files /dev/null and b/doc/source/images/PowerStates1.png differ diff --git a/doc/source/images/PowerStates2.png b/doc/source/images/PowerStates2.png new file mode 100644 index 000000000..0b343e692 Binary files /dev/null and b/doc/source/images/PowerStates2.png 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 Binary files /dev/null and b/doc/source/images/run_instance_walkthrough.png differ -- cgit