]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Remove last parts of Quantum compatibility shim
authorDan Wendlandt <dan@nicira.com>
Tue, 1 Apr 2014 06:31:00 +0000 (23:31 -0700)
committerDan Wendlandt <dan@nicira.com>
Tue, 1 Apr 2014 06:31:23 +0000 (23:31 -0700)
Goodbye Quantum!

Change-Id: Idbd0384a892beaff3a937444f04cfc433cb805eb
Closes-Bug:1299046

21 files changed:
etc/quantum [deleted symlink]
etc/rootwrap.conf
neutron/agent/dhcp_agent.py
neutron/agent/l3_agent.py
neutron/common/legacy.py [deleted file]
neutron/db/migration/cli.py
neutron/debug/shell.py
neutron/manager.py
neutron/plugins/brocade/README.md
neutron/plugins/ibm/agent/sdnve_neutron_agent.py
neutron/plugins/nec/README
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py
neutron/quota.py
neutron/service.py
neutron/services/firewall/agents/varmour/varmour_router.py
neutron/services/loadbalancer/agent/agent.py
neutron/tests/unit/test_legacy.py [deleted file]
quantum/__init__.py [deleted file]
quantum/api/__init__.py [deleted file]
quantum/auth.py [deleted file]
setup.cfg

diff --git a/etc/quantum b/etc/quantum
deleted file mode 120000 (symlink)
index 848bfe0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-neutron
\ No newline at end of file
index e62778699eb178ce5c54185cc7cd232c19942f36..dee1dd94b1f28c954e448ec24ab7afdeff192c04 100644 (file)
@@ -4,7 +4,7 @@
 [DEFAULT]
 # List of directories to load filter definitions from (separated by ',').
 # These directories MUST all be only writeable by root !
-filters_path=/etc/neutron/rootwrap.d,/usr/share/neutron/rootwrap,/etc/quantum/rootwrap.d,/usr/share/quantum/rootwrap
+filters_path=/etc/neutron/rootwrap.d,/usr/share/neutron/rootwrap
 
 # List of directories to search executables in, in case filters do not
 # explicitely specify a full path (separated by ',')
index ae597cd427396f0db12c14d09ef64618e08c49fe..2054d2fe05abef3c45627f11cd6d1e84de13e37b 100644 (file)
@@ -29,7 +29,6 @@ from neutron.agent.linux import ovs_lib  # noqa
 from neutron.agent import rpc as agent_rpc
 from neutron.common import constants
 from neutron.common import exceptions
-from neutron.common import legacy
 from neutron.common import topics
 from neutron.common import utils
 from neutron import context
@@ -600,7 +599,6 @@ def main():
     register_options()
     cfg.CONF(project='neutron')
     config.setup_logging(cfg.CONF)
