create_security_group_rule
Create a Neutron security group rule to allow or restrict network traffic by protocol, port range, direction, and remote IP or group.
Instructions
Create a Neutron security group rule. Service: Neutron (network). Mutates state.
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": {
"security_group_id": "<security_group_id>"
},
"name": "create_security_group_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protocol | No | ||
| direction | No | ingress | |
| ethertype | No | IPv4 | |
| description | No | ||
| port_range_max | No | ||
| port_range_min | No | ||
| remote_group_id | No | ||
| remote_ip_prefix | No | ||
| security_group_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||