Tang Chen 3278b3a022 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
2015-12-11 18:07:47 +00:00

21 lines
208 B
ReStructuredText

======
router
======
Network v2
router list
-----------
List routers
.. program:: router list
.. code:: bash
os router list
[--long]
.. option:: --long
List additional fields in output