summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/port.rst27
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>