Remove unused variables ‘LOG'

Perhaps it was used for debbuging, but it's unused now.

Change-Id: I7819fc6c5b3b1bc7d62e613f79abf8f5bbd20f4d
changes/28/522228/4
chenghuiyu 5 years ago
parent 618ee8658f
commit 46613e946b
  1. 3
      neutron/agent/linux/openvswitch_firewall/rules.py
  2. 3
      neutron/db/securitygroups_rpc_base.py
  3. 3
      neutron/ipam/driver.py
  4. 3
      neutron/objects/qos/rule_type.py
  5. 3
      neutron/pecan_wsgi/hooks/body_validation.py
  6. 2
      neutron/plugins/ml2/drivers/openvswitch/agent/main.py

@ -17,7 +17,6 @@ import collections
import netaddr
from neutron_lib import constants as n_consts
from oslo_log import log as logging
from neutron.agent import firewall
from neutron.agent.linux.openvswitch_firewall import constants as ovsfw_consts
@ -25,8 +24,6 @@ from neutron.common import utils
from neutron.plugins.ml2.drivers.openvswitch.agent.common import constants \
as ovs_consts
LOG = logging.getLogger(__name__)
CT_STATES = [
ovsfw_consts.OF_STATE_ESTABLISHED_NOT_REPLY,
ovsfw_consts.OF_STATE_NEW_NOT_ESTABLISHED]

@ -16,7 +16,6 @@
import netaddr
from neutron_lib import constants as const
from neutron_lib.utils import helpers
from oslo_log import log as logging
from neutron._i18n import _
from neutron.callbacks import events
@ -29,8 +28,6 @@ from neutron.db import models_v2
from neutron.db import securitygroups_db as sg_db
from neutron.extensions import securitygroup as ext_sg
LOG = logging.getLogger(__name__)
DIRECTION_IP_PREFIX = {'ingress': 'source_ip_prefix',
'egress': 'dest_ip_prefix'}

@ -13,14 +13,11 @@
import abc
from oslo_config import cfg
from oslo_log import log
import six
from neutron.ipam import requests as ipam_req
from neutron import manager
LOG = log.getLogger(__name__)
@six.add_metaclass(abc.ABCMeta)
class Pool(object):

@ -13,7 +13,6 @@
from neutron_lib.plugins import constants
from neutron_lib.plugins import directory
from neutron_lib.services.qos import constants as qos_consts
from oslo_log import log as logging
from oslo_utils import versionutils
from oslo_versionedobjects import base as obj_base
from oslo_versionedobjects import fields as obj_fields
@ -21,8 +20,6 @@ from oslo_versionedobjects import fields as obj_fields
from neutron.objects import base
from neutron.objects import common_types
LOG = logging.getLogger(__name__)
class RuleTypeField(obj_fields.BaseEnumField):

@ -13,7 +13,6 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo_log import log
from oslo_serialization import jsonutils
from pecan import hooks
import webob.exc
@ -22,8 +21,6 @@ from neutron._i18n import _
from neutron.api.v2 import base as v2_base
from neutron.pecan_wsgi.hooks import utils
LOG = log.getLogger(__name__)
class BodyValidationHook(hooks.PecanHook):

@ -18,14 +18,12 @@
import sys
from oslo_config import cfg
from oslo_log import log as logging
from oslo_utils import importutils
from neutron.common import config as common_config
from neutron.common import profiler
LOG = logging.getLogger(__name__)
cfg.CONF.import_group('OVS', 'neutron.plugins.ml2.drivers.openvswitch.agent.'
'common.config')

Loading…
Cancel
Save