CLOUDSTACK-8737: Removed the missed out-of-band VR reboot code, not required based on persistent VR changes.

This commit is contained in:
Suresh Kumar Anaparti 2016-12-30 15:38:08 +05:30
parent e02003d653
commit 0f35241aad
1 changed files with 0 additions and 19 deletions

View File

@ -2620,25 +2620,6 @@ Configurable, StateListener<VirtualMachine.State, VirtualMachine.Event, VirtualM
return false;
}
protected class RebootTask extends ManagedContextRunnable {
long _routerId;
public RebootTask(final long routerId) {
_routerId = routerId;
}
@Override
protected void runInContext() {
try {
s_logger.info("Reboot router " + _routerId + " to refresh network rules");
rebootRouter(_routerId, true);
} catch (final Exception e) {
s_logger.warn("Error while rebooting the router", e);
}
}
}
protected boolean aggregationExecution(final AggregationControlCommand.Action action, final Network network, final List<DomainRouterVO> routers)
throws AgentUnavailableException, ResourceUnavailableException {