Revision 39c0686c include/VirtualMachine.h

View differences:

include/VirtualMachine.h
138 138
        SHUTDOWN_UNDEPLOY   = 29,
139 139
        EPILOG_UNDEPLOY     = 30,
140 140
        PROLOG_UNDEPLOY     = 31,
141
        BOOT_UNDEPLOY       = 32
141
        BOOT_UNDEPLOY       = 32,
142
        BOOT_MIGRATE        = 33,
143
        BOOT_FAILURE        = 34,
144
        BOOT_MIGRATE_FAILURE= 35
142 145
    };
143 146

  
144 147
    static int lcm_state_from_str(string& st, LcmState& state)
......
178 181
        else if ( st == "EPILOG_UNDEPLOY") { state = EPILOG_UNDEPLOY; }
179 182
        else if ( st == "PROLOG_UNDEPLOY") { state = PROLOG_UNDEPLOY; }
180 183
        else if ( st == "BOOT_UNDEPLOY") { state = BOOT_UNDEPLOY; }
184
        else if ( st == "BOOT_MIGRATE") { state = BOOT_MIGRATE; }
185
        else if ( st == "BOOT_FAILURE") { state = BOOT_FAILURE; }
186
        else if ( st == "BOOT_MIGRATE_FAILURE") { state = BOOT_MIGRATE_FAILURE; }
181 187
        else {return -1;}
182 188

  
183 189
        return 0;
......
220 226
            case EPILOG_UNDEPLOY: st = "EPILOG_UNDEPLOY"; break;
221 227
            case PROLOG_UNDEPLOY: st = "PROLOG_UNDEPLOY"; break;
222 228
            case BOOT_UNDEPLOY: st = "BOOT_UNDEPLOY"; break;
229
            case BOOT_MIGRATE: st = "BOOT_MIGRATE"; break;
230
            case BOOT_FAILURE: st = "BOOT_FAILURE"; break;
231
            case BOOT_MIGRATE_FAILURE: st = "BOOT_MIGRATE_FAILURE"; break;
223 232
        }
224 233

  
225 234
        return st;

Also available in: Unified diff