You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by se...@apache.org on 2015/03/05 11:00:46 UTC

git commit: updated refs/heads/4.4 to 936d883

Repository: cloudstack
Updated Branches:
  refs/heads/4.4 212b34f08 -> 936d88382


CreatePortForwardingRuleCmd: Fix typos and update descriptions.

Signed-off-by: Sebastien Goasguen <ru...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/936d8838
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/936d8838
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/936d8838

Branch: refs/heads/4.4
Commit: 936d8838234495a440db298e3f8ddf6d6740217c
Parents: 212b34f
Author: René Moser <ma...@renemoser.net>
Authored: Wed Mar 4 14:51:02 2015 +0100
Committer: Sebastien Goasguen <ru...@gmail.com>
Committed: Thu Mar 5 11:00:14 2015 +0100

----------------------------------------------------------------------
 .../user/firewall/CreatePortForwardingRuleCmd.java        | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/936d8838/api/src/org/apache/cloudstack/api/command/user/firewall/CreatePortForwardingRuleCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/firewall/CreatePortForwardingRuleCmd.java b/api/src/org/apache/cloudstack/api/command/user/firewall/CreatePortForwardingRuleCmd.java
index 865cd1b..52adfef 100644
--- a/api/src/org/apache/cloudstack/api/command/user/firewall/CreatePortForwardingRuleCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/firewall/CreatePortForwardingRuleCmd.java
@@ -111,21 +111,21 @@ public class CreatePortForwardingRuleCmd extends BaseAsyncCreateCmd implements P
     @Parameter(name = ApiConstants.CIDR_LIST, type = CommandType.LIST, collectionType = CommandType.STRING, description = "the cidr list to forward traffic from")
     private List<String> cidrlist;
 
-    @Parameter(name = ApiConstants.OPEN_FIREWALL, type = CommandType.BOOLEAN, description = "if true, firewall rule for source/end pubic port is automatically created; "
-        + "if false - firewall rule has to be created explicitely. If not specified 1) defaulted to false when PF"
+    @Parameter(name = ApiConstants.OPEN_FIREWALL, type = CommandType.BOOLEAN, description = "if true, firewall rule for source/end public port is automatically created; "
+        + "if false - firewall rule has to be created explicitly. If not specified 1) defaulted to false when PF"
         + " rule is being created for VPC guest network 2) in all other cases defaulted to true")
     private Boolean openFirewall;
 
     @Parameter(name = ApiConstants.NETWORK_ID,
                type = CommandType.UUID,
                entityType = NetworkResponse.class,
-               description = "The network of the vm the Port Forwarding rule will be created for. "
-                   + "Required when public Ip address is not associated with any Guest network yet (VPC case)")
+               description = "the network of the virtual machine the port forwarding rule will be created for. "
+                   + "Required when public IP address is not associated with any guest network yet (VPC case).")
     private Long networkId;
     @Parameter(name = ApiConstants.VM_GUEST_IP,
                type = CommandType.STRING,
                required = false,
-    description = "VM guest nic Secondary ip address for the port forwarding rule")
+    description = "VM guest nic secondary IP address for the port forwarding rule")
     private String vmSecondaryIp;
 
     @Parameter(name = ApiConstants.FOR_DISPLAY, type = CommandType.BOOLEAN, description = "an optional field, whether to the display the rule to the end user or not", since = "4.4", authorized = {RoleType.Admin})