mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-24 02:03:52 +03:00
Update VM state diagrams
(cherry picked from commit aab607da3578d451a140545b19fef40940b16402)
This commit is contained in:
parent
df9ff281c7
commit
e333f58bde
@ -81,8 +81,12 @@ digraph OpenNebula {
|
||||
unknown -> boot [label="restart"];
|
||||
boot -> boot [label="restart"];
|
||||
|
||||
# reboot
|
||||
running -> running [label="reboot"];
|
||||
# reboot, reset
|
||||
running -> running [label="reboot / reset"];
|
||||
|
||||
# attachdisk
|
||||
running -> hotplug [label="attachdisk / detachdisk"]
|
||||
hotplug -> running [style="dashed"];
|
||||
|
||||
# resubmit
|
||||
"ANY \\ {suspended,done}" -> pending [label="resubmit"];
|
||||
|
@ -21,7 +21,8 @@ digraph OpenNebula {
|
||||
subgraph { rank = min; user}
|
||||
# subgraph { rank = same; pending; hold; color="white"}
|
||||
subgraph { rank = same; prolog; boot; color="white" }
|
||||
subgraph { rank = same; migrate; save; shutdown; unknown; color="white" }
|
||||
subgraph { rank = same; migrate; save; shutdown; unknown; hotplug;
|
||||
color="white" }
|
||||
subgraph { rank = max; suspended; done; failure; stopped; color="white" }
|
||||
|
||||
# create
|
||||
@ -75,8 +76,12 @@ digraph OpenNebula {
|
||||
unknown -> boot [label="restart"];
|
||||
boot -> boot [label="restart"];
|
||||
|
||||
# reboot
|
||||
running -> running [label="reboot"];
|
||||
# reboot, reset
|
||||
running -> running [label="reboot / reset"];
|
||||
|
||||
# attachdisk
|
||||
running -> hotplug [label="attachdisk / detachdisk"]
|
||||
hotplug -> running [style="dashed"];
|
||||
|
||||
# resubmit
|
||||
"ANY \\ {suspended,done}" -> pending [label="resubmit"];
|
||||
|
@ -64,7 +64,7 @@
|
||||
<xs:element name="LAST_POLL" type="xs:integer"/>
|
||||
|
||||
<!-- STATE values,
|
||||
see http://opennebula.org/_media/documentation:rel3.2:states-complete.png
|
||||
see http://opennebula.org/_media/documentation:rel3.6:states-complete.png
|
||||
|
||||
INIT = 0
|
||||
PENDING = 1
|
||||
@ -97,6 +97,7 @@
|
||||
FAILURE = 14
|
||||
CLEANUP = 15
|
||||
UNKNOWN = 16
|
||||
HOTPLUG = 17
|
||||
-->
|
||||
<xs:element name="LCM_STATE" type="xs:integer"/>
|
||||
<xs:element name="RESCHED" type="xs:integer"/>
|
||||
|
@ -32,6 +32,18 @@
|
||||
<xs:element name="PATH" type="xs:string"/>
|
||||
<xs:element name="FSTYPE" type="xs:string"/>
|
||||
<xs:element name="SIZE" type="xs:integer"/>
|
||||
|
||||
<!-- STATE values,
|
||||
INIT = 0, Initialization state
|
||||
READY = 1, Image ready to use
|
||||
USED = 2, Image in use
|
||||
DISABLED = 3, Image can not be instantiated by a VM
|
||||
LOCKED = 4, FS operation for the Image in process
|
||||
ERROR = 5, Error state the operation FAILED
|
||||
CLONE = 6, Image is being cloned
|
||||
DELETE = 7, DS is deleting the image
|
||||
USED_PERS = 8, Image is in use and persistent
|
||||
-->
|
||||
<xs:element name="STATE" type="xs:integer"/>
|
||||
<xs:element name="RUNNING_VMS" type="xs:integer"/>
|
||||
<xs:element name="CLONING_OPS" type="xs:integer"/>
|
||||
|
@ -28,7 +28,7 @@
|
||||
<xs:element name="LAST_POLL" type="xs:integer"/>
|
||||
|
||||
<!-- STATE values,
|
||||
see http://opennebula.org/_media/documentation:rel3.2:states-complete.png
|
||||
see http://opennebula.org/_media/documentation:rel3.6:states-complete.png
|
||||
|
||||
INIT = 0
|
||||
PENDING = 1
|
||||
@ -61,6 +61,7 @@
|
||||
FAILURE = 14
|
||||
CLEANUP = 15
|
||||
UNKNOWN = 16
|
||||
HOTPLUG = 17
|
||||
-->
|
||||
<xs:element name="LCM_STATE" type="xs:integer"/>
|
||||
<xs:element name="RESCHED" type="xs:integer"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user