TrivialFix: Remove logging import unused

This patch removes logging import unused in
networking_l2gw/services/l2gateway/common/config.py
networking_l2gw/services/l2gateway/l2gw_agent.py
networking_l2gw/services/l2gateway/service_drivers/__init__.py
wqnetworking_l2gw/services/l2gateway/service_drivers/agent_api.py
networking_l2gw/tests/unit/db/test_l2gw_db.py

Change-Id: Ia3d9f27760a831bdf3ab8aa9abd2288d4baa4a15
stable/ocata
Nguyen Hung Phuong 6 years ago
parent 29cb4fe300
commit 214ded2486

@ -16,11 +16,9 @@
from neutron.common import config
from oslo_config import cfg
from oslo_log import log as logging
from networking_l2gw._i18n import _
LOG = logging.getLogger(__name__)
OVSDB_OPTS = [
cfg.StrOpt('ovsdb_hosts',

@ -19,15 +19,12 @@ from neutron.common import rpc as n_rpc
import sys
from oslo_config import cfg
from oslo_log import log as logging
from oslo_service import service
from networking_l2gw.services.l2gateway.agent.ovsdb import manager
from networking_l2gw.services.l2gateway.common import config
from networking_l2gw.services.l2gateway.common import topics
LOG = logging.getLogger(__name__)
class L2gatewayAgentService(n_rpc.Service):
def start(self):

@ -15,13 +15,9 @@
import abc
from oslo_log import log as logging
import six
LOG = logging.getLogger(__name__)
@six.add_metaclass(abc.ABCMeta)
class L2gwDriverBase(object):

@ -19,11 +19,8 @@ from networking_l2gw._i18n import _
from networking_l2gw.services.l2gateway.common import constants as n_const
from networking_l2gw.services.l2gateway import exceptions as l2gw_exc
from oslo_log import log as logging
import oslo_messaging as messaging
LOG = logging.getLogger(__name__)
class L2gatewayAgentApi(object):
"""L2gateway plugin to agent RPC API."""

@ -27,12 +27,10 @@ from networking_l2gw.services.l2gateway.common import l2gw_validators
from networking_l2gw.services.l2gateway import exceptions
from neutron_lib import exceptions as exc
from oslo_log import log as logging
from oslo_utils import importutils
from oslo_utils import uuidutils
DB_PLUGIN_KLASS = 'neutron.db.db_base_plugin_v2.NeutronDbPluginV2'
LOG = logging.getLogger(__name__)
_uuid = uuidutils.generate_uuid

Loading…
Cancel
Save