diff options
| author | Tang Chen <tangchen@cn.fujitsu.com> | 2015-12-12 10:28:48 +0800 |
|---|---|---|
| committer | Terry Howe <terrylhowe@gmail.com> | 2015-12-11 18:07:47 +0000 |
| commit | 3278b3a022c34b1abe28e1ed7b16ed60a059a441 (patch) | |
| tree | 2ff422961ae3fde745aa1012befd4405a082bda4 /doc | |
| parent | 185412f28c6eea825760617548e4256ac35003bb (diff) | |
| download | python-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')
| -rw-r--r-- | doc/source/command-objects/router.rst | 20 | ||||
| -rw-r--r-- | doc/source/commands.rst | 1 |
2 files changed, 21 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 diff --git a/doc/source/commands.rst b/doc/source/commands.rst index 1c6c2d8a..0ec4f71b 100644 --- a/doc/source/commands.rst +++ b/doc/source/commands.rst @@ -107,6 +107,7 @@ referring to both Compute and Volume quotas. * ``request token``: (**Identity**) temporary OAuth-based token * ``role``: (**Identity**) a policy object used to determine authorization * ``role assignment``: (**Identity**) a relationship between roles, users or groups, and domains or projects +* ``router``: (**Network**) - a virtual router * ``security group``: (**Compute**, **Network**) - groups of network access rules * ``security group rule``: (**Compute**, **Network**) - the individual rules that define protocol/IP/port access * ``server``: (**Compute**) virtual machine instance |
