Revision 5f689eb2 src/oca/ruby/opennebula/virtual_machine.rb

View differences:

src/oca/ruby/opennebula/virtual_machine.rb
55 55
            BOOT_UNKNOWN BOOT_POWEROFF BOOT_SUSPENDED BOOT_STOPPED CLEANUP_DELETE
56 56
            HOTPLUG_SNAPSHOT HOTPLUG_NIC HOTPLUG_SAVEAS HOTPLUG_SAVEAS_POWEROFF
57 57
            HOTPLUG_SAVEAS_SUSPENDED SHUTDOWN_UNDEPLOY EPILOG_UNDEPLOY
58
            PROLOG_UNDEPLOY BOOT_UNDEPLOY}
58
            PROLOG_UNDEPLOY BOOT_UNDEPLOY BOOT_MIGRATE BOOT_FAILURE BOOT_MIGRATE_FAILURE}
59 59

  
60 60
        SHORT_VM_STATES={
61 61
            "INIT"      => "init",
......
102 102
            "SHUTDOWN_UNDEPLOY" => "shut",
103 103
            "EPILOG_UNDEPLOY"   => "epil",
104 104
            "PROLOG_UNDEPLOY"   => "prol",
105
            "BOOT_UNDEPLOY"     => "boot"
105
            "BOOT_UNDEPLOY"     => "boot",
106
            "BOOT_MIGRATE"      => "boot",
107
            "BOOT_FAILURE"      => "fail",
108
            "BOOT_MIGRATE_FAILURE" => "fail"
106 109
        }
107 110

  
108 111
        MIGRATE_REASON=%w{NONE ERROR USER}

Also available in: Unified diff