Skip to content

Commit d3af2db

Browse files
CLOUDSTACK-6886 - Fixed the issue created by the SSL feature with the SDX:
1 parent 173909e commit d3af2db

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public boolean configure(String name, Map<String, Object> params) throws Configu
247247

248248
//enable load balancing feature
249249
enableLoadBalancingFeature();
250-
SSL.enableSslFeature(_netscalerService);
250+
SSL.enableSslFeature(_netscalerService, _isSdx);
251251

252252
//if the the device is cloud stack provisioned then make it part of the public network
253253
if (_cloudManaged) {
@@ -1910,7 +1910,10 @@ private static void uploadKey(String nsIp, String user, String password, String
19101910
}
19111911
}
19121912

1913-
private static void enableSslFeature(nitro_service ns) throws ExecutionException {
1913+
private static void enableSslFeature(nitro_service ns, boolean isSdx) throws ExecutionException {
1914+
if (isSdx) {
1915+
return;
1916+
}
19141917
try {
19151918
base_response result = ns.enable_features(new String[] {"SSL"});
19161919
if (result.errorcode != 0)

0 commit comments

Comments
 (0)