mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-6886 - Fixed the issue created by the SSL feature with the SDX:
This commit is contained in:
parent
173909e99d
commit
d3af2dbeca
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user