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:02:30 UTC

git commit: updated refs/heads/4.5 to e39ec27

Repository: cloudstack
Updated Branches:
  refs/heads/4.5 04efdce90 -> e39ec2767


CreatePortForwardingRuleCmd: Fix typos and update descriptions.

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

This closes #94


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

Branch: refs/heads/4.5
Commit: e39ec2767ea36d713be737aa36d621b5b4928786
Parents: 04efdce
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:02:05 2015 +0100

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e39ec276/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 3247af8..122cad0 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})