Skip to content

Commit 877c2d2

Browse files
CLOUDSTACK-6886: fixed netscaler sdx issue with the ssl feature
1 parent c9383c4 commit 877c2d2

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
@@ -248,7 +248,7 @@ public boolean configure(String name, Map<String, Object> params) throws Configu
248248

249249
//enable load balancing feature
250250
enableLoadBalancingFeature();
251-
SSL.enableSslFeature(_netscalerService);
251+
SSL.enableSslFeature(_netscalerService, _isSdx);
252252

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

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

0 commit comments

Comments
 (0)