CLOUDSTACK-6886 - Fixed the issue created by the SSL feature with the SDX:

This commit is contained in:
Will Stevens 2014-07-22 17:28:01 -04:00
parent 173909e99d
commit d3af2dbeca

View File

@ -247,7 +247,7 @@ public class NetscalerResource implements ServerResource {
//enable load balancing feature //enable load balancing feature
enableLoadBalancingFeature(); 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 the the device is cloud stack provisioned then make it part of the public network
if (_cloudManaged) { if (_cloudManaged) {
@ -1910,7 +1910,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 { try {
base_response result = ns.enable_features(new String[] {"SSL"}); base_response result = ns.enable_features(new String[] {"SSL"});
if (result.errorcode != 0) if (result.errorcode != 0)