Merge imports in code
This patch merges all lines importing i18n into 1 line: http://docs.openstack.org/developer/hacking/#imports Change-Id: I828542a62cc577065f3bef9223d25cfe7a939785
This commit is contained in:
parent
7b3f3ec2f8
commit
7022b5fad5
@ -27,8 +27,7 @@ from oslo_log import log
|
|||||||
import six
|
import six
|
||||||
import webob
|
import webob
|
||||||
|
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -20,8 +20,7 @@ from oslo_log import log
|
|||||||
from stevedore import dispatch
|
from stevedore import dispatch
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _LI
|
from ironic.common.i18n import _LI, _LW
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.conf import CONF
|
from ironic.conf import CONF
|
||||||
from ironic.drivers import base as driver_base
|
from ironic.drivers import base as driver_base
|
||||||
|
|
||||||
|
@ -24,8 +24,7 @@ from oslo_log import log as logging
|
|||||||
import six
|
import six
|
||||||
from six.moves import http_client
|
from six.moves import http_client
|
||||||
|
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.conf import CONF
|
from ironic.conf import CONF
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
@ -31,8 +31,7 @@ from oslo_utils import fileutils
|
|||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.glance_service import service_utils as glance_utils
|
from ironic.common.glance_service import service_utils as glance_utils
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common import image_service as service
|
from ironic.common import image_service as service
|
||||||
from ironic.common import utils
|
from ironic.common import utils
|
||||||
from ironic.conf import CONF
|
from ironic.conf import CONF
|
||||||
|
@ -21,8 +21,7 @@ import six
|
|||||||
from six.moves.urllib import parse # for legacy options loading only
|
from six.moves.urllib import parse # for legacy options loading only
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.conf import auth as ironic_auth
|
from ironic.conf import auth as ironic_auth
|
||||||
from ironic.conf import CONF
|
from ironic.conf import CONF
|
||||||
|
|
||||||
|
@ -15,10 +15,7 @@ from neutronclient.v2_0 import client as clientv20
|
|||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LI, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import keystone
|
from ironic.common import keystone
|
||||||
from ironic.conf import CONF
|
from ironic.conf import CONF
|
||||||
|
|
||||||
|
@ -27,9 +27,7 @@ from ironic.api import app
|
|||||||
from ironic.common import config
|
from ironic.common import config
|
||||||
from ironic.common import context
|
from ironic.common import context
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LI
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common import rpc
|
from ironic.common import rpc
|
||||||
from ironic.conf import CONF
|
from ironic.conf import CONF
|
||||||
from ironic import objects
|
from ironic import objects
|
||||||
|
@ -37,9 +37,7 @@ import pytz
|
|||||||
import six
|
import six
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.conf import CONF
|
from ironic.conf import CONF
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
@ -27,11 +27,7 @@ from ironic.common import context as ironic_context
|
|||||||
from ironic.common import driver_factory
|
from ironic.common import driver_factory
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common import hash_ring as hash
|
from ironic.common import hash_ring as hash
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LC, _LE, _LI, _LW
|
||||||
from ironic.common.i18n import _LC
|
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import rpc
|
from ironic.common import rpc
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
|
@ -56,10 +56,7 @@ from ironic.common import dhcp_factory
|
|||||||
from ironic.common import driver_factory
|
from ironic.common import driver_factory
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.glance_service import service_utils as glance_utils
|
from ironic.common.glance_service import service_utils as glance_utils
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LI, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import images
|
from ironic.common import images
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.common import swift
|
from ironic.common import swift
|
||||||
|
@ -104,9 +104,7 @@ import six
|
|||||||
|
|
||||||
from ironic.common import driver_factory
|
from ironic.common import driver_factory
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic import objects
|
from ironic import objects
|
||||||
|
|
||||||
|
@ -16,10 +16,7 @@ from oslo_log import log
|
|||||||
from oslo_utils import excutils
|
from oslo_utils import excutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LI, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
|
|
||||||
|
@ -33,8 +33,7 @@ from sqlalchemy.orm import joinedload
|
|||||||
from sqlalchemy import sql
|
from sqlalchemy import sql
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LW
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.common import utils
|
from ironic.common import utils
|
||||||
from ironic.db import api
|
from ironic.db import api
|
||||||
|
@ -21,9 +21,7 @@ from oslo_log import log as logging
|
|||||||
from oslo_utils import netutils
|
from oslo_utils import netutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import network
|
from ironic.common import network
|
||||||
from ironic.common import neutron
|
from ironic.common import neutron
|
||||||
from ironic.conf import CONF
|
from ironic.conf import CONF
|
||||||
|
@ -21,10 +21,7 @@ import six.moves.urllib_parse as urlparse
|
|||||||
from ironic.common import dhcp_factory
|
from ironic.common import dhcp_factory
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.glance_service import service_utils
|
from ironic.common.glance_service import service_utils
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LI, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import image_service
|
from ironic.common import image_service
|
||||||
from ironic.common import images
|
from ironic.common import images
|
||||||
from ironic.common import raid
|
from ironic.common import raid
|
||||||
|
@ -29,10 +29,7 @@ import retrying
|
|||||||
from ironic.api.controllers.v1 import ramdisk
|
from ironic.api.controllers.v1 import ramdisk
|
||||||
from ironic.common import boot_devices
|
from ironic.common import boot_devices
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LI, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.common import utils
|
from ironic.common import utils
|
||||||
from ironic.conductor import rpcapi
|
from ironic.conductor import rpcapi
|
||||||
|
@ -18,9 +18,7 @@ from oslo_serialization import jsonutils
|
|||||||
import requests
|
import requests
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.conf import CONF
|
from ironic.conf import CONF
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
@ -24,8 +24,7 @@ import six
|
|||||||
|
|
||||||
from ironic.common import boot_devices
|
from ironic.common import boot_devices
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common import utils
|
from ironic.common import utils
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,9 +21,7 @@ from oslo_utils import excutils
|
|||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LI
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
from ironic.drivers import base
|
from ironic.drivers import base
|
||||||
from ironic.drivers.modules.amt import common as amt_common
|
from ironic.drivers.modules.amt import common as amt_common
|
||||||
|
@ -23,10 +23,7 @@ from oslo_utils import excutils
|
|||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LI, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
from ironic.drivers import base
|
from ironic.drivers import base
|
||||||
|
@ -32,9 +32,7 @@ from oslo_service import loopingcall
|
|||||||
from oslo_utils import netutils
|
from oslo_utils import netutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import utils
|
from ironic.common import utils
|
||||||
from ironic.conf import CONF
|
from ironic.conf import CONF
|
||||||
|
|
||||||
|
@ -31,9 +31,7 @@ from six.moves.urllib import parse
|
|||||||
from ironic.common import dhcp_factory
|
from ironic.common import dhcp_factory
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.glance_service import service_utils
|
from ironic.common.glance_service import service_utils
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import image_service
|
from ironic.common import image_service
|
||||||
from ironic.common import keystone
|
from ironic.common import keystone
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
|
@ -19,8 +19,7 @@ from oslo_log import log as logging
|
|||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.drivers.modules.drac import common as drac_common
|
from ironic.drivers.modules.drac import common as drac_common
|
||||||
|
|
||||||
drac_exceptions = importutils.try_import('dracclient.exceptions')
|
drac_exceptions = importutils.try_import('dracclient.exceptions')
|
||||||
|
@ -24,8 +24,7 @@ from oslo_utils import importutils
|
|||||||
|
|
||||||
from ironic.common import boot_devices
|
from ironic.common import boot_devices
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
from ironic.drivers import base
|
from ironic.drivers import base
|
||||||
from ironic.drivers.modules.drac import common as drac_common
|
from ironic.drivers.modules.drac import common as drac_common
|
||||||
|
@ -26,8 +26,7 @@ from oslo_service import loopingcall
|
|||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LW
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.common import utils
|
from ironic.common import utils
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
|
@ -27,9 +27,7 @@ import six.moves.urllib.parse as urlparse
|
|||||||
from ironic.common import boot_devices
|
from ironic.common import boot_devices
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.glance_service import service_utils
|
from ironic.common.glance_service import service_utils
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import image_service
|
from ironic.common import image_service
|
||||||
from ironic.common import images
|
from ironic.common import images
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
|
@ -30,10 +30,7 @@ from six.moves.urllib.parse import urljoin
|
|||||||
from ironic.common import boot_devices
|
from ironic.common import boot_devices
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.glance_service import service_utils
|
from ironic.common.glance_service import service_utils
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LI, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import images
|
from ironic.common import images
|
||||||
from ironic.common import swift
|
from ironic.common import swift
|
||||||
from ironic.common import utils
|
from ironic.common import utils
|
||||||
|
@ -20,8 +20,7 @@ from oslo_log import log as logging
|
|||||||
from ironic.common import boot_devices
|
from ironic.common import boot_devices
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.glance_service import service_utils
|
from ironic.common.glance_service import service_utils
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LW
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import image_service
|
from ironic.common import image_service
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
|
@ -16,9 +16,7 @@ from oslo_log import log as logging
|
|||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LI, _LW
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.common import utils
|
from ironic.common import utils
|
||||||
from ironic.conductor import utils as conductor_utils
|
from ironic.conductor import utils as conductor_utils
|
||||||
|
@ -22,8 +22,7 @@ from oslo_utils import importutils
|
|||||||
|
|
||||||
from ironic.common import boot_devices
|
from ironic.common import boot_devices
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
from ironic.conductor import utils as manager_utils
|
from ironic.conductor import utils as manager_utils
|
||||||
|
@ -30,8 +30,7 @@ import six
|
|||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.glance_service import service_utils
|
from ironic.common.glance_service import service_utils
|
||||||
from ironic.common.i18n import _LI
|
from ironic.common.i18n import _LI, _LW
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import image_service
|
from ironic.common import image_service
|
||||||
from ironic.common import images
|
from ironic.common import images
|
||||||
from ironic.common import utils
|
from ironic.common import utils
|
||||||
|
@ -21,9 +21,7 @@ from oslo_log import log as logging
|
|||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LI
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common import keystone
|
from ironic.common import keystone
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
|
@ -29,9 +29,7 @@ from oslo_utils import strutils
|
|||||||
|
|
||||||
from ironic.common import boot_devices
|
from ironic.common import boot_devices
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.common import utils
|
from ironic.common import utils
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
|
@ -48,10 +48,7 @@ import six
|
|||||||
|
|
||||||
from ironic.common import boot_devices
|
from ironic.common import boot_devices
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LI, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.common import utils
|
from ironic.common import utils
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
|
@ -27,9 +27,7 @@ from oslo_utils import importutils
|
|||||||
from ironic.common import boot_devices
|
from ironic.common import boot_devices
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.glance_service import service_utils
|
from ironic.common.glance_service import service_utils
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LI
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common import images
|
from ironic.common import images
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.conductor import utils as manager_utils
|
from ironic.conductor import utils as manager_utils
|
||||||
|
@ -19,9 +19,7 @@ from oslo_log import log as logging
|
|||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LI, _LW
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.drivers import base
|
from ironic.drivers import base
|
||||||
from ironic.drivers.modules.irmc import common as irmc_common
|
from ironic.drivers.modules.irmc import common as irmc_common
|
||||||
|
@ -20,8 +20,7 @@ from oslo_utils import importutils
|
|||||||
|
|
||||||
from ironic.common import boot_devices
|
from ironic.common import boot_devices
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
from ironic.drivers.modules import ipmitool
|
from ironic.drivers.modules import ipmitool
|
||||||
from ironic.drivers.modules.irmc import common as irmc_common
|
from ironic.drivers.modules.irmc import common as irmc_common
|
||||||
|
@ -19,8 +19,7 @@ from oslo_log import log as logging
|
|||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
from ironic.drivers import base
|
from ironic.drivers import base
|
||||||
|
@ -27,8 +27,7 @@ from requests import auth
|
|||||||
from requests import exceptions as requests_exceptions
|
from requests import exceptions as requests_exceptions
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -19,8 +19,7 @@ MSFT OCS Power Driver
|
|||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
from ironic.drivers import base
|
from ironic.drivers import base
|
||||||
|
@ -19,9 +19,7 @@ from oslo_log import log
|
|||||||
from oslo_utils import uuidutils
|
from oslo_utils import uuidutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LI, _LW
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import neutron
|
from ironic.common import neutron
|
||||||
from ironic.drivers import base
|
from ironic.drivers import base
|
||||||
|
|
||||||
|
@ -20,9 +20,7 @@ from oslo_log import log
|
|||||||
from oslo_utils import uuidutils
|
from oslo_utils import uuidutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LI, _LW
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import neutron
|
from ironic.common import neutron
|
||||||
from ironic.drivers import base
|
from ironic.drivers import base
|
||||||
from ironic import objects
|
from ironic import objects
|
||||||
|
@ -17,8 +17,7 @@ from oslo_log import log as logging
|
|||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.conf import CONF
|
from ironic.conf import CONF
|
||||||
from ironic.drivers import utils
|
from ironic.drivers import utils
|
||||||
|
@ -21,8 +21,7 @@ from oslo_log import log as logging
|
|||||||
import six
|
import six
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _LE
|
from ironic.common.i18n import _LE, _LI
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.drivers.modules import agent
|
from ironic.drivers.modules import agent
|
||||||
from ironic.drivers.modules import iscsi_deploy
|
from ironic.drivers.modules import iscsi_deploy
|
||||||
|
@ -18,10 +18,7 @@ from oslo_log import log as logging
|
|||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LI, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.drivers.modules.oneview import common
|
from ironic.drivers.modules.oneview import common
|
||||||
|
|
||||||
|
@ -18,8 +18,7 @@ from oslo_log import log as logging
|
|||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
from ironic.drivers import base
|
from ironic.drivers import base
|
||||||
|
@ -17,9 +17,7 @@
|
|||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
import retrying
|
import retrying
|
||||||
|
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LI, _LW
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.conductor import utils as manager_utils
|
from ironic.conductor import utils as manager_utils
|
||||||
from ironic.drivers.modules import agent
|
from ironic.drivers.modules import agent
|
||||||
|
@ -28,9 +28,7 @@ from ironic.common import boot_devices
|
|||||||
from ironic.common import dhcp_factory
|
from ironic.common import dhcp_factory
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.glance_service import service_utils
|
from ironic.common.glance_service import service_utils
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import image_service as service
|
from ironic.common import image_service as service
|
||||||
from ironic.common import pxe_utils
|
from ironic.common import pxe_utils
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
|
@ -28,9 +28,7 @@ from six.moves.urllib import parse as urlparse
|
|||||||
|
|
||||||
from ironic.common import boot_devices
|
from ironic.common import boot_devices
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.common import utils
|
from ironic.common import utils
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
|
@ -36,8 +36,7 @@ from oslo_utils import importutils
|
|||||||
import six
|
import six
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LW
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.common import utils
|
from ironic.common import utils
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
|
@ -39,9 +39,7 @@ import retrying
|
|||||||
|
|
||||||
from ironic.common import boot_devices
|
from ironic.common import boot_devices
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.common import utils
|
from ironic.common import utils
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
|
@ -21,8 +21,7 @@ from oslo_utils import importutils
|
|||||||
import six
|
import six
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.drivers.modules import deploy_utils
|
from ironic.drivers.modules import deploy_utils
|
||||||
|
|
||||||
ucs_helper = importutils.try_import('UcsSdk.utils.helper')
|
ucs_helper = importutils.try_import('UcsSdk.utils.helper')
|
||||||
|
@ -23,8 +23,7 @@ from oslo_utils import importutils
|
|||||||
|
|
||||||
from ironic.common import boot_devices
|
from ironic.common import boot_devices
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.drivers import base
|
from ironic.drivers import base
|
||||||
from ironic.drivers.modules.ucs import helper as ucs_helper
|
from ironic.drivers.modules.ucs import helper as ucs_helper
|
||||||
|
|
||||||
|
@ -22,8 +22,7 @@ from oslo_service import loopingcall
|
|||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
from ironic.conf import CONF
|
from ironic.conf import CONF
|
||||||
|
@ -19,9 +19,7 @@ from oslo_utils import importutils
|
|||||||
|
|
||||||
from ironic.common import boot_devices
|
from ironic.common import boot_devices
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.common import utils
|
from ironic.common import utils
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
|
@ -24,8 +24,7 @@ import time
|
|||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LI
|
||||||
from ironic.common.i18n import _LI
|
|
||||||
from ironic.common import states
|
from ironic.common import states
|
||||||
from ironic.common import utils
|
from ironic.common import utils
|
||||||
from ironic.conductor import task_manager
|
from ironic.conductor import task_manager
|
||||||
|
@ -22,9 +22,7 @@ from oslo_utils import timeutils
|
|||||||
import six
|
import six
|
||||||
|
|
||||||
from ironic.common import exception
|
from ironic.common import exception
|
||||||
from ironic.common.i18n import _
|
from ironic.common.i18n import _, _LE, _LW
|
||||||
from ironic.common.i18n import _LE
|
|
||||||
from ironic.common.i18n import _LW
|
|
||||||
from ironic.common import swift
|
from ironic.common import swift
|
||||||
from ironic.conductor import utils
|
from ironic.conductor import utils
|
||||||
from ironic.drivers import base
|
from ironic.drivers import base
|
||||||
|
Loading…
Reference in New Issue
Block a user