From 19a17cbbf33fd65b652063704cd78862c1c9f4b4 Mon Sep 17 00:00:00 2001 From: kishan Date: Thu, 22 Sep 2011 13:34:37 +0530 Subject: [PATCH] bug 11520: Include TrafficMonitor hosts also while scanning for direct agents to load status 11520: resolved fixed --- server/src/com/cloud/host/dao/HostDaoImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/com/cloud/host/dao/HostDaoImpl.java b/server/src/com/cloud/host/dao/HostDaoImpl.java index 603459dd17b..25ffbec5546 100755 --- a/server/src/com/cloud/host/dao/HostDaoImpl.java +++ b/server/src/com/cloud/host/dao/HostDaoImpl.java @@ -397,7 +397,7 @@ public class HostDaoImpl extends GenericDaoBase implements HostDao txn.start(); SearchCriteria 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 hosts = lockRows(sc, null, true); for (HostVO host : hosts) {