summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorTang Chen <tangchen@cn.fujitsu.com>2015-12-12 10:28:48 +0800
committerTerry Howe <terrylhowe@gmail.com>2015-12-11 18:07:47 +0000
commit3278b3a022c34b1abe28e1ed7b16ed60a059a441 (patch)
tree2ff422961ae3fde745aa1012befd4405a082bda4 /doc/source/command-objects
parent185412f28c6eea825760617548e4256ac35003bb (diff)
downloadpython-openstackclient-3278b3a022c34b1abe28e1ed7b16ed60a059a441.tar.gz
Router: Add "router list" command using SDK
Add "router list" command. It takes one "--long" option. By default, the command will print router id, name, status, admin state up, distributed, ha and project id. With "--long" option, it will also print routes and external gateway info. Change-Id: I9d21904c41c11ee1fa107f985744878a1dc2f970 Implements: blueprint neutron-client Partial-bug: #1519503
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/router.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/source/command-objects/router.rst b/doc/source/command-objects/router.rst
new file mode 100644
index 00000000..f7b5a67e
--- /dev/null
+++ b/doc/source/command-objects/router.rst
@@ -0,0 +1,20 @@
+======
+router
+======
+
+Network v2
+
+router list
+-----------
+
+List routers
+
+.. program:: router list
+.. code:: bash
+
+ os router list
+ [--long]
+
+.. option:: --long
+
+ List additional fields in output