mirror of https://github.com/apache/cloudstack.git
Revert "CLOUDSTACK-7919: If there is an out of band movement for the VR, irrespective of the fact that came as out of band live migrate or HA, reboot the router to make sure the router has all the rules configured."
This reverts commit 39a671dfd8.
This commit is contained in:
parent
131dca84dd
commit
24aaf19239
|
|
@ -2574,7 +2574,7 @@ Configurable, StateListener<State, VirtualMachine.Event, VirtualMachine> {
|
|||
public boolean postStateTransitionEvent(final StateMachine2.Transition<State, VirtualMachine.Event> transition, final VirtualMachine vo, final boolean status, final Object opaque) {
|
||||
final State newState = transition.getToState();
|
||||
final VirtualMachine.Event event = transition.getEvent();
|
||||
if (event == VirtualMachine.Event.FollowAgentPowerOnReport && newState == State.Running) {
|
||||
if (oldState == State.Stopped && event == VirtualMachine.Event.FollowAgentPowerOnReport && newState == State.Running) {
|
||||
if (vo.getType() == VirtualMachine.Type.DomainRouter) {
|
||||
if (opaque != null && opaque instanceof Pair<?, ?>) {
|
||||
Pair<?, ?> pair = (Pair<?, ?>)opaque;
|
||||
|
|
|
|||
Loading…
Reference in New Issue