Revision ae32c481 src/oca/ruby/opennebula/virtual_machine.rb

View differences:

src/oca/ruby/opennebula/virtual_machine.rb
54 54
            SHUTDOWN CANCEL FAILURE CLEANUP_RESUBMIT UNKNOWN HOTPLUG SHUTDOWN_POWEROFF
55 55
            BOOT_UNKNOWN BOOT_POWEROFF BOOT_SUSPENDED BOOT_STOPPED CLEANUP_DELETE
56 56
            HOTPLUG_SNAPSHOT HOTPLUG_NIC HOTPLUG_SAVEAS HOTPLUG_SAVEAS_POWEROFF
57
            HOTPLUG_SAVEAS_SUSPENDED UNDEPLOYING EPILOG_UNDEPLOY PROLOG_UNDEPLOY}
57
            HOTPLUG_SAVEAS_SUSPENDED SHUTDOWN_UNDEPLOY EPILOG_UNDEPLOY PROLOG_UNDEPLOY}
58 58

  
59 59
        SHORT_VM_STATES={
60 60
            "INIT"      => "init",
......
66 66
            "DONE"      => "done",
67 67
            "FAILED"    => "fail",
68 68
            "POWEROFF"  => "poff",
69
            "UNDEPLOYING"  => "unde"
69
            "UNDEPLOYED"=> "unde"
70 70
        }
71 71

  
72 72
        SHORT_LCM_STATES={
......
98 98
            "HOTPLUG_SAVEAS"           => "hotp",
99 99
            "HOTPLUG_SAVEAS_POWEROFF"  => "hotp",
100 100
            "HOTPLUG_SAVEAS_SUSPENDED" => "hotp",
101
            "UNDEPLOYING"       => "unde",
101
            "SHUTDOWN_UNDEPLOY" => "shut",
102 102
            "EPILOG_UNDEPLOY"   => "epil",
103 103
            "PROLOG_UNDEPLOY"   => "prol"
104 104
        }

Also available in: Unified diff