summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-26 00:34:41 +0000
committerGerrit Code Review <review@openstack.org>2017-01-26 00:34:41 +0000
commitade841fad0177bbb26bb4bd173650a33f07a9fcb (patch)
treef932a7061fe4f864554cd1a3820778fb3b9cb504 /doc/source/command-objects
parent43f9370915513a3480142419aa8c8d8b0b8c4526 (diff)
parent8bcfb824c8f2978c9348968d3da1345c45d7b764 (diff)
downloadpython-openstackclient-ade841fad0177bbb26bb4bd173650a33f07a9fcb.tar.gz
Merge "Add 'allowed address pairs' option to 'port create/set/unset'"
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/port.rst29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/source/command-objects/port.rst b/doc/source/command-objects/port.rst
index 34656f32..e67ca0f7 100644
--- a/doc/source/command-objects/port.rst
+++ b/doc/source/command-objects/port.rst
@@ -29,6 +29,7 @@ Create new port
[--mac-address <mac-address>]
[--security-group <security-group> | --no-security-group]
[--dns-name <dns-name>]
+ [--allowed-address ip-address=<ip-address>[,mac-address=<mac-address>]]
[--project <project> [--project-domain <project-domain>]]
[--enable-port-security | --disable-port-security]
<name>
@@ -97,6 +98,12 @@ Create new port
Set DNS name to this port
(requires DNS integration extension)
+.. option:: --allowed-address ip-address=<ip-address>[,mac-address=<mac-address>]
+
+ Add allowed-address pair associated with this port:
+ ip-address=<ip-address>[,mac-address=<mac-address>]
+ (repeat option to set multiple allowed-address pairs)
+
.. option:: --project <project>
Owner's project (name or ID)
@@ -199,6 +206,8 @@ Set port properties
[--no-security-group]
[--enable-port-security | --disable-port-security]
[--dns-name <dns-name>]
+ [--allowed-address ip-address=<ip-address>[,mac-address=<mac-address>]]
+ [--no-allowed-address]
<port>
.. option:: --description <description>
@@ -281,6 +290,19 @@ Set port properties
Set DNS name to this port
(requires DNS integration extension)
+.. option:: --allowed-address ip-address=<ip-address>[,mac-address=<mac-address>]
+
+ Add allowed-address pair associated with this port:
+ ip-address=<ip-address>[,mac-address=<mac-address>]
+ (repeat option to set multiple allowed-address pairs)
+
+.. option:: --no-allowed-address
+
+ Clear existing allowed-address pairs associated
+ with this port.
+ (Specify both --allowed-address and --no-allowed-address
+ to overwrite the current allowed-address pairs)
+
.. _port_set-port:
.. describe:: <port>
@@ -314,6 +336,7 @@ Unset port properties
[--fixed-ip subnet=<subnet>,ip-address=<ip-address> [...]]
[--binding-profile <binding-profile-key> [...]]
[--security-group <security-group> [...]]
+ [--allowed-address ip-address=<ip-address>[,mac-address=<mac-address>] [...]]
<port>
.. option:: --fixed-ip subnet=<subnet>,ip-address=<ip-address>
@@ -332,6 +355,12 @@ Unset port properties
Security group which should be removed from this port (name or ID)
(repeat option to unset multiple security groups)
+.. option:: --allowed-address ip-address=<ip-address>[,mac-address=<mac-address>]
+
+ Desired allowed-address pair which should be removed from this port:
+ ip-address=<ip-address>[,mac-address=<mac-address>]
+ (repeat option to unset multiple allowed-address pairs)
+
.. _port_unset-port:
.. describe:: <port>