summaryrefslogtreecommitdiffstats
path: root/keystone/config.py
diff options
context:
space:
mode:
authorJohn Bresnahan <jbresnah@redhat.com>2012-12-19 07:13:24 -1000
committerJohn Bresnahan <jbresnah@redhat.com>2012-12-21 04:57:41 -1000
commit0f225743e8644416df2f200d710912c40b7acd47 (patch)
tree334effb31a6698aa79d79077e5c522aad733f9ca /keystone/config.py
parentac2d92ca2eea1070f765be320acb62fd5bef6dd3 (diff)
downloadkeystone-0f225743e8644416df2f200d710912c40b7acd47.tar.gz
keystone-0f225743e8644416df2f200d710912c40b7acd47.tar.xz
keystone-0f225743e8644416df2f200d710912c40b7acd47.zip
Adding a means to connect back to a pydevd debugger.
That patch allows a developer to remotely run a pydev debugger and have the keystone-all process connect back to it. Two command line options are introduced: --pydev-debug-host <host> --pydev-debug-port <port> both of the above options are required to enable this behavior. This patch only enables this behavior when the service is started with keystone-all. In the future parts of this patch can be used to enable this behavior when running in Apache. Change-Id: I92f99fa34112336a96e42e8261b7313f23ee994e
Diffstat (limited to 'keystone/config.py')
-rw-r--r--keystone/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/keystone/config.py b/keystone/config.py
index f5e2fcf8..9d4da38a 100644
--- a/keystone/config.py
+++ b/keystone/config.py
@@ -125,6 +125,9 @@ def register_cli_int(*args, **kw):
register_cli_bool('standard-threads', default=False)
+register_cli_str('pydev-debug-host', default=None)
+register_cli_int('pydev-debug-port', default=None)
+
register_str('admin_token', default='ADMIN')
register_str('bind_host', default='0.0.0.0')
register_str('compute_port', default=8774)