You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by gi...@git.apache.org on 2017/10/03 09:19:44 UTC

[GitHub] remibergsma commented on a change in pull request #2273: CLOUDSTACK-10090:createPortForwardingRule api call accepts 'halt' as ?

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_r142351239
 
 

 ##########
 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:
   Never mind
 
----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services