From 9b66ded049e2369032e7983a6c4f5ce8d3d40cef Mon Sep 17 00:00:00 2001 From: elajkat Date: Wed, 29 Jul 2020 13:12:36 +0200 Subject: [PATCH] CFG: Remove unnused cfg options Config options 'driver' and 'enabled' are not used anymore, perhaps since this commit was merged: Ife1807c04d8f0f44f067e1905890262ae2f7e426 Change-Id: I1e456354189608e28610a6c5cff3fe98e89a3e9f --- neutron_taas/extensions/taas.py | 8 -------- .../services/taas/agents/taas_agent_api.py | 15 --------------- 2 files changed, 23 deletions(-) diff --git a/neutron_taas/extensions/taas.py b/neutron_taas/extensions/taas.py index 1e29eccb..8ffe9daa 100644 --- a/neutron_taas/extensions/taas.py +++ b/neutron_taas/extensions/taas.py @@ -131,14 +131,6 @@ cfg.CONF.register_opts(taas_quota_opts, 'QUOTAS') TaasOpts = [ - cfg.StrOpt( - 'driver', - default='', - help=_("Name of the TaaS Driver")), - cfg.BoolOpt( - 'enabled', - default=False, - help=_("Enable TaaS")), cfg.IntOpt( 'vlan_range_start', default=3900, diff --git a/neutron_taas/services/taas/agents/taas_agent_api.py b/neutron_taas/services/taas/agents/taas_agent_api.py index 2ee54e95..891ca962 100644 --- a/neutron_taas/services/taas/agents/taas_agent_api.py +++ b/neutron_taas/services/taas/agents/taas_agent_api.py @@ -14,24 +14,9 @@ # under the License. from neutron_lib import rpc as n_rpc -from neutron_taas._i18n import _ -from oslo_config import cfg import oslo_messaging as messaging -TaasOpts = [ - cfg.StrOpt( - 'driver', - default='', - help=_("Name of the TaaS Driver")), - cfg.BoolOpt( - 'enabled', - default=False, - help=_("Enable TaaS")), -] -cfg.CONF.register_opts(TaasOpts, 'taas') - - class TaasPluginApiMixin(object): # Currently there are no Calls the Agent makes towards the Plugin.