Merge "Trivial: Remove unused logging import"
This commit is contained in:
commit
578a750181
@ -26,7 +26,6 @@ from neutron.db import servicetype_db as st_db
|
|||||||
from neutron import manager
|
from neutron import manager
|
||||||
from neutron.plugins.common import constants
|
from neutron.plugins.common import constants
|
||||||
from oslo_db import exception
|
from oslo_db import exception
|
||||||
from oslo_log import log as logging
|
|
||||||
from oslo_utils import excutils
|
from oslo_utils import excutils
|
||||||
from oslo_utils import uuidutils
|
from oslo_utils import uuidutils
|
||||||
import sqlalchemy as sa
|
import sqlalchemy as sa
|
||||||
@ -38,8 +37,6 @@ from neutron_lbaas._i18n import _LE
|
|||||||
from neutron_lbaas.extensions import loadbalancer
|
from neutron_lbaas.extensions import loadbalancer
|
||||||
from neutron_lbaas.services.loadbalancer import constants as lb_const
|
from neutron_lbaas.services.loadbalancer import constants as lb_const
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class SessionPersistence(model_base.BASEV2):
|
class SessionPersistence(model_base.BASEV2):
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@ from neutron.common import rpc as n_rpc
|
|||||||
from neutron.db import agents_db
|
from neutron.db import agents_db
|
||||||
from neutron.services import provider_configuration as provconf
|
from neutron.services import provider_configuration as provconf
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log as logging
|
|
||||||
import oslo_messaging as messaging
|
import oslo_messaging as messaging
|
||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
|
|
||||||
@ -27,7 +26,6 @@ from neutron_lbaas.extensions import lbaas_agentschedulerv2
|
|||||||
from neutron_lbaas.services.loadbalancer import constants as lb_const
|
from neutron_lbaas.services.loadbalancer import constants as lb_const
|
||||||
from neutron_lbaas.services.loadbalancer import data_models
|
from neutron_lbaas.services.loadbalancer import data_models
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
LB_SCHEDULERS = 'loadbalancer_schedulers'
|
LB_SCHEDULERS = 'loadbalancer_schedulers'
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
import copy
|
import copy
|
||||||
|
|
||||||
from oslo_log import log as logging
|
|
||||||
from tempest_lib.services.identity.v2.token_client import TokenClientJSON
|
from tempest_lib.services.identity.v2.token_client import TokenClientJSON
|
||||||
from tempest_lib.services.identity.v3.token_client import V3TokenClientJSON
|
from tempest_lib.services.identity.v3.token_client import V3TokenClientJSON
|
||||||
|
|
||||||
@ -137,7 +136,6 @@ from neutron_lbaas.tests.tempest.lib.services.volume.v2.json.snapshots_client im
|
|||||||
from neutron_lbaas.tests.tempest.lib.services.volume.v2.json.volumes_client import VolumesV2ClientJSON
|
from neutron_lbaas.tests.tempest.lib.services.volume.v2.json.volumes_client import VolumesV2ClientJSON
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class Manager(manager.Manager):
|
class Manager(manager.Manager):
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
|
|
||||||
import abc
|
import abc
|
||||||
|
|
||||||
from oslo_log import log as logging
|
|
||||||
import six
|
import six
|
||||||
from tempest_lib import auth
|
from tempest_lib import auth
|
||||||
|
|
||||||
@ -22,7 +21,6 @@ from neutron_lbaas.tests.tempest.lib import config
|
|||||||
from neutron_lbaas.tests.tempest.lib import exceptions
|
from neutron_lbaas.tests.tempest.lib import exceptions
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
# Type of credentials available from configuration
|
# Type of credentials available from configuration
|
||||||
CREDENTIAL_TYPES = {
|
CREDENTIAL_TYPES = {
|
||||||
|
@ -18,10 +18,6 @@ import functools
|
|||||||
|
|
||||||
import jsonschema
|
import jsonschema
|
||||||
|
|
||||||
from oslo_log import log as logging
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
def _check_for_expected_result(name, schema):
|
def _check_for_expected_result(name, schema):
|
||||||
expected_result = None
|
expected_result = None
|
||||||
|
@ -15,13 +15,9 @@
|
|||||||
|
|
||||||
import copy
|
import copy
|
||||||
|
|
||||||
from oslo_log import log as logging
|
|
||||||
|
|
||||||
import neutron_lbaas.tests.tempest.lib.common.generator.base_generator as base
|
import neutron_lbaas.tests.tempest.lib.common.generator.base_generator as base
|
||||||
import neutron_lbaas.tests.tempest.lib.common.generator.valid_generator as valid
|
import neutron_lbaas.tests.tempest.lib.common.generator.valid_generator as valid
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class NegativeTestGenerator(base.BasicGeneratorSet):
|
class NegativeTestGenerator(base.BasicGeneratorSet):
|
||||||
@base.generator_type("string")
|
@base.generator_type("string")
|
||||||
|
@ -13,14 +13,9 @@
|
|||||||
# 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 as logging
|
|
||||||
|
|
||||||
import neutron_lbaas.tests.tempest.lib.common.generator.base_generator as base
|
import neutron_lbaas.tests.tempest.lib.common.generator.base_generator as base
|
||||||
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class ValidTestGenerator(base.BasicGeneratorSet):
|
class ValidTestGenerator(base.BasicGeneratorSet):
|
||||||
@base.generator_type("string")
|
@base.generator_type("string")
|
||||||
@base.simple_generator
|
@base.simple_generator
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import netaddr
|
import netaddr
|
||||||
from oslo_log import log as logging
|
|
||||||
from tempest_lib.common.utils import data_utils
|
from tempest_lib.common.utils import data_utils
|
||||||
from tempest_lib import exceptions as lib_exc
|
from tempest_lib import exceptions as lib_exc
|
||||||
|
|
||||||
@ -25,8 +24,6 @@ import neutron_lbaas.tests.tempest.lib.test
|
|||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class BaseNetworkTest(neutron_lbaas.tests.tempest.lib.test.BaseTestCase):
|
class BaseNetworkTest(neutron_lbaas.tests.tempest.lib.test.BaseTestCase):
|
||||||
|
|
||||||
|
@ -13,8 +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 as logging
|
|
||||||
|
|
||||||
from neutron_lbaas.tests.tempest.lib.common import cred_provider
|
from neutron_lbaas.tests.tempest.lib.common import cred_provider
|
||||||
from neutron_lbaas.tests.tempest.lib import config
|
from neutron_lbaas.tests.tempest.lib import config
|
||||||
from neutron_lbaas.tests.tempest.lib import manager
|
from neutron_lbaas.tests.tempest.lib import manager
|
||||||
@ -41,7 +39,6 @@ from neutron_lbaas.tests.tempest.lib.services.network.json.network_client import
|
|||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class Manager(manager.Manager):
|
class Manager(manager.Manager):
|
||||||
|
@ -12,7 +12,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 as logging
|
|
||||||
from oslo_utils import uuidutils
|
from oslo_utils import uuidutils
|
||||||
from tempest_lib import exceptions as ex
|
from tempest_lib import exceptions as ex
|
||||||
|
|
||||||
@ -23,8 +22,6 @@ from neutron_lbaas.tests.tempest.v2.api import base
|
|||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class TestHealthMonitors(base.BaseAdminTestCase):
|
class TestHealthMonitors(base.BaseAdminTestCase):
|
||||||
|
|
||||||
|
@ -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 as logging
|
|
||||||
from tempest_lib.common.utils import data_utils
|
from tempest_lib.common.utils import data_utils
|
||||||
from tempest_lib import exceptions as ex
|
from tempest_lib import exceptions as ex
|
||||||
|
|
||||||
@ -23,8 +22,6 @@ from neutron_lbaas.tests.tempest.v2.api import base
|
|||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class ListenersTestJSON(base.BaseAdminTestCase):
|
class ListenersTestJSON(base.BaseAdminTestCase):
|
||||||
|
|
||||||
|
@ -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 as logging
|
|
||||||
from tempest_lib.common.utils import data_utils
|
from tempest_lib.common.utils import data_utils
|
||||||
from tempest_lib import exceptions
|
from tempest_lib import exceptions
|
||||||
|
|
||||||
@ -23,8 +22,6 @@ from neutron_lbaas.tests.tempest.v2.api import base
|
|||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class ListenersTestJSON(base.BaseTestCase):
|
class ListenersTestJSON(base.BaseTestCase):
|
||||||
|
|
||||||
|
@ -12,7 +12,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 as logging
|
|
||||||
from tempest_lib.common.utils import data_utils
|
from tempest_lib.common.utils import data_utils
|
||||||
from tempest_lib import exceptions as ex
|
from tempest_lib import exceptions as ex
|
||||||
|
|
||||||
@ -22,8 +21,6 @@ from neutron_lbaas.tests.tempest.v2.api import base
|
|||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class LoadBalancersTestJSON(base.BaseAdminTestCase):
|
class LoadBalancersTestJSON(base.BaseAdminTestCase):
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
from netaddr import IPAddress
|
from netaddr import IPAddress
|
||||||
|
|
||||||
from oslo_log import log as logging
|
|
||||||
from tempest_lib.common.utils import data_utils
|
from tempest_lib.common.utils import data_utils
|
||||||
from tempest_lib import exceptions
|
from tempest_lib import exceptions
|
||||||
|
|
||||||
@ -25,8 +24,6 @@ from neutron_lbaas.tests.tempest.v2.api import base
|
|||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class LoadBalancersTestJSON(base.BaseTestCase):
|
class LoadBalancersTestJSON(base.BaseTestCase):
|
||||||
|
|
||||||
|
@ -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 as logging
|
|
||||||
from tempest_lib.common.utils import data_utils
|
from tempest_lib.common.utils import data_utils
|
||||||
from tempest_lib import exceptions as ex
|
from tempest_lib import exceptions as ex
|
||||||
|
|
||||||
@ -22,8 +21,6 @@ from neutron_lbaas.tests.tempest.lib import test
|
|||||||
from neutron_lbaas.tests.tempest.v2.api import base
|
from neutron_lbaas.tests.tempest.v2.api import base
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class MemberTestJSON(base.BaseAdminTestCase):
|
class MemberTestJSON(base.BaseAdminTestCase):
|
||||||
"""
|
"""
|
||||||
|
@ -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 as logging
|
|
||||||
from tempest_lib.common.utils import data_utils
|
from tempest_lib.common.utils import data_utils
|
||||||
from tempest_lib import exceptions as ex
|
from tempest_lib import exceptions as ex
|
||||||
|
|
||||||
@ -23,8 +22,6 @@ from neutron_lbaas.tests.tempest.v2.api import base
|
|||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class MemberTestJSON(base.BaseTestCase):
|
class MemberTestJSON(base.BaseTestCase):
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from oslo_log import log as logging
|
|
||||||
from tempest_lib.common.utils import data_utils
|
from tempest_lib.common.utils import data_utils
|
||||||
import testscenarios
|
import testscenarios
|
||||||
|
|
||||||
@ -25,7 +24,6 @@ from neutron_lbaas.tests.tempest.v2.api import base
|
|||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
# Use local tempest conf if one is available.
|
# Use local tempest conf if one is available.
|
||||||
# This usually means we're running tests outside of devstack
|
# This usually means we're running tests outside of devstack
|
||||||
|
@ -12,7 +12,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 as logging
|
|
||||||
from tempest_lib import decorators
|
from tempest_lib import decorators
|
||||||
import testscenarios
|
import testscenarios
|
||||||
|
|
||||||
@ -21,8 +20,6 @@ from neutron_lbaas.tests.tempest.v2.ddt import base_ddt
|
|||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
scenario_lb_T = ('lb_T', {'lb_flag': True})
|
scenario_lb_T = ('lb_T', {'lb_flag': True})
|
||||||
scenario_lb_F = ('lb_F', {'lb_flag': False})
|
scenario_lb_F = ('lb_F', {'lb_flag': False})
|
||||||
|
|
||||||
|
@ -12,7 +12,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 as logging
|
|
||||||
import testscenarios
|
import testscenarios
|
||||||
|
|
||||||
from neutron_lbaas.tests.tempest.lib import config
|
from neutron_lbaas.tests.tempest.lib import config
|
||||||
@ -20,7 +19,6 @@ from neutron_lbaas.tests.tempest.v2.ddt import base_ddt
|
|||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Tests the following operations in the Neutron-LBaaS API using the
|
Tests the following operations in the Neutron-LBaaS API using the
|
||||||
|
@ -12,7 +12,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 as logging
|
|
||||||
import testscenarios
|
import testscenarios
|
||||||
|
|
||||||
from neutron_lbaas.tests.tempest.lib import config
|
from neutron_lbaas.tests.tempest.lib import config
|
||||||
@ -20,7 +19,6 @@ from neutron_lbaas.tests.tempest.v2.ddt import base_ddt
|
|||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Tests the following operations in the Neutron-LBaaS API using the
|
Tests the following operations in the Neutron-LBaaS API using the
|
||||||
|
Loading…
Reference in New Issue
Block a user