From 32bf5e1b714acd20e31ddb8aff0216741e0113d8 Mon Sep 17 00:00:00 2001 From: Alena Prokharchyk Date: Fri, 6 Jul 2012 10:01:08 -0700 Subject: [PATCH] VPC: CS-15469: createNetworkACL - startPort is not accepted if protocol is ICMP --- api/src/com/cloud/api/commands/CreateNetworkACLCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/com/cloud/api/commands/CreateNetworkACLCmd.java b/api/src/com/cloud/api/commands/CreateNetworkACLCmd.java index 0efc57004c6..306e94042e7 100644 --- a/api/src/com/cloud/api/commands/CreateNetworkACLCmd.java +++ b/api/src/com/cloud/api/commands/CreateNetworkACLCmd.java @@ -42,7 +42,7 @@ public class CreateNetworkACLCmd extends BaseAsyncCreateCmd implements FirewallR "the protocol for the ACL rule. Valid values are TCP/UDP/ICMP.") private String protocol; - @Parameter(name = ApiConstants.START_PORT, type = CommandType.INTEGER, required=true, description = "the starting port of ACL") + @Parameter(name = ApiConstants.START_PORT, type = CommandType.INTEGER, description = "the starting port of ACL") private Integer publicStartPort; @Parameter(name = ApiConstants.END_PORT, type = CommandType.INTEGER, description = "the ending port of ACL")