Remove bgpvpn module when useless
Several parts of the code belong to a bgpvpn module that is alone in its parent's module. This is not needed, and complexify the code. Change-Id: Idf1f90a050c059e84bd3f054ca8a1a42d581c052
This commit is contained in:
15 changed files with 11 additions and 11 deletions
@@ -24,7 +24,7 @@ from neutron.db import models_v2
from oslo_log import log
from sqlalchemy.orm import exc
from networking_bgpvpn.neutron.extensions.bgpvpn.bgpvpn import BGPVPNPluginBase
from networking_bgpvpn.neutron.extensions.bgpvpn import BGPVPNPluginBase
LOG = log.getLogger(__name__)
@@ -17,7 +17,7 @@ import abc
import six
from networking_bgpvpn.neutron.extensions import bgpvpn as bgpvpn_ext
from networking_bgpvpn.neutron import extensions as bgpvpn_ext
from neutron.api import extensions
from neutron.api.v2 import attributes as attr
from neutron.api.v2 import resource_helper
@@ -13,7 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from networking_bgpvpn.neutron.db.bgpvpn import bgpvpn_db
from networking_bgpvpn.neutron.db import bgpvpn_db
from neutron.i18n import _LI
from neutron.plugins.common import constants
from neutron.services import service_base
@@ -20,8 +20,8 @@ from neutron.common import constants as const
from neutron.db import models_v2
from oslo_log import log as logging
from networking_bgpvpn.neutron.db.bgpvpn import bgpvpn_db
from networking_bgpvpn.neutron.services.bgpvpn import service_drivers
from networking_bgpvpn.neutron.db import bgpvpn_db
from networking_bgpvpn.neutron.services import service_drivers
from networking_bagpipe_l2.agent.bgpvpn import rpc_client
@@ -13,7 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from networking_bgpvpn.neutron.services.bgpvpn import service_drivers
from networking_bgpvpn.neutron.services import service_drivers
from oslo_log import log
LOG = log.getLogger(__name__)
@@ -17,15 +17,15 @@ from neutron import context
from neutron.tests.unit import testlib_api
from networking_bgpvpn.neutron.db.bgpvpn.bgpvpn_db \
from networking_bgpvpn.neutron.db.bgpvpn_db \
import BGPVPNConnectionNotFound
from networking_bgpvpn.neutron.db.bgpvpn.bgpvpn_db import BGPVPNPluginDb
from networking_bgpvpn.neutron.db.bgpvpn_db import BGPVPNPluginDb
class BGPVPNDBTestCase(testlib_api.SqlTestCase):
class BgpvpnDBTestCase(testlib_api.SqlTestCase):
def setUp(self):
super(BGPVPNDBTestCase, self).setUp()
super(BgpvpnDBTestCase, self).setUp()
self.ctx = context.get_admin_context()
self.plugin_db = BGPVPNPluginDb()
@@ -23,7 +23,7 @@ from neutron.tests.unit.api.v2 import test_base
from neutron.tests.unit.extensions import base as test_extensions_base
from webob import exc
from networking_bgpvpn.neutron.extensions.bgpvpn import bgpvpn
from networking_bgpvpn.neutron.extensions import bgpvpn
_uuid = uuidutils.generate_uuid
_get_path = test_base._get_path
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.