Remove old clients thoroughly

Bilean now use openstacksdk, old clients should be removed horoughly.

Change-Id: I2cb343f877f566e22415b90781854a597a0f6b97
This commit is contained in:
lvdongbing 2016-02-02 17:14:33 +08:00
parent 85071b7b42
commit 9f0b6822f0
2 changed files with 0 additions and 22 deletions

View File

@ -76,23 +76,6 @@ authentication_opts = [
help=_('Name of the domain for the service project.')),
]
clients_group = cfg.OptGroup('clients')
clients_opts = [
cfg.StrOpt('endpoint_type',
help=_(
'Type of endpoint in Identity service catalog to use '
'for communication with the OpenStack service.')),
cfg.StrOpt('ca_file',
help=_('Optional CA cert file to use in SSL connections.')),
cfg.StrOpt('cert_file',
help=_('Optional PEM-formatted certificate chain file.')),
cfg.StrOpt('key_file',
help=_('Optional PEM-formatted file that contains the '
'private key.')),
cfg.BoolOpt('insecure',
help=_("If set, then the server's certificate will not "
"be verified."))]
client_http_log_debug_opts = [
cfg.BoolOpt('http_log_debug',
default=False,
@ -113,13 +96,11 @@ def list_opts():
yield paste_deploy_group.name, paste_deploy_opts
yield authentication_group.name, authentication_opts
yield revision_group.name, revision_opts
yield clients_group.name, clients_opts
cfg.CONF.register_group(paste_deploy_group)
cfg.CONF.register_group(authentication_group)
cfg.CONF.register_group(revision_group)
cfg.CONF.register_group(clients_group)
for group, opts in list_opts():
cfg.CONF.register_opts(opts, group=group)

View File

@ -27,7 +27,6 @@ from bilean.common.i18n import _LI
from bilean.common import messaging as rpc_messaging
from bilean.common import schema
from bilean.common import utils
from bilean.engine import clients as bilean_clients
from bilean.engine import environment
from bilean.engine import event as event_mod
from bilean.engine import policy as policy_mod
@ -75,8 +74,6 @@ class EngineService(service.Service):
self.target = None
self._rpc_server = None
bilean_clients.initialise()
if context is None:
self.context = bilean_context.get_admin_context()