mirror of https://github.com/apache/cloudstack.git
fixed CLOUDSTACK-6261: remove the forceful timeout setting when login to NetScaler.
This commit is contained in:
parent
d51e8f44ae
commit
e07d0ddabf
|
|
@ -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);
|
||||
_netscalerService.set_certvalidation(false);
|
||||
_netscalerService.set_hostnameverification(false);
|
||||
apiCallResult = _netscalerService.login();
|
||||
|
|
@ -984,7 +982,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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue