Skip to content

Commit 24aaf19

Browse files
committed
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 39a671d.
1 parent 131dca8 commit 24aaf19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2574,7 +2574,7 @@ public boolean preStateTransitionEvent(final State oldState, final VirtualMachin
25742574
public boolean postStateTransitionEvent(final StateMachine2.Transition<State, VirtualMachine.Event> transition, final VirtualMachine vo, final boolean status, final Object opaque) {
25752575
final State newState = transition.getToState();
25762576
final VirtualMachine.Event event = transition.getEvent();
2577-
if (event == VirtualMachine.Event.FollowAgentPowerOnReport && newState == State.Running) {
2577+
if (oldState == State.Stopped && event == VirtualMachine.Event.FollowAgentPowerOnReport && newState == State.Running) {
25782578
if (vo.getType() == VirtualMachine.Type.DomainRouter) {
25792579
if (opaque != null && opaque instanceof Pair<?, ?>) {
25802580
Pair<?, ?> pair = (Pair<?, ?>)opaque;

0 commit comments

Comments
 (0)