From 554607eb3dab879da8e172eacb72930e54f0acf4 Mon Sep 17 00:00:00 2001 From: Reedip Date: Sat, 17 Sep 2016 13:09:42 +0530 Subject: Provide support to list ports by network The new --network option provides a list of ports connected with the current network. Change-Id: I6a45184887b3e65f792391cb7e91f4ad85f29e03 Partial-Bug:#1562067 Partially-Implements: blueprint network-commands-options --- doc/source/command-objects/port.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/port.rst b/doc/source/command-objects/port.rst index 771f2f8d..04cf59a2 100644 --- a/doc/source/command-objects/port.rst +++ b/doc/source/command-objects/port.rst @@ -116,6 +116,7 @@ List ports os port list [--device-owner ] [--router | --server ] + [--network ] .. option:: --device-owner @@ -130,6 +131,10 @@ List ports List only ports attached to this server (name or ID) +.. option:: --network + + List only ports attached to this network (name or ID) + port set -------- -- cgit v1.2.1