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:
Nitin Mehta 2014-12-05 15:24:09 +05:30
parent 131dca84dd
commit 24aaf19239
1 changed files with 1 additions and 1 deletions

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;