mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-12 08:58:17 +03:00
Fine-tuning XEN Driver VM states. For ticket #27
git-svn-id: http://svn.opennebula.org/trunk@57 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
parent
e3bdd5c9b9
commit
1f46bf1a82
@ -258,12 +258,14 @@ class DM < ONEMad
|
||||
state.gsub!("-", "")
|
||||
|
||||
case state
|
||||
when "r", "b", "s"
|
||||
when "r", "b", "s","d"
|
||||
state="a" # alive
|
||||
when "p"
|
||||
state="p" # paused
|
||||
when "c"
|
||||
state="e" # error
|
||||
else
|
||||
state="e" # error
|
||||
state="u" # unknown
|
||||
end
|
||||
|
||||
data[index]=state
|
||||
|
Loading…
x
Reference in New Issue
Block a user