Merge pull request #1882 from Accelerite/CLOUDSTACK-8737_CodeCleanup

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

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

Signed-off-by: Rajani Karuturi <rajani.karuturi@accelerite.com>
This commit is contained in:
Rajani Karuturi 2017-02-21 17:30:55 +05:30
commit 50147a4208

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 {