create_network_acl
Creates a CloudStack network ACL rule to allow or deny ingress or egress traffic by protocol, port range, and CIDR list.
Instructions
Create a network ACL item (rule)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"protocol": "<protocol>",
"aclid": "<aclid>"
},
"name": "create_network_acl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aclid | Yes | ACL list ID | |
| action | No | Action (allow, deny) | |
| number | No | Rule number (priority order) | |
| endport | No | End port | |
| cidrlist | No | CIDR list (comma separated) | |
| icmpcode | No | ICMP code (-1 for all) | |
| icmptype | No | ICMP type (-1 for all) | |
| protocol | Yes | Protocol (tcp, udp, icmp, all) | |
| startport | No | Start port | |
| traffictype | No | Traffic type (ingress, egress) |