diff --git a/api/src/com/cloud/api/commands/CreateNetworkACLCmd.java b/api/src/com/cloud/api/commands/CreateNetworkACLCmd.java index 2016f29b6e3..487b6c9d041 100644 --- a/api/src/com/cloud/api/commands/CreateNetworkACLCmd.java +++ b/api/src/com/cloud/api/commands/CreateNetworkACLCmd.java @@ -64,7 +64,7 @@ public class CreateNetworkACLCmd extends BaseAsyncCreateCmd implements NetworkAC description="The network of the vm the ACL will be created for") private Long networkId; - @Parameter(name=ApiConstants.TRAFFIC_TYPE, type=CommandType.LONG, description="the traffic type for the ACL," + + @Parameter(name=ApiConstants.TRAFFIC_TYPE, type=CommandType.STRING, description="the traffic type for the ACL," + "can be Ingress or Egress, defaulted to Ingress if not specified") private String trafficType;