Introduce DEFAULT_SERVICE_REGIONS
It should be together with related change in django-openstack-auth, if specified it will change the default service region calculation: it will be taken from this setting (on a per-endpont basis) instead of a value stored in cookies. This value is still checked for sanity, i.e. it should be present in Keystone service catalog. Change-Id: I7e36f766870793f3e8fc391a06f0ee49deaa7add Related-Bug: #1506825 Closes-Bug: #1703390
This commit is contained in:

committed by
Jiří Suchomel

parent
2756c2ecc9
commit
d8f95c64d6
@@ -186,6 +186,13 @@ OPENSTACK_HOST = "127.0.0.1"
|
|||||||
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
|
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
|
||||||
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_"
|
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_"
|
||||||
|
|
||||||
|
# For setting the default service region on a per-endpoint basis. Note that the
|
||||||
|
# default value for this setting is {}, and below is just an example of how it
|
||||||
|
# should be specified.
|
||||||
|
#DEFAULT_SERVICE_REGIONS = {
|
||||||
|
# OPENSTACK_KEYSTONE_URL: 'RegionOne'
|
||||||
|
#}
|
||||||
|
|
||||||
# Enables keystone web single-sign-on if set to True.
|
# Enables keystone web single-sign-on if set to True.
|
||||||
#WEBSSO_ENABLED = False
|
#WEBSSO_ENABLED = False
|
||||||
|
|
||||||
|
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- Added a new ``DEFAULT_SERVICE_REGIONS`` setting into local_settings.py.
|
||||||
|
If a value of this is specified, it will be the default region to use when
|
||||||
|
logging into the dashboard, instead of the value stored in cookies.
|
Reference in New Issue
Block a user