mirror of https://github.com/apache/cloudstack.git
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:
commit
50147a4208
|
|
@ -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 {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue