VPC: CS-15469: createNetworkACL - startPort is not accepted if protocol is ICMP

This commit is contained in:
Alena Prokharchyk 2012-07-06 10:01:08 -07:00
parent e1fe1616d7
commit 7044fa695d
2 changed files with 2 additions and 1 deletions

View File

@ -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")

View File

@ -52,6 +52,7 @@ import com.cloud.agent.api.GetDomRVersionCmd;
import com.cloud.agent.api.ModifySshKeysCommand;
import com.cloud.agent.api.NetworkUsageAnswer;
import com.cloud.agent.api.NetworkUsageCommand;
import com.cloud.agent.api.RebootAnswer;
import com.cloud.agent.api.StartupCommand;
import com.cloud.agent.api.StopAnswer;
import com.cloud.agent.api.check.CheckSshAnswer;