summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorvenkata anil <anilvenkata@redhat.com>2017-02-14 05:05:20 +0000
committerDean Troyer <dtroyer@gmail.com>2017-04-06 14:37:14 +0000
commitfe59e339ae6dd6a5e9075773fb5c2a0fea9c2e53 (patch)
tree15a357a4cc389bb0e73bc2c0f2df9f4a39002f3a /doc/source/command-objects
parent27f96a3a7a5515ff621300a917872b5ec62f41de (diff)
downloadpython-openstackclient-fe59e339ae6dd6a5e9075773fb5c2a0fea9c2e53.tar.gz
Allow override of distributed router flag
When router_distributed=True is set in neutron.conf, user can't override this and create a centralized router through openstack client. Openstack client allows modifying routers from distributed to centralized after creation but not supporting centralized flag during creation. We allow centralized and distributed flags during router creation with this change. Closes-bug: #1664255 Change-Id: I75f72ca695338ad8c381cfa89fbb9d8e61ee7bc5
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/router.rst15
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/source/command-objects/router.rst b/doc/source/command-objects/router.rst
index 29131861..50e791ea 100644
--- a/doc/source/command-objects/router.rst
+++ b/doc/source/command-objects/router.rst
@@ -63,7 +63,7 @@ Create new router
openstack router create
[--project <project> [--project-domain <project-domain>]]
[--enable | --disable]
- [--distributed]
+ [--distributed | --centralized]
[--ha | --no-ha]
[--description <description>]
[--availability-zone-hint <availability-zone>]
@@ -90,6 +90,19 @@ Create new router
Create a distributed router
+ The default router type (distributed vs centralized) is determined by a
+ configuration setting in the OpenStack deployment. Since we are unable
+ to know that default wihtout attempting to actually create a router it
+ is suggested to use either :option:`--distributed` or :option:`--centralized`
+ in situations where multiple cloud deployments may be used.
+
+.. option:: --centralized
+
+ Create a centralized router
+
+ See the note in :option:`--distributed` regarding the default used when
+ creating a new router.
+
.. option:: --ha
Create a highly available router