bug 11520: Include TrafficMonitor hosts also while scanning for direct agents to load

status 11520: resolved fixed
This commit is contained in:
kishan 2011-09-22 13:34:37 +05:30
parent e33dcfb71d
commit 19a17cbbf3
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ public class HostDaoImpl extends GenericDaoBase<HostVO, Long> implements HostDao
txn.start();
SearchCriteria<HostVO> sc = UnmanagedApplianceSearch.create();
sc.setParameters("lastPinged", lastPingSecondsAfter);
sc.setParameters("types", Type.ExternalDhcp, Type.ExternalFirewall, Type.ExternalLoadBalancer, Type.PxeServer);
sc.setParameters("types", Type.ExternalDhcp, Type.ExternalFirewall, Type.ExternalLoadBalancer, Type.PxeServer, Type.TrafficMonitor);
List<HostVO> hosts = lockRows(sc, null, true);
for (HostVO host : hosts) {