Repository: cloudstack Updated Branches: refs/heads/4.3 2a72afdc4 -> 5563a7314
fixed CLOUDSTACK-6261: remove the forceful timeout setting when login to NetScaler. (cherry picked from commit e07d0ddabfedad137856c3c9ae7de3a96fe25feb) Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com> Conflicts: plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5563a731 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5563a731 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5563a731 Branch: refs/heads/4.3 Commit: 5563a7314e4ec1d4dcc5674dfa831fd0328c06a9 Parents: 2a72afd Author: Sujaya Maiyya <sujaya.mai...@citrix.com> Authored: Tue Jul 8 14:42:39 2014 +0530 Committer: Rohit Yadav <rohit.ya...@shapeblue.com> Committed: Fri Nov 21 18:45:53 2014 +0530 ---------------------------------------------------------------------- .../src/com/cloud/network/resource/NetscalerResource.java | 3 --- 1 file changed, 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5563a731/plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java ---------------------------------------------------------------------- diff --git a/plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java b/plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java index 5142d96..114cee0 100644 --- a/plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java +++ b/plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java @@ -171,7 +171,6 @@ public class NetscalerResource implements ServerResource { // interface to interact with service VM of the SDX appliance com.citrix.sdx.nitro.service.nitro_service _netscalerSdxService; - Long _timeout = new Long(100000); base_response apiCallResult; public NetscalerResource () { @@ -294,7 +293,6 @@ public class NetscalerResource implements ServerResource { if (!_isSdx) { _netscalerService = new nitro_service(_ip, "https"); _netscalerService.set_credential(_username, _password); - _netscalerService.set_timeout(_timeout); apiCallResult = _netscalerService.login(); if (apiCallResult.errorcode != 0) { throw new ExecutionException ("Failed to log in to Netscaler device at " + _ip + " due to error " + apiCallResult.errorcode + " and message " + apiCallResult.message); @@ -973,7 +971,6 @@ public class NetscalerResource implements ServerResource { try { nitro_service _netscalerService = new nitro_service(cmd.getLoadBalancerIP(), "https"); _netscalerService.set_credential(username, password); - _netscalerService.set_timeout(_timeout); apiCallResult = _netscalerService.login(); if (apiCallResult.errorcode == 0) { nsServiceUp = true;