This patch added '--project' and '--project-domain' options to filter subnets resulted by 'os subnet list', 'os floating ip create' and 'os security group list' commands. Co-Authored-By: Ha Van Tu <tuhv@vn.fujitsu.com> Change-Id: I727663d49ffa6aa042fdeb60797f18bb753b0372 Closes-Bug: #1613231 Closes-Bug: #1610909 Closes-Bug: #1613629 Partially-Implements: blueprint network-commands-options
2.5 KiB
security group
A security group acts as a virtual firewall for servers and other resources on a network. It is a container for security group rules which specify the network access rules.
Compute v2, Network v2
security group create
Create a new security group
security group create
os security group create
[--description <description>]
[--project <project> [--project-domain <project-domain>]]
<name>
--description <description>
Security group description
--project <project>
Owner's project (name or ID)
Network version 2 only
--project-domain <project-domain>
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Network version 2 only
<name>
New security group name
security group delete
Delete security group(s)
security group delete
os security group delete
<group> [<group> ...]
<group>
Security group(s) to delete (name or ID)
security group list
List security groups
security group list
os security group list
[--all-projects]
[--project <project> [--project-domain <project-domain>]]
--all-projects
Display information from all projects (admin only)
Network version 2 ignores this option and will always display information for all projects (admin only).
--project <project>
List security groups according to the project (name or ID)
Network version 2 only
--project-domain <project-domain>
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Network version 2 only
security group set
Set security group properties
security group set
os security group set
[--name <new-name>]
[--description <description>]
<group>
--name <new-name>
New security group name
--description <description>
New security group description
<group>
Security group to modify (name or ID)
security group show
Display security group details
security group show
os security group show
<group>
<group>
Security group to display (name or ID)