diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-10-17 08:27:58 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-10-17 08:27:58 +0000 |
| commit | ab9cfc4dc420a2547e6f6a2e0f2aef89cec08466 (patch) | |
| tree | e9c5f5914acdfa50f890e9408b3b205c0ac5a0a4 /doc/source/command-objects | |
| parent | bae09c3c3fac210f4839a8a51dfb51e2dad69aa7 (diff) | |
| parent | 66a04abd581e03e5e71a6b755e1b4dce1856ef41 (diff) | |
| download | python-openstackclient-ab9cfc4dc420a2547e6f6a2e0f2aef89cec08466.tar.gz | |
Merge "Add security groups options to "port create/set/unset""
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 980f77b9..fe256d09 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) @@ -159,6 +169,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> @@ -215,6 +227,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> @@ -247,6 +268,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> @@ -260,6 +282,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> |
