|
16 | 16 | // under the License. |
17 | 17 | package com.cloud.hypervisor.xen.discoverer; |
18 | 18 |
|
19 | | -import java.net.InetAddress; |
20 | | -import java.net.URI; |
21 | | -import java.net.UnknownHostException; |
22 | | -import java.util.HashMap; |
23 | | -import java.util.LinkedList; |
24 | | -import java.util.List; |
25 | | -import java.util.Map; |
26 | | -import java.util.Queue; |
27 | | -import java.util.Set; |
28 | | - |
29 | | -import javax.ejb.Local; |
30 | | -import javax.inject.Inject; |
31 | | -import javax.naming.ConfigurationException; |
32 | | -import javax.persistence.EntityExistsException; |
33 | | - |
34 | | -import org.apache.log4j.Logger; |
35 | | -import org.apache.xmlrpc.XmlRpcException; |
36 | | - |
37 | 19 | import com.cloud.agent.AgentManager; |
38 | 20 | import com.cloud.agent.Listener; |
39 | 21 | import com.cloud.agent.api.AgentControlAnswer; |
|
75 | 57 | import com.cloud.hypervisor.xen.resource.XenServer620SP1Resource; |
76 | 58 | import com.cloud.hypervisor.xen.resource.XenServerConnectionPool; |
77 | 59 | import com.cloud.hypervisor.xen.resource.Xenserver625Resource; |
78 | | -import org.apache.cloudstack.hypervisor.xenserver.XenserverConfigs; |
79 | 60 | import com.cloud.resource.Discoverer; |
80 | 61 | import com.cloud.resource.DiscovererBase; |
81 | 62 | import com.cloud.resource.ResourceStateAdapter; |
|
93 | 74 | import com.cloud.utils.exception.HypervisorVersionChangedException; |
94 | 75 | import com.xensource.xenapi.Connection; |
95 | 76 | import com.xensource.xenapi.Host; |
| 77 | +import com.xensource.xenapi.HostPatch; |
96 | 78 | import com.xensource.xenapi.Pool; |
97 | | -import com.xensource.xenapi.Session; |
98 | 79 | import com.xensource.xenapi.PoolPatch; |
99 | | -import com.xensource.xenapi.HostPatch; |
| 80 | +import com.xensource.xenapi.Session; |
100 | 81 | import com.xensource.xenapi.Types.SessionAuthenticationFailed; |
101 | | -import com.xensource.xenapi.Types.XenAPIException; |
102 | 82 | import com.xensource.xenapi.Types.UuidInvalid; |
| 83 | +import com.xensource.xenapi.Types.XenAPIException; |
| 84 | +import org.apache.cloudstack.hypervisor.xenserver.XenserverConfigs; |
| 85 | +import org.apache.log4j.Logger; |
| 86 | +import org.apache.xmlrpc.XmlRpcException; |
| 87 | + |
| 88 | +import javax.ejb.Local; |
| 89 | +import javax.inject.Inject; |
| 90 | +import javax.naming.ConfigurationException; |
| 91 | +import javax.persistence.EntityExistsException; |
| 92 | +import java.net.InetAddress; |
| 93 | +import java.net.URI; |
| 94 | +import java.net.UnknownHostException; |
| 95 | +import java.util.HashMap; |
| 96 | +import java.util.LinkedList; |
| 97 | +import java.util.List; |
| 98 | +import java.util.Map; |
| 99 | +import java.util.Queue; |
| 100 | +import java.util.Set; |
103 | 101 |
|
104 | 102 |
|
105 | 103 | @Local(value = Discoverer.class) |
@@ -344,6 +342,7 @@ protected boolean poolHasHotFix(Connection conn, String hostIp, String hotFixUui |
344 | 342 | boolean securityGroupEnabled = zone.isSecurityGroupEnabled(); |
345 | 343 | params.put("securitygroupenabled", Boolean.toString(securityGroupEnabled)); |
346 | 344 |
|
| 345 | + params.put("router.aggregation.command.each.timeout", _configDao.getValue(Config.RouterAggregationCommandEachTimeout.toString())); |
347 | 346 | params.put("wait", Integer.toString(_wait)); |
348 | 347 | details.put("wait", Integer.toString(_wait)); |
349 | 348 | params.put("migratewait", _configDao.getValue(Config.MigrateWait.toString())); |
|
0 commit comments