summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorRichard Theis <rtheis@us.ibm.com>2016-06-15 08:53:00 -0500
committerRichard Theis <rtheis@us.ibm.com>2016-06-20 16:32:20 -0500
commitc7fb3b36556a6e7622dd7b2bf2ddb5209e518773 (patch)
treea998c0cee73e4f0854d21b8686a7dd859b0a6ed5 /doc/source/command-objects
parent40004b5d80689f9f9cd802b1487f8e78830e6d4f (diff)
downloadpython-openstackclient-c7fb3b36556a6e7622dd7b2bf2ddb5209e518773.tar.gz
Add "--device-owner" option to "port list"
Add "--device-owner" option to the "port list" command to enable listing ports based on device owner. Change-Id: I0a538ec41800b9f842e86dceb6ca4180ef239c95 Implements: blueprint neutron-client
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/port.rst12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/source/command-objects/port.rst b/doc/source/command-objects/port.rst
index e4cf2cd2..0a74f88c 100644
--- a/doc/source/command-objects/port.rst
+++ b/doc/source/command-objects/port.rst
@@ -45,7 +45,8 @@ Create new port
.. option:: --device-owner <device-owner>
- Device owner of this port
+ Device owner of this port. This is the entity that uses
+ the port (for example, network:dhcp).
.. option:: --vnic-type <vnic-type>
@@ -112,8 +113,14 @@ List ports
.. code:: bash
os port list
+ [--device-owner <device-owner>]
[--router <router>]
+.. option:: --device-owner <device-owner>
+
+ List only ports with the specified device owner. This is
+ the entity that uses the port (for example, network:dhcp).
+
.. option:: --router <router>
List only ports attached to this router (name or ID)
@@ -153,7 +160,8 @@ Set port properties
.. option:: --device-owner <device-owner>
- Device owner of this port
+ Device owner of this port. This is the entity that uses
+ the port (for example, network:dhcp).
.. option:: --vnic-type <vnic-type>