TrivialFix: Remove logging import unused
This patch removes logging import unused in gbpservice/neutron/db/grouppolicy/group_policy_db.py gbpservice/neutron/db/grouppolicy/group_policy_mapping_db.py gbpservice/neutron/services/grouppolicy/drivers/extensions/proxy_group_driver.py gbpservice/neutron/services/grouppolicy/drivers/neutron_resources.py gbpservice/neutron/services/grouppolicy/group_policy_driver_api.py Change-Id: I89db78a1fec1d710ff42c7f211ff79a788c629ab
This commit is contained in:
parent
7f41e94f71
commit
7192cf36bd
|
@ -17,7 +17,6 @@ from neutron.db import common_db_mixin
|
|||
from neutron.db import model_base
|
||||
from neutron.db import models_v2
|
||||
from oslo_log import helpers as log
|
||||
from oslo_log import log as logging
|
||||
from oslo_utils import uuidutils
|
||||
import sqlalchemy as sa
|
||||
from sqlalchemy import orm
|
||||
|
@ -28,7 +27,6 @@ from gbpservice.neutron.services.grouppolicy.common import (
|
|||
constants as gp_constants)
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
MAX_IPV4_SUBNET_PREFIX_LENGTH = 31
|
||||
MAX_IPV6_SUBNET_PREFIX_LENGTH = 127
|
||||
ADDRESS_NOT_SPECIFIED = ''
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
from neutron.common import exceptions as nexc
|
||||
from neutron.db import model_base
|
||||
from oslo_log import helpers as log
|
||||
from oslo_log import log as logging
|
||||
from oslo_utils import uuidutils
|
||||
import sqlalchemy as sa
|
||||
from sqlalchemy import orm
|
||||
|
@ -23,9 +22,6 @@ from gbpservice.neutron.extensions import group_policy as gpolicy
|
|||
from gbpservice.neutron.services.grouppolicy.common import exceptions
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class AddressScopeUpdateForL3PNotSupported(nexc.BadRequest):
|
||||
message = _("Address Scope update for L3 Policy is not supported.")
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
# under the License.
|
||||
|
||||
from neutron.api.v2 import attributes
|
||||
from oslo_log import log as logging
|
||||
|
||||
from gbpservice.neutron.db.grouppolicy.extensions import group_proxy_db as db
|
||||
from gbpservice.neutron.db.grouppolicy import group_policy_db as gp_db
|
||||
|
@ -19,8 +18,6 @@ from gbpservice.neutron.extensions import driver_proxy_group
|
|||
from gbpservice.neutron.services.grouppolicy import (
|
||||
group_policy_driver_api as api)
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class ProxyGroupDriver(api.ExtensionDriver):
|
||||
_supported_extension_alias = 'proxy_group'
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
# under the License.
|
||||
|
||||
from oslo_log import helpers as log
|
||||
from oslo_log import log as logging
|
||||
|
||||
from gbpservice.neutron.services.grouppolicy.common import exceptions as exc
|
||||
from gbpservice.neutron.services.grouppolicy.drivers import (
|
||||
|
@ -20,9 +19,6 @@ from gbpservice.neutron.services.grouppolicy.drivers import (
|
|||
resource_mapping as rmd)
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class CommonNeutronBase(ipd.ImplicitPolicyBase, rmd.OwnedResourcesOperations,
|
||||
rmd.ImplicitResourceOperations):
|
||||
"""Neutron Resources' Orchestration driver.
|
||||
|
|
|
@ -13,14 +13,11 @@
|
|||
import abc
|
||||
|
||||
from neutron.api.v2 import attributes
|
||||
from oslo_log import log as logging
|
||||
import six
|
||||
from sqlalchemy.orm import exc as orm_exc
|
||||
|
||||
from gbpservice.common import utils
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@six.add_metaclass(abc.ABCMeta)
|
||||
class PolicyTargetContext(object):
|
||||
|
|
Loading…
Reference in New Issue