incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alena1...@apache.org
Subject git commit: CS-15628: ip address id is required by createFirewallRule command
Date Thu, 26 Jul 2012 20:38:27 GMT
Updated Branches:
  refs/heads/master 406fd95d8 -> 3f4b7602f


CS-15628: ip address id is required by createFirewallRule command


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

Branch: refs/heads/master
Commit: 3f4b7602f45b7cd2b797ae9826aac5deb81b6ed6
Parents: 406fd95
Author: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Authored: Thu Jul 26 13:30:37 2012 -0700
Committer: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Committed: Thu Jul 26 13:36:35 2012 -0700

----------------------------------------------------------------------
 .../cloud/api/commands/CreateFirewallRuleCmd.java  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/3f4b7602/api/src/com/cloud/api/commands/CreateFirewallRuleCmd.java
----------------------------------------------------------------------
diff --git a/api/src/com/cloud/api/commands/CreateFirewallRuleCmd.java b/api/src/com/cloud/api/commands/CreateFirewallRuleCmd.java
index 81817dc..b437568 100644
--- a/api/src/com/cloud/api/commands/CreateFirewallRuleCmd.java
+++ b/api/src/com/cloud/api/commands/CreateFirewallRuleCmd.java
@@ -52,7 +52,7 @@ public class CreateFirewallRuleCmd extends BaseAsyncCreateCmd implements
Firewal
     // ///////////////////////////////////////////////////
 
     @IdentityMapper(entityTableName="user_ip_address")
-    @Parameter(name = ApiConstants.IP_ADDRESS_ID, type = CommandType.LONG, description =
"the IP address id of the port forwarding rule")
+    @Parameter(name = ApiConstants.IP_ADDRESS_ID, type = CommandType.LONG, required=true,
description = "the IP address id of the port forwarding rule")
     private Long ipAddressId;
 
     @Parameter(name = ApiConstants.PROTOCOL, type = CommandType.STRING, required = true,
description = "the protocol for the firewall rule. Valid values are TCP/UDP/ICMP.")


Mime
View raw message