Remove unused variables ‘LOG'

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

Change-Id: I7819fc6c5b3b1bc7d62e613f79abf8f5bbd20f4d
This commit is contained in:
chenghuiyu 2017-11-22 17:35:31 +08:00
parent 618ee8658f
commit 46613e946b
6 changed files with 0 additions and 17 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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