remibergsma commented on a change in pull request #2273:
CLOUDSTACK-10090:createPortForwardingRule api call accepts 'halt' as ?
URL: https://github.com/apache/cloudstack/pull/2273#discussion_r141037332
##########
File path: server/src/com/cloud/network/element/VirtualRouterElement.java
##########
@@ -568,7 +570,10 @@ public static String getHAProxyStickinessCapability() {
capabilities.put(Service.SourceNat, sourceNatCapabilities);
capabilities.put(Service.StaticNat, null);
- capabilities.put(Service.PortForwarding, null);
+
+ final Map<Capability, String> portForwardingCapabilities = new
HashMap<Capability, String>();
+ portForwardingCapabilities.put(Capability.SupportedProtocols,
NetUtils.TCP_PROTO + "," + NetUtils.UDP_PROTO);
Review comment:
Why UDP? HAProxy cannot do UDP loadbalancing.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services