diff options
| author | Nguyen Phuong An <AnNP@vn.fujitsu.com> | 2016-08-16 15:07:01 +0700 |
|---|---|---|
| committer | Nguyen Phuong An <AnNP@vn.fujitsu.com> | 2016-10-12 09:03:07 +0700 |
| commit | 66a04abd581e03e5e71a6b755e1b4dce1856ef41 (patch) | |
| tree | 2be0177e75eccbc045acaa40870d0b4ac3a14ee0 /doc/source/command-objects | |
| parent | 1ee9333d3ac2dfdd107ff1a3e8f2182d25bb0cd4 (diff) | |
| download | python-openstackclient-66a04abd581e03e5e71a6b755e1b4dce1856ef41.tar.gz | |
Add security groups options to "port create/set/unset"
This patch adds '--security-group' and '--no-security-group'
options to "port create", "port set" and "port unset" commands.
Change-Id: Iff60d8f29227017b0a3966efca6cdecba69abcea
Partial-Bug: #1612136
Partially-Implements: blueprint network-commands-options
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/port.rst | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/source/command-objects/port.rst b/doc/source/command-objects/port.rst index e3e783ad..29ce344c 100644 --- a/doc/source/command-objects/port.rst +++ b/doc/source/command-objects/port.rst @@ -26,6 +26,7 @@ Create new port [--host <host-id>] [--enable | --disable] [--mac-address <mac-address>] + [--security-group <security-group> | --no-security-group] [--project <project> [--project-domain <project-domain>]] <name> @@ -75,6 +76,15 @@ Create new port MAC address of this port +.. option:: --security-group <security-group> + + Security group to associate with this port (name or ID) + (repeat option to set multiple security groups) + +.. option:: --no-security-group + + Associate no security groups with this port + .. option:: --project <project> Owner's project (name or ID) @@ -154,6 +164,8 @@ Set port properties [--host <host-id>] [--enable | --disable] [--name <name>] + [--security-group <security-group>] + [--no-security-group] <port> .. option:: --fixed-ip subnet=<subnet>,ip-address=<ip-address> @@ -210,6 +222,15 @@ Set port properties Set port name +.. option:: --security-group <security-group> + + Security group to associate with this port (name or ID) + (repeat option to set multiple security groups) + +.. option:: --no-security-group + + Clear existing security groups associated with this port + .. _port_set-port: .. describe:: <port> @@ -242,6 +263,7 @@ Unset port properties os port unset [--fixed-ip subnet=<subnet>,ip-address=<ip-address> [...]] [--binding-profile <binding-profile-key> [...]] + [--security-group <security-group> [...]] <port> .. option:: --fixed-ip subnet=<subnet>,ip-address=<ip-address> @@ -255,6 +277,11 @@ Unset port properties Desired key which should be removed from binding-profile (repeat option to unset multiple binding:profile data) +.. option:: --security-group <security-group> + + Security group which should be removed from this port (name or ID) + (repeat option to unset multiple security groups) + .. _port_unset-port: .. describe:: <port> |
