このコンテンツは選択した言語では利用できません。
8.50. neutron firewall-rule-create
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --shared
Set shared flag for the firewall rule.
- --name NAME
Name for the firewall rule.
- --description DESCRIPTION
Description for the firewall rule.
- --source-ip-address SOURCE_IP_ADDRESS
Source IP address or subnet.
- --destination-ip-address DESTINATION_IP_ADDRESS
Destination IP address or subnet.
- --source-port SOURCE_PORT
Source port (integer in [1, 65535] or range in a:b).
- --destination-port DESTINATION_PORT
Destination port (integer in [1, 65535] or range in
a:b).
- --enabled {True,False}
Whether to enable or disable this rule.
- --protocol {tcp,udp,icmp,any}
Protocol for the firewall rule.
- --action {allow,deny,reject}
Action for the firewall rule.
- --ip-version {4,6} IP
version for the firewall rule (default is 4).