summaryrefslogtreecommitdiffstats
path: root/keystone/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystone/config.py')
-rw-r--r--keystone/config.py22
1 files changed, 1 insertions, 21 deletions
diff --git a/keystone/config.py b/keystone/config.py
index 3a22fbdf..23762ccd 100644
--- a/keystone/config.py
+++ b/keystone/config.py
@@ -25,24 +25,7 @@ from keystone.openstack.common import cfg
gettext.install('keystone', unicode=1)
-class ConfigMixin(object):
- def __call__(self, config_files=None, *args, **kw):
- if config_files is not None:
- self._opts['config_file']['opt'].default = config_files
- kw.setdefault('args', [])
- return super(ConfigMixin, self).__call__(*args, **kw)
-
- def set_usage(self, usage):
- self.usage = usage
- self._oparser.usage = usage
-
-
-class Config(ConfigMixin, cfg.ConfigOpts):
- pass
-
-
-class CommonConfig(ConfigMixin, cfg.CommonConfigOpts):
- pass
+CONF = cfg.CONF
def setup_logging(conf):
@@ -128,9 +111,6 @@ def register_cli_int(*args, **kw):
return conf.register_cli_opt(cfg.IntOpt(*args, **kw), group=group)
-CONF = CommonConfig(project='keystone')
-
-
register_str('admin_token', default='ADMIN')
register_str('bind_host', default='0.0.0.0')
register_str('compute_port', default=8774)