Richard Theis 94c9cd5c66 Add options to security group rule list
Add the following options to the 'os security group rule list'
command:
  --long: Display direction and ethertype for Network v2
  --all-projects: Display information from all projects for Compute v2

Change-Id: If8a1cbd7669cdfa6577d6d2f6fffd9e999a39a82
Partial-Bug: #1519512
Implements: blueprint neutron-client
2016-04-18 14:03:22 -05:00

2.0 KiB

security group

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 a security group

security group delete

os security group delete
    <group>

<group>

Security group to delete (name or ID)

security group list

List security groups

security group list

os security group list
    [--all-projects]

--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).

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)