diff options
author | Dolph Mathews <dolph.mathews@gmail.com> | 2013-01-18 22:30:12 -0600 |
---|---|---|
committer | Dolph Mathews <dolph.mathews@gmail.com> | 2013-01-18 22:35:17 -0600 |
commit | 8eaa3ce990cd489899c1e64cf948cfe6fe70f3a6 (patch) | |
tree | 5e2db8ce5efa19fca7e6907c412d342ad15bf61e /keystone/config.py | |
parent | 8748cfa3a6b7573550e7ec8ced87e6fd2096a628 (diff) | |
download | keystone-8eaa3ce990cd489899c1e64cf948cfe6fe70f3a6.tar.gz keystone-8eaa3ce990cd489899c1e64cf948cfe6fe70f3a6.tar.xz keystone-8eaa3ce990cd489899c1e64cf948cfe6fe70f3a6.zip |
public_endpoint & admin_endpoint configuration
Today we can use these configuration values to avoid having to guess
keystone's own endpoint URL from the service catalog backend, which may
contain more than one identity endpoint.
This is also the first step towards adding self-relational links to the v3 API.
Change-Id: I375ac0d1f9581592e437c67c17bf32022f652f66
Diffstat (limited to 'keystone/config.py')
-rw-r--r-- | keystone/config.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keystone/config.py b/keystone/config.py index c26a518c..b81b594b 100644 --- a/keystone/config.py +++ b/keystone/config.py @@ -133,6 +133,8 @@ register_str('bind_host', default='0.0.0.0') register_str('compute_port', default=8774) register_str('admin_port', default=35357) register_str('public_port', default=5000) +register_str('public_endpoint', default='http://localhost:%(public_port)d/') +register_str('admin_endpoint', default='http://localhost:%(admin_port)d/') register_str('onready') register_str('auth_admin_prefix', default='') register_str('policy_file', default='policy.json') |