-    legacy.modernize_quantum_config(cfg.CONF)
     server = neutron_service.Service.create(
         binary='neutron-dhcp-agent',
         topic=topics.DHCP_AGENT,
index aed9bd0f8c6c1e099f52197011c5ba93ecfc799a..c6dc1ce82a020ff7c2fc76c01b5bb13b1e4d0445 100644 (file)
@@ -25,7 +25,6 @@ from neutron.agent.linux import iptables_manager
 from neutron.agent.linux import ovs_lib  # noqa
 from neutron.agent import rpc as agent_rpc
 from neutron.common import constants as l3_constants
-from neutron.common import legacy
 from neutron.common import topics
 from neutron.common import utils as common_utils
 from neutron import context
@@ -963,7 +962,6 @@ def main(manager='neutron.agent.l3_agent.L3NATAgentWithStateReport'):
     conf.register_opts(external_process.OPTS)
     conf(project='neutron')
     config.setup_logging(conf)
-    legacy.modernize_quantum_config(conf)
     server = neutron_service.Service.create(
         binary='neutron-l3-agent',
         topic=topics.L3_AGENT,
diff --git a/neutron/common/legacy.py b/neutron/common/legacy.py
deleted file mode 100644 (file)
index d387aa2..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-# vim: tabstop=4 shiftwidth=4 softtabstop=4
-#
-# Copyright 2013 New Dream Network, LLC (DreamHost)
-# All Rights Reserved.
-#
-#    Licensed under the Apache License, Version 2.0 (the "License"); you may
-#    not use this file except in compliance with the License. You may obtain
-#    a copy of the License at
-#
-#         http://www.apache.org/licenses/LICENSE-2.0
-#
-#    Unless required by applicable law or agreed to in writing, software
-#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-#    License for the specific language governing permissions and limitations
-#    under the License.
-
-# @author Mark McClain (DreamHost)
-
-from oslo.config import cfg
-
-from neutron.openstack.common import log as logging
-
-LOG = logging.getLogger(__name__)
-
-
-def scrub_class_path(cls_path):
-    """Scrub from Quantum from old class_path references."""
-
-    if isinstance(cls_path, basestring):
-        if cls_path.startswith('quantum'):
-            new_path = cls_path.replace('quantum', 'neutron')
-            new_path = new_path.replace('Quantum', 'Neutron')
-            LOG.warn(
-                _("Old class module path in use.  Please change '%(old)s' "
-                  "to '%(new)s'."),
-                {'old': cls_path, 'new': new_path}
-            )
-            cls_path = new_path
-    return cls_path
-
-
-def override_config(config, config_keys=None):
-    """Attempt to override config_key with Neutron compatible values."""
-
-    for key in config_keys:
-        group = None
-        if not isinstance(key, basestring):
-            try:
-                group, key, module_str = key
-                old_value = getattr(getattr(config, group), key, None)
-            except AttributeError:
-                try:
-                    config.import_opt(key, module_str, group)
-                    old_value = getattr(getattr(config, group), key, None)
-                except (cfg.NoSuchOptError,
-                        cfg.NoSuchGroupError,
-                        AttributeError):
-                    LOG.warn(_('Key %(key)s in group %(group)s is unknown. '
-                               'It may not be defined or needed by this '
-                               'service.') % {'key': key, 'group': group})
-                    continue
-        else:
-            old_value = getattr(config, key, None)
-        if not old_value:
-            continue
-        elif isinstance(old_value, list):
-            new_value = [scrub_class_path(v) for v in old_value]
-        else:
-            new_value = scrub_class_path(old_value)
-
-        if new_value != old_value:
-            config.set_override(key, new_value, group=group)
-
-
-def modernize_quantum_config(config):
-    """Updates keys from old Quantum configurations for Neutron."""
-    config_keys = [
-        'allowed_rpc_exception_modules',
-        'core_plugin',
-        'device_driver',
-        'dhcp_driver',
-        'driver_fqn',
-        'interface_driver',
-        'network_scheduler_driver',
-        'notification_driver',
-        'router_scheduler_driver',
-        'rpc_backend',
-        'service_plugins',
-        ('SECURITYGROUP',
-         'firewall_driver',
-         'neutron.agent.securitygroups_rpc'),
-    ]
-
-    override_config(config, config_keys)
index 5cede267cff44b0e2f70f4807e8f742bd8ecbced..850806e898b5de5188ea67c3451be2226e75e7ad 100644 (file)
@@ -22,7 +22,6 @@ from alembic import script as alembic_script
 from alembic import util as alembic_util
 from oslo.config import cfg
 
-from neutron.common import legacy
 
 HEAD_FILENAME = 'HEAD'
 
@@ -165,5 +164,4 @@ def main():
 
     CONF()
     #TODO(gongysh) enable logging
-    legacy.modernize_quantum_config(CONF)
     CONF.command.func(config, CONF.command.name)
index 42793f72113c3925c4b9be3dec0b4064e1d45f86..5af173abcfe98728860a9848dffde94b91596e30 100644 (file)
@@ -21,7 +21,6 @@ from oslo.config import cfg
 
 from neutron.agent.common import config
 from neutron.agent.linux import interface
-from neutron.common import legacy
 from neutron.debug.debug_agent import NeutronDebugAgent
 from neutron.openstack.common import importutils
 from neutronclient.common import exceptions as exc
@@ -79,7 +78,6 @@ class NeutronDebugShell(NeutronShell):
         config.register_root_helper(cfg.CONF)
         cfg.CONF(['--config-file', self.options.config_file])
         config.setup_logging(cfg.CONF)
-        legacy.modernize_quantum_config(cfg.CONF)
         driver = importutils.import_object(cfg.CONF.interface_driver, cfg.CONF)
         self.debug_agent = NeutronDebugAgent(cfg.CONF, client, driver)
 
index 96ff94ae8f03308377b0b95bd6a2466fa5f7ebab..e4127beff3cf2e61b61b889d5e8f5821a8612cd6 100644 (file)
@@ -15,7 +15,6 @@
 
 from oslo.config import cfg
 
-from neutron.common import legacy
 from neutron.common import utils
 from neutron.openstack.common import importutils
 from neutron.openstack.common import log as logging
@@ -110,8 +109,6 @@ class NeutronManager(object):
         LOG.info(_("Loading core plugin: %s"), plugin_provider)
         self.plugin = self._get_plugin_instance('neutron.core_plugins',
                                                 plugin_provider)
-        legacy.modernize_quantum_config(cfg.CONF)
-
         msg = validate_post_plugin_load()
         if msg:
             LOG.critical(msg)
index d390c4f771178eb30b54a996617975910d4b38f9..82b3ad89d8326e67cfff99103209ada7770a8fb5 100644 (file)
@@ -100,7 +100,7 @@ http://wiki.openstack.org/brocade-neutron-plugin
 In order to use Brocade Neutron Plugin, add the following lines in localrc, if localrc file doe
  not exist create one:
 
-ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,quantum,q-svc,q-agt
+ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,neutron,q-svc,q-agt
 Q_PLUGIN=brocade
 
 As part of running devstack/stack.sh, the configuration files is copied as:
index 5221c974cfa5e8267c0d640d5c79eac744a1632c..8b1b21dddba0de811d044f91b6e9d49a22795a73 100644 (file)
@@ -28,7 +28,6 @@ from neutron.agent.linux import ovs_lib
 from neutron.agent import rpc as agent_rpc
 from neutron.common import config as logging_config
 from neutron.common import constants as n_const
-from neutron.common import legacy
 from neutron.common import topics
 from neutron.common import utils as n_utils
 from neutron import context
@@ -257,7 +256,6 @@ def main():
     cfg.CONF.register_opts(ip_lib.OPTS)
     cfg.CONF(project='neutron')
     logging_config.setup_logging(cfg.CONF)
-    legacy.modernize_quantum_config(cfg.CONF)
 
     try:
         agent_config = create_agent_config_map(cfg.CONF)
index c6205afb80b1dbccc4a895603150b74e92f5bcc3..694b80e99cd118a3d86d28e23730231b7c9ba617 100644 (file)
@@ -3,7 +3,7 @@ Quantum NEC OpenFlow Plugin
 
 # -- What's this?
 
-http://wiki.openstack.org/Quantum-NEC-OpenFlow-Plugin
+https://wiki.openstack.org/wiki/Neutron/NEC_OpenFlow_Plugin
 
 
 # -- Installation
index 11ff682183b8722558234759d2ab91871f4f43e4..a92a36bf0334750ce26deb5e4aabb9a651715299 100644 (file)
@@ -32,7 +32,6 @@ from neutron.agent import rpc as agent_rpc
 from neutron.agent import securitygroups_rpc as sg_rpc
 from neutron.common import config as logging_config
 from neutron.common import constants as q_const
-from neutron.common import legacy
 from neutron.common import topics
 from neutron.common import utils as q_utils
 from neutron import context
@@ -1343,7 +1342,6 @@ def main():
     cfg.CONF(project='neutron')
     logging_config.setup_logging(cfg.CONF)
     q_utils.log_opt_values(LOG)
-    legacy.modernize_quantum_config(cfg.CONF)
 
     try:
         agent_config = create_agent_config_map(cfg.CONF)
index 9976f71bea6694f1939b209a47ad11a6c6d5d4dd..2768b1a2731a384bd8c570036c21802c6edb14dd 100644 (file)
@@ -22,7 +22,6 @@ from oslo.config import cfg
 import webob
 
 from neutron.common import exceptions
-from neutron.common import legacy
 from neutron.openstack.common import importutils
 from neutron.openstack.common import log as logging
 
@@ -58,7 +57,6 @@ quota_opts = [
 ]
 # Register the configuration options
 cfg.CONF.register_opts(quota_opts, 'QUOTAS')
-legacy.override_config(cfg.CONF, [('QUOTAS', 'quota_driver', 'neutron.quota')])
 
 
 class ConfDriver(object):
index f035156568641c5f50d6812591609b7f02549a0b..754a68f905860220173eaddf745eb2a5fd8c886f 100644 (file)
@@ -22,7 +22,6 @@ import random
 from oslo.config import cfg
 
 from neutron.common import config
-from neutron.common import legacy
 from neutron import context
 from neutron import manager
 from neutron import neutron_plugin_base_v2
@@ -91,7 +90,6 @@ class NeutronApiService(WsgiService):
         # Log the options used when starting if we're in debug mode...
 
         config.setup_logging(cfg.CONF)
-        legacy.modernize_quantum_config(cfg.CONF)
         # Dump the initial option values
         cfg.CONF.log_opt_values(LOG, std_logging.DEBUG)
         service = cls(app_name)
@@ -101,13 +99,8 @@ class NeutronApiService(WsgiService):
 def serve_wsgi(cls):
 
     try:
-        try:
-            service = cls.create()
-            service.start()
-        except RuntimeError:
-            LOG.exception(_('Error occurred: trying old api-paste.ini.'))
-            service = cls.create('quantum')
-            service.start()
+        service = cls.create()
+        service.start()
     except Exception:
         with excutils.save_and_reraise_exception():
             LOG.exception(_('Unrecoverable error: please check log '
index 25cf02ffadff9b0789de07b7a15ef41a538acf4a..97d5de06b094afd077a8b20e0748cc6d2a4e34e5 100755 (executable)
@@ -28,7 +28,6 @@ from neutron.agent.linux import external_process
 from neutron.agent.linux import interface
 from neutron.agent.linux import ip_lib
 from neutron.common import constants as l3_constants
-from neutron.common import legacy
 from neutron.common import topics
 from neutron.openstack.common import log as logging
 from neutron.openstack.common import service
@@ -339,7 +338,6 @@ def main():
     conf.register_opts(external_process.OPTS)
     conf(project='neutron')
     config.setup_logging(conf)
-    legacy.modernize_quantum_config(conf)
     server = neutron_service.Service.create(
         binary='neutron-l3-agent',
         topic=topics.L3_AGENT,
index 3a7116c2b3a9c9ca6a97d6532acb03b8281df1b1..d9cc64658e5fa30c4b501ce88768a6bdf45894e0 100644 (file)
@@ -21,7 +21,6 @@ from oslo.config import cfg
 
 from neutron.agent.common import config
 from neutron.agent.linux import interface
-from neutron.common import legacy
 from neutron.common import topics
 from neutron.openstack.common.rpc import service as rpc_service
 from neutron.openstack.common import service
@@ -59,7 +58,6 @@ def main():
 
     cfg.CONF(project='neutron')
     config.setup_logging(cfg.CONF)
-    legacy.modernize_quantum_config(cfg.CONF)
 
     mgr = manager.LbaasAgentManager(cfg.CONF)
     svc = LbaasAgentService(
diff --git a/neutron/tests/unit/test_legacy.py b/neutron/tests/unit/test_legacy.py
deleted file mode 100644 (file)
index 6723d06..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-# vim: tabstop=4 shiftwidth=4 softtabstop=4
-#
-# Copyright 2013 New Dream Network, LLC (DreamHost)
-# All Rights Reserved.
-#
-#    Licensed under the Apache License, Version 2.0 (the "License"); you may
-#    not use this file except in compliance with the License. You may obtain
-#    a copy of the License at
-#
-#         http://www.apache.org/licenses/LICENSE-2.0
-#
-#    Unless required by applicable law or agreed to in writing, software
-#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-#    License for the specific language governing permissions and limitations
-#    under the License.
-
-# @author Mark McClain (DreamHost)
-
-import mock
-from oslo.config import cfg
-
-from neutron.common import legacy
-from neutron.tests import base
-
-
-class TestLegacyScrubPath(base.BaseTestCase):
-    def test_neutron_path(self):
-        self.assertEqual(
-            'neutron.foo.NeutronPlugin',
-            legacy.scrub_class_path('neutron.foo.NeutronPlugin')
-        )
-
-    def test_quantum_path(self):
-        with mock.patch.object(legacy, 'LOG') as log:
-            self.assertEqual(
-                'neutron.foo.NeutronPlugin',
-                legacy.scrub_class_path('quantum.foo.QuantumPlugin')
-            )
-
-            log.assert_has_calls([mock.call.warn(mock.ANY, mock.ANY)])
-
-    def test_third_party_path(self):
-        self.assertEqual(
-            'third.party.quantum.QuantumPlugin',
-            legacy.scrub_class_path('third.party.quantum.QuantumPlugin')
-        )
-
-
-class TestLegacyConfigOverride(base.BaseTestCase):
-    def setUp(self):
-        super(TestLegacyConfigOverride, self).setUp()
-        self.cfg = cfg.ConfigOpts()
-        self.cfg.register_cli_opts([cfg.StrOpt('foo'), cfg.ListOpt('thelist')])
-        self.cfg.register_cli_opts([cfg.StrOpt('baz')], group='bar')
-
-    def test_override_config_simple_key(self):
-        self.cfg(args=['--foo=quantum'])
-        legacy.override_config(self.cfg, ['foo'])
-        self.assertEqual(self.cfg.foo, 'neutron')
-
-    def test_override_config_simple_key_unchanged(self):
-        self.cfg(args=['--foo=something.else'])
-        legacy.override_config(self.cfg, ['foo'])
-        self.assertEqual(self.cfg.foo, 'something.else')
-
-    def test_override_config_missing_key(self):
-        self.cfg(args=[])
-        legacy.override_config(self.cfg, ['foo'])
-        self.assertIsNone(self.cfg.foo)
-
-    def test_override_config_group_key(self):
-        self.cfg(args=['--bar-baz=quantum'])
-        legacy.override_config(self.cfg, [('bar', 'baz', 'mod')])
-        self.assertEqual(self.cfg.bar.baz, 'neutron')
-
-    def test_override_config_list_value(self):
-        self.cfg(args=['--thelist=quantum,neutron,quantum.Quantum'])
-        legacy.override_config(self.cfg, ['thelist'])
-        self.assertEqual(
-            self.cfg.thelist,
-            ['neutron', 'neutron', 'neutron.Neutron']
-        )
diff --git a/quantum/__init__.py b/quantum/__init__.py
deleted file mode 100644 (file)
index 41e1c7e..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-# vim: tabstop=4 shiftwidth=4 softtabstop=4
-#
-# Copyright 2013 New Dream Network, LLC (DreamHost)
-# All Rights Reserved.
-#
-#    Licensed under the Apache License, Version 2.0 (the "License"); you may
-#    not use this file except in compliance with the License. You may obtain
-#    a copy of the License at
-#
-#         http://www.apache.org/licenses/LICENSE-2.0
-#
-#    Unless required by applicable law or agreed to in writing, software
-#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-#    License for the specific language governing permissions and limitations
-#    under the License.
-
-# @author Mark McClain (DreamHost)
diff --git a/quantum/api/__init__.py b/quantum/api/__init__.py
deleted file mode 100644 (file)
index 4f87171..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-# vim: tabstop=4 shiftwidth=4 softtabstop=4
-#
-# Copyright 2013 New Dream Network, LLC (DreamHost)
-# All Rights Reserved.
-#
-#    Licensed under the Apache License, Version 2.0 (the "License"); you may
-#    not use this file except in compliance with the License. You may obtain
-#    a copy of the License at
-#
-#         http://www.apache.org/licenses/LICENSE-2.0
-#
-#    Unless required by applicable law or agreed to in writing, software
-#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-#    License for the specific language governing permissions and limitations
-#    under the License.
-
-# @author Mark McClain (DreamHost)
-
-import sys
-import warnings
-
-from neutron import api
-from neutron.api import extensions
-from neutron.api import v2
-
-
-warnings.warn(
-    _('You are using old configuration values for the api-paste config. '
-      'Please update for Neutron.')
-)
-sys.modules['quantum.api.extensions'] = extensions
-sys.modules['quantum.api.v2'] = v2
-# The following assigment must be performed at the end of the module.
-# Otherwise local variables will be overwritten.
-sys.modules['quantum.api'] = api
diff --git a/quantum/auth.py b/quantum/auth.py
deleted file mode 100644 (file)
index 7631561..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-# vim: tabstop=4 shiftwidth=4 softtabstop=4
-#
-# Copyright 2013 New Dream Network, LLC (DreamHost)
-# All Rights Reserved.
-#
-#    Licensed under the Apache License, Version 2.0 (the "License"); you may
-#    not use this file except in compliance with the License. You may obtain
-#    a copy of the License at
-#
-#         http://www.apache.org/licenses/LICENSE-2.0
-#
-#    Unless required by applicable law or agreed to in writing, software
-#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-#    License for the specific language governing permissions and limitations
-#    under the License.
-
-# @author Mark McClain (DreamHost)
-
-import warnings
-
-from neutron import auth
-
-
-warnings.warn(
-    _('You are using old configuration values for the api-paste config. '
-      'Please update for Neutron.')
-)
-
-# For compatibility with old configurations
-QuantumKeystoneContext = auth.NeutronKeystoneContext
-pipeline_factory = auth.pipeline_factory
index 24c5ee2aef5d6729c6331468d9ab4164fb87c347..15a7d9a5e65b4624d6b58a25296ca22372b74663 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -21,7 +21,6 @@ classifier =
 [files]
 packages =
     neutron
-    quantum
 data_files =
     etc/neutron =
         etc/api-paste.ini
@@ -75,9 +74,7 @@ data_files =
     etc/neutron/plugins/ryu = etc/neutron/plugins/ryu/ryu.ini
     etc/neutron/plugins/vmware = etc/neutron/plugins/vmware/nsx.ini
 scripts =
-    bin/quantum-rootwrap
     bin/neutron-rootwrap
-    bin/quantum-rootwrap-xen-dom0
     bin/neutron-rootwrap-xen-dom0
 
 [global]
@@ -111,28 +108,7 @@ console_scripts =
     neutron-server = neutron.server:main
     neutron-rootwrap = oslo.rootwrap.cmd:main
     neutron-usage-audit = neutron.cmd.usage_audit:main
-    quantum-check-nvp-config = neutron.plugins.vmware.check_nsx_config:main
-    quantum-db-manage = neutron.db.migration.cli:main
     neutron-vpn-agent = neutron.services.vpn.agent:main
-    quantum-debug = neutron.debug.shell:main
-    quantum-dhcp-agent = neutron.agent.dhcp_agent:main
-    quantum-hyperv-agent = neutron.plugins.hyperv.agent.hyperv_neutron_agent:main
-    quantum-ibm-agent = neutron.plugins.ibm.agent.sdnve_neutron_agent:main
-    quantum-l3-agent = neutron.agent.l3_agent:main
-    quantum-lbaas-agent = neutron.services.loadbalancer.agent.agent:main
-    quantum-linuxbridge-agent = neutron.plugins.linuxbridge.agent.linuxbridge_neutron_agent:main
-    quantum-metadata-agent = neutron.agent.metadata.agent:main
-    quantum-mlnx-agent = neutron.plugins.mlnx.agent.eswitch_neutron_agent:main
-    quantum-nec-agent = neutron.plugins.nec.agent.nec_neutron_agent:main
-    quantum-netns-cleanup = neutron.agent.netns_cleanup_util:main
-    quantum-ns-metadata-proxy = neutron.agent.metadata.namespace_proxy:main
-    quantum-nvsd-agent = neutron.plugins.oneconvergence.agent.nvsd_neutron_agent:main
-    quantum-openvswitch-agent = neutron.plugins.openvswitch.agent.ovs_neutron_agent:main
-    quantum-ovs-cleanup = neutron.agent.ovs_cleanup_util:main
-    quantum-ryu-agent = neutron.plugins.ryu.agent.ryu_neutron_agent:main
-    quantum-server = neutron.server:main
-    quantum-rootwrap = oslo.rootwrap.cmd:main
-    quantum-usage-audit = neutron.cmd.usage_audit:main
     neutron-metering-agent = neutron.services.metering.agents.metering_agent:main
     neutron-ofagent-agent = ryu.cmd.ofa_neutron_agent:main
 neutron.core_plugins =