diff options
| author | Tang Chen <tangchen@cn.fujitsu.com> | 2015-12-14 16:33:49 +0800 |
|---|---|---|
| committer | Tang Chen <tangchen@cn.fujitsu.com> | 2015-12-15 09:42:41 +0800 |
| commit | 6158ebb0e02ca2b796df973e71c6a7d5e829c959 (patch) | |
| tree | ea27dae63fa9d41ca1a46ae3b0394f9f00cf1cdf /doc/source/command-objects/router.rst | |
| parent | 1ee5191cec53df588d51a7cee31cfe9cf3a57a1b (diff) | |
| download | python-openstackclient-6158ebb0e02ca2b796df973e71c6a7d5e829c959.tar.gz | |
Router: Add "router create" command using SDK
This patch adds "router create" command to osc using sdk.
NOTE: Test for --project needs support for fake identity client v2 and v3.
These tests will be added in other patches.
NOTE: external_gateway_info and routes are not supported to be passed to
create command now. They will be supported in another tow patches.
NOTE: Creating a ha router is not supported for now. Will support it in
another patch.
Change-Id: I7642295d27c27dd498331ae1da1c293706d8f6af
Implements: blueprint neutron-client
Partial-bug: #1519503
Diffstat (limited to 'doc/source/command-objects/router.rst')
| -rw-r--r-- | doc/source/command-objects/router.rst | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/source/command-objects/router.rst b/doc/source/command-objects/router.rst index f7b5a67e..9e1e7291 100644 --- a/doc/source/command-objects/router.rst +++ b/doc/source/command-objects/router.rst @@ -4,6 +4,46 @@ router Network v2 +router create +-------------- + +Create new router + +.. program:: router create +.. code:: bash + + os router create + [--project <project> [--project-domain <project-domain>]] + [--enable | --disable] + [--distributed] + <name> + +.. option:: --project <project> + + Owner's project (name or ID) + +.. option:: --project-domain <project-domain> + + Domain the project belongs to (name or ID). + This can be used in case collisions between project names exist. + +.. option:: --enable + + Enable router (default) + +.. option:: --disable + + Disable router + +.. option:: --distributed + + Create a distributed router + +.. _router_create-name: +.. describe:: <name> + + New router name + router list ----------- |
