Richard Theis a7c76878da Add project options to security group create
Add the --project and --project-domain options to the
'os security group create' command. These options are for Network v2
only.

Change-Id: I9e1667080a1a49389d51ade2e76a08b08a09870b
Closes-Bug: #1519511
Implements: blueprint neutron-client
2016-03-11 08:28:53 -06: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.

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)