CLOUDSTACK-6886: fixed netscaler sdx issue with the ssl feature

This commit is contained in:
Will Stevens 2014-07-23 13:29:05 -04:00
parent c9383c441e
commit 877c2d2f6d
1 changed files with 5 additions and 2 deletions

View File

@ -248,7 +248,7 @@ public class NetscalerResource implements ServerResource {
//enable load balancing feature
enableLoadBalancingFeature();
SSL.enableSslFeature(_netscalerService);
SSL.enableSslFeature(_netscalerService, _isSdx);
//if the the device is cloud stack provisioned then make it part of the public network
if (_cloudManaged) {
@ -1909,7 +1909,10 @@ public class NetscalerResource implements ServerResource {
}
}
private static void enableSslFeature(nitro_service ns) throws ExecutionException {
private static void enableSslFeature(nitro_service ns, boolean isSdx) throws ExecutionException {
if (isSdx) {
return;
}
try {
base_response result = ns.enable_features(new String[] {"SSL"});
if (result.errorcode != 0)