Revision 98c8f9fb
share/doc/states/states-complete.dot | ||
---|---|---|
19 | 19 |
"ANY \\ {suspended,poweroff,done}" [ shape="box" ]; |
20 | 20 |
|
21 | 21 |
subgraph { rank = min; user} |
22 |
subgraph { rank = same; boot; boot_stopped boot_suspended; boot_unknown; boot_poweroff; unknown; color="white"} |
|
22 |
subgraph { rank = same; boot; boot_stopped; boot_undeploy; boot_suspended; boot_unknown; boot_poweroff; unknown; color="white"}
|
|
23 | 23 |
subgraph { rank = same; pending; hold; color="white"} |
24 | 24 |
subgraph { rank = same; prolog; prolog_resume; prolog_migrate; color="white" } |
25 | 25 |
// subgraph { rank = same; prolog; prolog_resume; prolog_migrate; save_migrate; color="white" } |
26 | 26 |
|
27 | 27 |
subgraph { rank = max; suspended; done; failure; |
28 |
stopped; poweroff; ANY; color="white" } |
|
29 |
// stopped; poweroff; color="white" } |
|
28 |
stopped; undeployed; poweroff; ANY; color="white" } |
|
30 | 29 |
|
31 | 30 |
# create |
32 | 31 |
user -> pending [label="create"]; |
... | ... | |
35 | 34 |
pending -> prolog_resume [label="deploy\n(from stopped)"]; |
36 | 35 |
prolog_resume -> boot_stopped [style="dashed"]; |
37 | 36 |
|
37 |
pending -> prolog_undeploy [label="deploy\n(from undeployed)"]; |
|
38 |
prolog_undeploy -> boot_undeploy [style="dashed"]; |
|
39 |
|
|
38 | 40 |
pending -> prolog [label="deploy"]; |
39 | 41 |
prolog -> boot [style="dashed"]; |
40 | 42 |
boot -> running [style="dashed"]; |
... | ... | |
52 | 54 |
cancel -> running [style="dotted"]; |
53 | 55 |
|
54 | 56 |
# poweroff |
55 |
running -> shutdown_poweroff [label="poweroff"]; |
|
57 |
running -> shutdown_poweroff [label="poweroff [--hard]"];
|
|
56 | 58 |
shutdown_poweroff -> poweroff [style="dashed"]; |
57 | 59 |
|
58 | 60 |
shutdown_poweroff -> running [style="dotted"]; |
... | ... | |
79 | 81 |
save_stop -> running [style="dotted"]; |
80 | 82 |
epilog_stop -> stopped [style="dashed"]; |
81 | 83 |
|
84 |
# undeploy |
|
85 |
running -> shutdown_undeploy [label="undeploy [--hard]"]; |
|
86 |
shutdown_undeploy -> epilog_undeploy [style="dashed"]; |
|
87 |
shutdown_undeploy -> running [style="dotted"]; |
|
88 |
epilog_undeploy -> undeployed [style="dashed"]; |
|
89 |
|
|
82 | 90 |
# suspend |
83 | 91 |
running -> save_suspend [label="suspend"]; |
84 | 92 |
save_suspend -> suspended [style="dashed"]; |
... | ... | |
88 | 96 |
stopped -> pending [label="resume"]; |
89 | 97 |
boot_stopped -> running [style="dashed"]; |
90 | 98 |
|
99 |
undeployed -> pending [label="resume"]; |
|
100 |
boot_undeploy -> running [style="dashed"]; |
|
101 |
|
|
91 | 102 |
suspended -> boot_suspended [label="resume"]; |
92 | 103 |
boot_suspended -> running [style="dashed"]; |
93 | 104 |
|
... | ... | |
105 | 116 |
boot_suspended -> boot_suspended [label="boot"]; |
106 | 117 |
boot_stopped -> boot_stopped [label="boot"]; |
107 | 118 |
boot_poweroff -> boot_poweroff [label="boot"]; |
119 |
boot_undeploy -> boot_undeploy [label="boot"]; |
|
108 | 120 |
|
109 | 121 |
unknown -> boot_unknown [label="boot"]; |
110 | 122 |
boot_unknown -> boot_unknown [label="boot"]; |
... | ... | |
138 | 150 |
# failures and misc. |
139 | 151 |
epilog_stop -> failure [style="dotted"]; |
140 | 152 |
epilog -> failure [style="dotted"]; |
153 |
epilog_undeploy -> failure [style="dotted"]; |
|
141 | 154 |
|
142 | 155 |
prolog -> failure [style="dotted"]; |
143 | 156 |
prolog_migrate -> failure [style="dotted"]; |
144 | 157 |
prolog_resume -> stopped [style="dotted"]; |
158 |
prolog_undeploy -> undeployed [style="dotted"]; |
|
145 | 159 |
|
146 | 160 |
boot -> failure [style="dotted"]; |
147 | 161 |
boot_poweroff -> poweroff [style="dotted"]; |
148 | 162 |
boot_unknown -> unknown [style="dotted"]; |
149 | 163 |
boot_suspended -> suspended [style="dotted"]; |
150 | 164 |
boot_stopped -> epilog_stop [style="dotted"]; |
165 |
boot_undeploy -> epilog_undeploy [style="dotted"]; |
|
151 | 166 |
|
152 | 167 |
running -> failure [style="dotted"]; |
153 | 168 |
unknown -> failure [style="dotted"]; |
share/doc/states/states-simple.dot | ||
---|---|---|
19 | 19 |
"ANY \\ {suspended,poweroff,done}" [ shape="box" ]; |
20 | 20 |
|
21 | 21 |
subgraph { rank = min; user} |
22 |
# subgraph { rank = same; pending; hold; color="white"}
|
|
23 |
subgraph { rank = same; prolog; boot; color="white" } |
|
22 |
subgraph { rank = same; pending; hold; color="white"} |
|
23 |
# subgraph { rank = same; prolog; boot; color="white" }
|
|
24 | 24 |
subgraph { rank = same; migrate; save; shutdown; unknown; hotplug; snapshot; |
25 | 25 |
color="white" } |
26 |
subgraph { rank = max; suspended; done; failure; stopped; poweroff; color="white" } |
|
26 |
subgraph { rank = max; suspended; done; failure; stopped; poweroff; undeployed; color="white" }
|
|
27 | 27 |
|
28 | 28 |
# create |
29 | 29 |
user -> pending [label="create"]; |
... | ... | |
36 | 36 |
# shutdown |
37 | 37 |
running -> shutdown [label="shutdown"]; |
38 | 38 |
shutdown -> epilog [label="shutdown", style="dashed"]; |
39 |
epilog -> done [style="dashed"]; |
|
39 |
epilog -> done [label="shutdown", style="dashed"];
|
|
40 | 40 |
|
41 | 41 |
# poweroff |
42 | 42 |
running -> shutdown [label="poweroff"]; |
... | ... | |
62 | 62 |
save -> epilog [label="stop", style="dashed"]; |
63 | 63 |
epilog -> stopped [label="stop", style="dashed"]; |
64 | 64 |
|
65 |
# undeploy |
|
66 |
running -> shutdown [label="undeploy"]; |
|
67 |
shutdown -> epilog [label="undeploy", style="dashed"]; |
|
68 |
epilog -> undeployed [label="undeploy", style="dashed"]; |
|
69 |
|
|
65 | 70 |
# suspend |
66 | 71 |
running -> save [label="suspend"]; |
67 | 72 |
save -> suspended [label="suspend", style="dashed"]; |
68 | 73 |
|
69 | 74 |
# resume |
70 | 75 |
stopped -> pending [label="resume"]; |
76 |
undeployed -> pending [label="resume"]; |
|
71 | 77 |
suspended -> boot [label="resume"]; |
72 | 78 |
poweroff -> boot [label="resume"]; |
73 | 79 |
|
share/doc/xsd/acct.xsd | ||
---|---|---|
77 | 77 |
DONE = 6 |
78 | 78 |
FAILED = 7 |
79 | 79 |
POWEROFF = 8 |
80 |
UNDEPLOYED = 9 |
|
80 | 81 |
--> |
81 | 82 |
<xs:element name="STATE" type="xs:integer"/> |
82 | 83 |
|
... | ... | |
111 | 112 |
HOTPLUG_NIC = 25, |
112 | 113 |
HOTPLUG_SAVEAS = 26, |
113 | 114 |
HOTPLUG_SAVEAS_POWEROFF = 27, |
114 |
HOTPLUG_SAVEAS_SUSPENDED = 28 |
|
115 |
HOTPLUG_SAVEAS_SUSPENDED = 28, |
|
116 |
SHUTDOWN_UNDEPLOY = 29, |
|
117 |
EPILOG_UNDEPLOY = 30, |
|
118 |
PROLOG_UNDEPLOY = 31, |
|
119 |
BOOT_UNDEPLOY = 32 |
|
115 | 120 |
--> |
116 | 121 |
<xs:element name="LCM_STATE" type="xs:integer"/> |
117 | 122 |
<xs:element name="RESCHED" type="xs:integer"/> |
share/doc/xsd/vm.xsd | ||
---|---|---|
39 | 39 |
DONE = 6 |
40 | 40 |
FAILED = 7 |
41 | 41 |
POWEROFF = 8 |
42 |
UNDEPLOYED = 9 |
|
42 | 43 |
--> |
43 | 44 |
<xs:element name="STATE" type="xs:integer"/> |
44 | 45 |
|
... | ... | |
73 | 74 |
HOTPLUG_NIC = 25, |
74 | 75 |
HOTPLUG_SAVEAS = 26, |
75 | 76 |
HOTPLUG_SAVEAS_POWEROFF = 27, |
76 |
HOTPLUG_SAVEAS_SUSPENDED = 28 |
|
77 |
HOTPLUG_SAVEAS_SUSPENDED = 28, |
|
78 |
SHUTDOWN_UNDEPLOY = 29, |
|
79 |
EPILOG_UNDEPLOY = 30, |
|
80 |
PROLOG_UNDEPLOY = 31, |
|
81 |
BOOT_UNDEPLOY = 32 |
|
77 | 82 |
--> |
78 | 83 |
<xs:element name="LCM_STATE" type="xs:integer"/> |
79 | 84 |
<xs:element name="RESCHED" type="xs:integer"/> |
Also available in: Unified diff