mirror of https://github.com/apache/cloudstack.git
Merge remote-tracking branch 'origin/4.14'
This commit is contained in:
commit
5bea0a1ea4
|
|
@ -798,6 +798,13 @@ public class NetworkHelperImpl implements NetworkHelper {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
String lbProtocol = rule.getLbProtocol();
|
||||
if (lbProtocol != null && lbProtocol.toLowerCase().equals(NetUtils.UDP_PROTO)) {
|
||||
if (s_logger.isDebugEnabled()) {
|
||||
s_logger.debug("Can't create LB rule as haproxy does not support udp");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
for (final LoadBalancingRule.LbStickinessPolicy stickinessPolicy : rule.getStickinessPolicies()) {
|
||||
final List<Pair<String, String>> paramsList = stickinessPolicy.getParams();
|
||||
|
|
|
|||
Loading…
Reference in New Issue