Move multi-region-support to implemented folder
Also modified the content based on implementation as well. Change-Id: I8d3aece4a635001afdfd46f33f690399398693c2
This commit is contained in:
parent
34762fa708
commit
607c3f1162
@ -40,18 +40,18 @@ Use Cases
|
|||||||
Proposed change
|
Proposed change
|
||||||
===============
|
===============
|
||||||
|
|
||||||
The basic idea is simple, support 'region' as an extra input param for all
|
The basic idea is to simplely support 'action_region' as an extra input param
|
||||||
OpenStack actions.
|
for actions of configured OpenStack projects..
|
||||||
|
|
||||||
1. Add a config option called ``modules_support_region``, the value will be
|
1. Add a config option called ``modules_support_region``, the value will be
|
||||||
list of module names for which the 'region' input param will be add to each
|
list of module names for which the 'action_region' input param will be add
|
||||||
of its actions. The reason for adding this option is, there may be some
|
to each of its actions. The reason for adding this option is, there may be
|
||||||
OpenStack services (e.g. Keystone) already support region(or similar
|
some OpenStack services (e.g. Keystone) already support region(or similar
|
||||||
concept) in action input params, we should not add a param with same
|
concept) in action input params, we should not add a param with same
|
||||||
meaning, e.g. if Keystone is shared between regions in OpenStack
|
meaning, e.g. if Keystone is shared between regions in OpenStack
|
||||||
deployment, 'keystone' should be excluded from the list.
|
deployment, 'keystone' should be excluded from the list.
|
||||||
|
|
||||||
2. Insert 'region' as an optional input param when registering OpenStack
|
2. Insert 'action_region' as an optional input param when registering OpenStack
|
||||||
actions.
|
actions.
|
||||||
|
|
||||||
Alternatives
|
Alternatives
|
||||||
@ -84,8 +84,8 @@ Deployer impact
|
|||||||
---------------
|
---------------
|
||||||
|
|
||||||
When upgrade, deployer should run ``tools/sync_db.py`` script to delete all
|
When upgrade, deployer should run ``tools/sync_db.py`` script to delete all
|
||||||
OpenStack actions and re-create again. 'region' will be added as input param
|
OpenStack actions and re-create again. 'action_region' will be added as input
|
||||||
automatically.
|
param automatically.
|
||||||
|
|
||||||
|
|
||||||
Implementation
|
Implementation
|
||||||
@ -100,10 +100,9 @@ Primary assignee:
|
|||||||
Work Items
|
Work Items
|
||||||
----------
|
----------
|
||||||
|
|
||||||
* Add 'region' as action input param for modules specified in
|
* Add 'action_region' as action input param for modules specified in
|
||||||
``modules_support_region`` options. Use 'region' to construct OpenStack
|
``modules_support_region`` options. Use 'action_region' to construct
|
||||||
|
OpenStack service client.
|
||||||
* service client.
|
|
||||||
|
|
||||||
|
|
||||||
Dependencies
|
Dependencies
|
||||||
@ -115,11 +114,11 @@ None.
|
|||||||
Testing
|
Testing
|
||||||
=======
|
=======
|
||||||
|
|
||||||
* write tests to make sure 'region' is supported for configured OpenStack
|
* write tests to make sure 'action_region' is supported for configured
|
||||||
modules.
|
OpenStack modules.
|
||||||
|
|
||||||
* write tests to make sure 'region' is properly used to construct OpenStack
|
* write tests to make sure 'action_region' is properly used to construct
|
||||||
service client.
|
OpenStack service client.
|
||||||
|
|
||||||
|
|
||||||
References
|
References
|
Loading…
Reference in New Issue
Block a user