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 39a671dfd889148d69d2f75285d194a4705c35cc.
This commit is contained in:
Nitin Mehta 2014-12-05 15:24:09 +05:30
parent 131dca84dd
commit 24aaf19239

View File

@ -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;