Compute v2, Network v2
Create a new security group
os security group create
[--description <description>]
<name>
Security group description
New security group name
Delete a security group
os security group delete
<group>
Security group to delete (name or ID)
List security groups
os security group list
[--all-projects]
Display information from all projects (admin only)
Network version 2 ignores this option and will always display information for all projects.
Set security group properties
os security group set
[--name <new-name>]
[--description <description>]
<group>
New security group name
New security group description
Security group to modify (name or ID)
Display security group details
os security group show
<group>
Security group to display (name or ID)