From c7fb3b36556a6e7622dd7b2bf2ddb5209e518773 Mon Sep 17 00:00:00 2001 From: Richard Theis Date: Wed, 15 Jun 2016 08:53:00 -0500 Subject: 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 --- doc/source/command-objects/port.rst | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'doc/source/command-objects') 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 of this port + Device owner of this port. This is the entity that uses + the port (for example, network:dhcp). .. option:: --vnic-type @@ -112,8 +113,14 @@ List ports .. code:: bash os port list + [--device-owner ] [--router ] +.. option:: --device-owner + + List only ports with the specified device owner. This is + the entity that uses the port (for example, network:dhcp). + .. option:: --router List only ports attached to this router (name or ID) @@ -153,7 +160,8 @@ Set port properties .. option:: --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 -- cgit v1.2.1