Only issue CheckRouterCommand to redundant routers

This commit is contained in:
Sheng Yang 2011-06-09 18:15:04 -07:00
parent 99d1cb4718
commit d9fb62d819
1 changed files with 3 additions and 0 deletions

View File

@ -704,6 +704,9 @@ public class VirtualNetworkApplianceManagerImpl implements VirtualNetworkApplian
s_logger.debug("Found " + routers.size() + " running routers. ");
for (DomainRouterVO router : routers) {
if (!router.getIsRedundantRouter()) {
continue;
}
String privateIP = router.getPrivateIpAddress();
HostVO host = _hostDao.findById(router.getHostId());
/* Only cover hosts managed by this management server */