From 3278b3a022c34b1abe28e1ed7b16ed60a059a441 Mon Sep 17 00:00:00 2001 From: Tang Chen Date: Sat, 12 Dec 2015 10:28:48 +0800 Subject: 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 --- doc/source/command-objects/router.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/source/command-objects/router.rst (limited to 'doc/source/command-objects') 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 -- cgit v1.2.1