Revision ae32c481 src/lcm/LifeCycleStates.cc

View differences:

src/lcm/LifeCycleStates.cc
514 514

  
515 515
        dm->trigger(DispatchManager::POWEROFF_SUCCESS,vid);
516 516
    }
517
    else if (vm->get_lcm_state() == VirtualMachine::UNDEPLOYING)
517
    else if (vm->get_lcm_state() == VirtualMachine::SHUTDOWN_UNDEPLOY)
518 518
    {
519 519
        //----------------------------------------------------
520 520
        //            EPILOG_UNDEPLOY STATE
......
567 567

  
568 568
    if ( vm->get_lcm_state() == VirtualMachine::SHUTDOWN ||
569 569
         vm->get_lcm_state() == VirtualMachine::SHUTDOWN_POWEROFF ||
570
         vm->get_lcm_state() == VirtualMachine::UNDEPLOYING )
570
         vm->get_lcm_state() == VirtualMachine::SHUTDOWN_UNDEPLOY )
571 571
    {
572 572
        //----------------------------------------------------
573 573
        //    RUNNING STATE FROM SHUTDOWN
......
959 959

  
960 960
        tm->trigger(TransferManager::EPILOG,vid);
961 961
    }
962
    else if (vm->get_lcm_state() == VirtualMachine::UNDEPLOYING)
962
    else if (vm->get_lcm_state() == VirtualMachine::SHUTDOWN_UNDEPLOY)
963 963
    {
964 964
        //----------------------------------------------------
965 965
        //            EPILOG_UNDEPLOY STATE
......
1011 1011
    }
1012 1012

  
1013 1013
    if ( vm->get_lcm_state() == VirtualMachine::CANCEL ||
1014
         vm->get_lcm_state() == VirtualMachine::UNDEPLOYING )
1014
         vm->get_lcm_state() == VirtualMachine::SHUTDOWN_UNDEPLOY )
1015 1015
    {
1016 1016
        //----------------------------------------------------
1017 1017
        //    RUNNING STATE FROM CANCEL

Also available in: Unified diff