mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
bug 13146: Netscaler - Editing the algorithm from "source" to "roundrobin" fails
status 13146: resolved fixed
This commit is contained in:
parent
44f248b9a5
commit
cf75552186
@ -1121,6 +1121,12 @@ public class NetscalerResource implements ServerResource {
|
||||
vserver.set_servicetype(lbProtocol);
|
||||
vserver.set_lbmethod(lbMethod);
|
||||
|
||||
// netmask can only be set for source IP load balancer algorithm
|
||||
if (!lbMethod.equalsIgnoreCase("SOURCEIPHASH")) {
|
||||
vserver.set_netmask(null);
|
||||
vserver.set_v6netmasklen(null);
|
||||
}
|
||||
|
||||
if ((stickyPolicies != null) && (stickyPolicies.length > 0) && (stickyPolicies[0] != null)){
|
||||
long timeout = 2;// netscaler default 2 min
|
||||
String cookieName = null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user