# License for the specific language governing permissions and limitations
# under the License.
-from oslo.utils import strutils
+from oslo_utils import strutils
import webob
from webob import exc
from xml.parsers import expat
-from oslo.utils import timeutils
from oslo_config import cfg
+from oslo_utils import timeutils
import webob.exc
from cinder.api import extensions
"""The QoS specs extension"""
-from oslo.utils import strutils
+from oslo_utils import strutils
import six
import webob
# License for the specific language governing permissions and limitations
# under the License.
-from oslo.utils import strutils
+from oslo_utils import strutils
import webob
from cinder.api import extensions
# under the License.
-from oslo.utils import timeutils
from oslo_config import cfg
+from oslo_utils import timeutils
import webob.exc
from cinder.api import extensions
from oslo import messaging
-from oslo.utils import strutils
+from oslo_utils import strutils
import webob
from cinder.api import extensions
import os
-from oslo.utils import importutils
from oslo_config import cfg
+from oslo_utils import importutils
import webob.dec
import webob.exc
from lxml import etree
from oslo.serialization import jsonutils
-from oslo.utils import excutils
+from oslo_utils import excutils
import six
import webob
import time
from oslo.serialization import jsonutils
-from oslo.utils import importutils
+from oslo_utils import importutils
import webob.dec
import webob.exc
"""The volumes snapshots api."""
-from oslo.utils import strutils
+from oslo_utils import strutils
import webob
from webob import exc
import time
from oslo.serialization import jsonutils
-from oslo.utils import importutils
+from oslo_utils import importutils
import webob.dec
import webob.exc
"""The volumes snapshots api."""
-from oslo.utils import strutils
+from oslo_utils import strutils
import webob
from webob import exc
"""The volume type & volume types extra specs extension."""
-from oslo.utils import strutils
+from oslo_utils import strutils
from webob import exc
from cinder.api.openstack import wsgi
import datetime
-from oslo.utils import timeutils
+from oslo_utils import timeutils
class ViewBuilder(object):
# Importing full names to not pollute the namespace and cause possible
# collisions with use of 'from cinder.backup import <foo>' elsewhere.
-from oslo.utils import importutils
+from oslo_utils import importutils
from cinder.common import config
from eventlet import greenthread
-from oslo.utils import excutils
from oslo_config import cfg
+from oslo_utils import excutils
from cinder.backup import rpcapi as backup_rpcapi
from cinder import context
import time
import eventlet
-from oslo.utils import encodeutils
-from oslo.utils import excutils
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import encodeutils
+from oslo_utils import excutils
+from oslo_utils import units
from cinder.backup.driver import BackupDriver
from cinder import exception
import socket
import eventlet
-from oslo.utils import excutils
-from oslo.utils import timeutils
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import timeutils
+from oslo_utils import units
import six
from swiftclient import client as swift
"""
from oslo import messaging
-from oslo.utils import excutils
-from oslo.utils import importutils
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import importutils
from cinder.backup import driver
from cinder.backup import rpcapi as backup_rpcapi
import re
import time
-from oslo.utils import excutils
from oslo_concurrency import processutils as putils
+from oslo_utils import excutils
from cinder.brick import exception
from cinder.brick import executor
# under the License.
import oslo.config.cfg
-from oslo.utils import importutils
+from oslo_utils import importutils
_compute_opts = [
# Importing full names to not pollute the namespace and cause possible
# collisions with use of 'from cinder.transfer import <foo>' elsewhere.
-from oslo.utils import importutils
+from oslo_utils import importutils
from cinder.common import config
import functools
-from oslo.utils import excutils
-from oslo.utils import timeutils
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import timeutils
from cinder.db import base
from cinder import exception
import copy
-from oslo.utils import timeutils
from oslo_context import context
+from oslo_utils import timeutils
from cinder.i18n import _
from cinder.openstack.common import local
"""Base class for classes that need modular database access."""
-from oslo.utils import importutils
from oslo_config import cfg
+from oslo_utils import importutils
db_driver_opt = cfg.StrOpt('db_driver',
import uuid
import warnings
-from oslo.utils import timeutils
from oslo_config import cfg
from oslo_db import exception as db_exc
from oslo_db import options
from oslo_db.sqlalchemy import session as db_session
+from oslo_utils import timeutils
import osprofiler.sqlalchemy
import six
import sqlalchemy
SQLAlchemy models for cinder data.
"""
-from oslo.utils import timeutils
from oslo_config import cfg
from oslo_db.sqlalchemy import models
+from oslo_utils import timeutils
from sqlalchemy import Column, Integer, String, Text, schema
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import ForeignKey, DateTime, Boolean
# NOTE(jsbryant): When other oslo libraries switch over non-namespaced
# imports, we will need to add them to the regex below.
oslo_namespace_imports = re.compile(r"from[\s]*oslo[.](concurrency|db"
- "|config)")
+ "|config|utils)")
def no_vi_headers(physical_line, line_number, lines):
import glanceclient.exc
from oslo.serialization import jsonutils
-from oslo.utils import timeutils
from oslo_config import cfg
+from oslo_utils import timeutils
import six.moves.urllib.parse as urlparse
from cinder import exception
import os
import tempfile
-from oslo.utils import timeutils
-from oslo.utils import units
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import timeutils
+from oslo_utils import units
from cinder import exception
from cinder.i18n import _
# License for the specific language governing permissions and limitations
# under the License.
-from oslo.utils import importutils
from oslo_config import cfg
+from oslo_utils import importutils
keymgr_opts = [
cfg.StrOpt('api_class',
from barbicanclient import client as barbican_client
from keystoneclient.auth import identity
from keystoneclient import session
-from oslo.utils import excutils
from oslo_config import cfg
+from oslo_utils import excutils
from cinder import exception
from cinder.i18n import _, _LE
import datetime
-from oslo.utils import importutils
-from oslo.utils import timeutils
from oslo_config import cfg
+from oslo_utils import importutils
+from oslo_utils import timeutils
from cinder import context
from cinder import db
# under the License.
-from oslo.utils import importutils
from oslo_config import cfg
+from oslo_utils import importutils
CONF = cfg.CONF
Scheduler base class that all Schedulers should inherit from
"""
-from oslo.utils import importutils
-from oslo.utils import timeutils
from oslo_config import cfg
+from oslo_utils import importutils
+from oslo_utils import timeutils
from cinder import db
from cinder.i18n import _
# License for the specific language governing permissions and limitations
# under the License.
-from oslo.utils import excutils
+from oslo_utils import excutils
import taskflow.engines
from taskflow.patterns import linear_flow
import UserDict
-from oslo.utils import timeutils
from oslo_config import cfg
+from oslo_utils import timeutils
from cinder import db
from cinder import exception
"""
from oslo import messaging
-from oslo.utils import excutils
-from oslo.utils import importutils
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import importutils
from cinder import context
from cinder import db
import json
import os
-from oslo.utils import timeutils
from oslo_config import cfg
+from oslo_utils import timeutils
from cinder.i18n import _LE
from cinder.openstack.common import log as logging
import random
from oslo import messaging
-from oslo.utils import importutils
from oslo_concurrency import processutils
from oslo_config import cfg
from oslo_db import exception as db_exc
+from oslo_utils import importutils
import osprofiler.notifier
from osprofiler import profiler
import osprofiler.web
import mock
import mox
from oslo.messaging import conffixture as messaging_conffixture
-from oslo.utils import strutils
-from oslo.utils import timeutils
from oslo_concurrency import lockutils
from oslo_config import cfg
from oslo_config import fixture as config_fixture
+from oslo_utils import strutils
+from oslo_utils import timeutils
import stubout
import testtools
import fixtures
from oslo.serialization import jsonutils
-from oslo.utils import timeutils
from oslo_concurrency import lockutils
from oslo_config import cfg
from oslo_config import fixture as config_fixture
+from oslo_utils import timeutils
import webob
from webob import exc
import datetime
from lxml import etree
-from oslo.utils import timeutils
+from oslo_utils import timeutils
import cinder.api.contrib.availability_zones
import cinder.context
from xml.dom import minidom
import mock
-from oslo.utils import timeutils
+from oslo_utils import timeutils
import webob
# needed for stubs to work
import datetime
from lxml import etree
-from oslo.utils import timeutils
+from oslo_utils import timeutils
import webob.exc
from cinder.api.contrib import hosts as os_hosts
from datetime import datetime
-from oslo.utils import timeutils
+from oslo_utils import timeutils
import webob.exc
from cinder.api.contrib import services
import uuid
-from oslo.utils import timeutils
+from oslo_utils import timeutils
import routes
import webob
import webob.dec
import uuid
from lxml import etree
-from oslo.utils import timeutils
+from oslo_utils import timeutils
import webob
from cinder.api.v1 import types
import uuid
from lxml import etree
-from oslo.utils import timeutils
+from oslo_utils import timeutils
import six
import webob
# under the License.
from oslo.serialization import jsonutils
-from oslo.utils import netutils
+from oslo_utils import netutils
import requests
import six.moves.urllib.parse as urlparse
Fakes For Scheduler tests.
"""
-from oslo.utils import timeutils
+from oslo_utils import timeutils
from cinder.openstack.common import uuidutils
from cinder.scheduler import filter_scheduler
"""
import mock
-from oslo.utils import timeutils
from oslo_config import cfg
+from oslo_utils import timeutils
from cinder import exception
from cinder.openstack.common.scheduler import filters
self.assertEqual(expected, mock_func.call_args_list)
self.assertEqual(set(result), set(self.fake_hosts))
- @mock.patch('oslo.utils.timeutils.utcnow')
+ @mock.patch('oslo_utils.timeutils.utcnow')
def test_update_service_capabilities(self, _mock_utcnow):
service_states = self.host_manager.service_states
self.assertDictMatch(service_states, {})
@mock.patch('cinder.db.service_get_all_by_topic')
@mock.patch('cinder.utils.service_is_up')
- @mock.patch('oslo.utils.timeutils.utcnow')
+ @mock.patch('oslo_utils.timeutils.utcnow')
def test_update_and_get_pools(self, _mock_utcnow,
_mock_service_is_up,
_mock_service_get_all_by_topic):
self.context = context.RequestContext('fake_user', 'fake_project')
@mock.patch('cinder.db.volume_update')
- @mock.patch('oslo.utils.timeutils.utcnow')
+ @mock.patch('oslo_utils.timeutils.utcnow')
def test_volume_host_update_db(self, _mock_utcnow, _mock_vol_update):
_mock_utcnow.return_value = 'fake-now'
driver.volume_update_db(self.context, 31337, 'fake_host')
# License for the specific language governing permissions and limitations
# under the License.
-from oslo.utils import timeutils
from oslo_config import cfg
+from oslo_utils import timeutils
from cinder import exception
from cinder import test
import tempfile
import mock
-from oslo.utils import timeutils
from oslo_concurrency import processutils as putils
+from oslo_utils import timeutils
from cinder import context
from cinder import test
import tempfile
import mock
-from oslo.utils import importutils
-from oslo.utils import timeutils
from oslo_config import cfg
+from oslo_utils import importutils
+from oslo_utils import timeutils
from cinder.backup import manager
from cinder import context
import mock
import mox
from oslo.serialization import jsonutils
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import units
from cinder.brick.initiator import connector
from cinder import exception
import collections
import mock
-from oslo.utils import importutils
-from oslo.utils import timeutils
+from oslo_utils import importutils
+from oslo_utils import timeutils
from cinder import context
from cinder.openstack.common import log as logging
import json
import mock
-from oslo.utils import timeutils
-from oslo.utils import units
+from oslo_utils import timeutils
+from oslo_utils import units
import requests
from cinder import context
import traceback
import mock
-from oslo.utils import units
from oslo_concurrency import processutils as putils
from oslo_config import cfg
+from oslo_utils import units
from cinder import brick
from cinder import compute
import tempfile
import mock
-from oslo.utils import units
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import units
from cinder import context
from cinder import exception
"from oslo.config import foo"))))
self.assertEqual(0, len(list(checks.check_oslo_namespace_imports(
"from oslo_config import bar"))))
+ self.assertEqual(1, len(list(checks.check_oslo_namespace_imports(
+ "from oslo.utils import foo"))))
+ self.assertEqual(0, len(list(checks.check_oslo_namespace_imports(
+ "from oslo_utils import bar"))))
import ast
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import units
from cinder import context
from cinder import exception
#
"""Unit tests for OpenStack Cinder volume drivers."""
import mock
-from oslo.utils import units
+from oslo_utils import units
from cinder import context
from cinder import exception
# under the License.
-from oslo.utils import importutils
from oslo_config import cfg
+from oslo_utils import importutils
from cinder import context
from cinder import test
import tempfile
from xml.dom.minidom import Document
-from oslo.utils import units
+from oslo_utils import units
from cinder.brick.initiator import connector as brick_connector
from cinder import exception
"""
import mock
-from oslo.utils import excutils
-from oslo.utils import units
from oslo_concurrency import processutils
+from oslo_utils import excutils
+from oslo_utils import units
import six
import random
"""
import mock
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import units
from cinder import context
from cinder import exception
import urllib2
import mox as mox_lib
-from oslo.utils import units
+from oslo_utils import units
from cinder import context
from cinder import db
from mox import IgnoreArg
from mox import IsA
from mox import stubout
-from oslo.utils import units
+from oslo_utils import units
from cinder import context
from cinder import exception
import re
import mock
-from oslo.utils import units
+from oslo_utils import units
from cinder import exception
from cinder import test
# under the License.
import mock
-from oslo.utils import units
from oslo_concurrency import processutils
+from oslo_utils import units
from cinder import exception
from cinder import test
from mox import IgnoreArg
from mox import IsA
from mox import stubout
-from oslo.utils import units
from oslo_concurrency import processutils as putils
from oslo_config import cfg
+from oslo_utils import units
from cinder import context
from cinder import exception
import datetime
import mock
-from oslo.utils import timeutils
from oslo_config import cfg
+from oslo_utils import timeutils
from cinder import backup
from cinder import context
import tempfile
import mock
-from oslo.utils import timeutils
-from oslo.utils import units
+from oslo_utils import timeutils
+from oslo_utils import units
from cinder import db
from cinder import exception
"""
import mock
-from oslo.utils import importutils
from oslo_config import cfg
+from oslo_utils import importutils
from cinder import context
from cinder import db
import tempfile
import mox as mox_lib
-from oslo.utils import units
+from oslo_utils import units
from cinder import context
from cinder import exception
import contextlib
import mock
-from oslo.utils import units
from oslo_concurrency import processutils
+from oslo_utils import units
from cinder.image import image_utils
from cinder import test
import mock
import mox
-from oslo.utils import timeutils
-from oslo.utils import units
+from oslo_utils import timeutils
+from oslo_utils import units
from cinder import context
from cinder import exception
"""
import mock
-from oslo.utils import units
from oslo_concurrency import processutils
+from oslo_utils import units
from cinder import context
from cinder import exception
import sys
import mock
-from oslo.utils import units
+from oslo_utils import units
fakeStorPool = mock.Mock()
import time
import mock
-from oslo.utils import excutils
-from oslo.utils import importutils
-from oslo.utils import units
from oslo_concurrency import processutils
+from oslo_utils import excutils
+from oslo_utils import importutils
+from oslo_utils import units
from cinder import context
from cinder import exception
import uuid
import mock
-from oslo.utils import timeutils
from oslo_concurrency import processutils as putils
from oslo_config import cfg
+from oslo_utils import timeutils
import paramiko
import six
utils.read_file_as_root,
test_filepath)
- @mock.patch('oslo.utils.timeutils.utcnow')
+ @mock.patch('oslo_utils.timeutils.utcnow')
def test_service_is_up(self, mock_utcnow):
fts_func = datetime.datetime.fromtimestamp
fake_now = 1000
month=2,
year=2012))
- @mock.patch('oslo.utils.timeutils.utcnow',
+ @mock.patch('oslo_utils.timeutils.utcnow',
return_value=datetime.datetime(day=1,
month=1,
year=2012))
self.assertEqual(datetime.datetime(day=1, month=11, year=2011), begin)
self.assertEqual(datetime.datetime(day=1, month=12, year=2011), end)
- @mock.patch('oslo.utils.timeutils.utcnow',
+ @mock.patch('oslo_utils.timeutils.utcnow',
return_value=datetime.datetime(day=2,
month=1,
year=2012))
"""
import mock
-from oslo.utils import units
+from oslo_utils import units
from cinder import context
from cinder.db.sqlalchemy import models
"""
import mock
-from oslo.utils import units
+from oslo_utils import units
from cinder import context
from cinder.db.sqlalchemy import models
"""
import mock
-from oslo.utils import units
+from oslo_utils import units
from cinder import test
from cinder.volume.drivers.vmware import datastore as ds_sel
import mock
import mox
-from oslo.utils import units
+from oslo_utils import units
from cinder import exception
from cinder.image import glance
"""
import mock
-from oslo.utils import units
+from oslo_utils import units
from cinder import test
from cinder.volume.drivers.vmware import error_util
import mock
import mox
from oslo.serialization import jsonutils
-from oslo.utils import importutils
-from oslo.utils import timeutils
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import importutils
+from oslo_utils import timeutils
+from oslo_utils import units
from stevedore import extension
from taskflow.engines.action_engine import engine
from json import JSONEncoder
-from oslo.utils import units
+from oslo_utils import units
from cinder.openstack.common import log as logging
from cinder import test
"""Unit tests for Brocade fc zone driver."""
import mock
-from oslo.utils import importutils
from oslo_config import cfg
+from oslo_utils import importutils
import paramiko
from cinder import exception
"""Unit tests for Cisco FC zone driver."""
-from oslo.utils import importutils
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import importutils
from cinder import exception
from cinder import test
# collisions with use of 'from cinder.transfer import <foo>' elsewhere.
-from oslo.utils import importutils
from oslo_config import cfg
+from oslo_utils import importutils
CONF = cfg.CONF
import hmac
import os
-from oslo.utils import excutils
from oslo_config import cfg
+from oslo_utils import excutils
from cinder.db import base
from cinder import exception
from xml.sax import expatreader
from xml.sax import saxutils
-from oslo.utils import importutils
-from oslo.utils import timeutils
from oslo_concurrency import lockutils
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import importutils
+from oslo_utils import timeutils
import six
from cinder.brick.initiator import connector
# Importing full names to not pollute the namespace and cause possible
# collisions with use of 'from cinder.volume import <foo>' elsewhere.
-from oslo.utils import importutils
+from oslo_utils import importutils
from cinder.common import config
import datetime
import functools
-from oslo.utils import excutils
-from oslo.utils import timeutils
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import timeutils
import six
from cinder import context
import time
-from oslo.utils import excutils
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import excutils
from cinder import exception
from cinder.i18n import _, _LE, _LW
import os
-from oslo.utils import importutils
from oslo_config import cfg
+from oslo_utils import importutils
from cinder import context
from cinder.db.sqlalchemy import api
import urllib2
from oslo.serialization import jsonutils
-from oslo.utils import units
from oslo_concurrency import lockutils
from oslo_config import cfg
+from oslo_utils import units
import six.moves.urllib.parse as urlparse
from cinder import exception
import json
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import units
import requests
from cinder import exception
# License for the specific language governing permissions and limitations
# under the License.
-from oslo.utils import excutils
from oslo_config import cfg
+from oslo_utils import excutils
from cinder import exception
from cinder.i18n import _, _LE, _LW
'''Volume driver for Dell Storage Center.'''
-from oslo.utils import excutils
+from oslo_utils import excutils
from cinder import exception
from cinder.i18n import _, _LE
'''Volume driver for Dell Storage Center.'''
-from oslo.utils import excutils
+from oslo_utils import excutils
from cinder import exception
from cinder.i18n import _, _LE
import uuid
-from oslo.utils import importutils
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import importutils
+from oslo_utils import units
import six
import time
from oslo.serialization import jsonutils as json
-from oslo.utils import excutils
-from oslo.utils import timeutils
from oslo_concurrency import lockutils
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import timeutils
import six
from cinder import exception
import eventlet
from eventlet import greenthread
import greenlet
-from oslo.utils import excutils
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import excutils
from cinder import exception
from cinder.i18n import _, _LE, _LW, _LI
import time
from xml.dom.minidom import parseString
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import units
import six
from cinder import exception
import random
import uuid
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import units
import requests
from cinder import exception
import os
import stat
-from oslo.utils import units
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import units
from cinder.brick.remotefs import remotefs as remotefs_brick
from cinder import exception
from xml.etree import ElementTree as ETree
-from oslo.utils import excutils
from oslo_config import cfg
+from oslo_utils import excutils
from cinder import exception
from cinder.i18n import _, _LE, _LI
import re
-from oslo.utils import units
+from oslo_utils import units
from cinder.openstack.common import log as logging
from cinder import utils
from xml.etree import ElementTree as ETree
-from oslo.utils import excutils
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import units
from cinder import exception
from cinder.i18n import _LE, _LI
import time
from xml.etree import ElementTree as ETree
-from oslo.utils import excutils
-from oslo.utils import units
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import units
from cinder import exception
from cinder.i18n import _, _LE, _LI
import os
import shlex
-from oslo.utils import excutils
from oslo_concurrency import lockutils
from oslo_concurrency import processutils as putils
+from oslo_utils import excutils
import six
from cinder import exception
import re
import threading
-from oslo.utils import excutils
from oslo_config import cfg
+from oslo_utils import excutils
import six
from cinder.db.sqlalchemy import api
import os
import threading
-from oslo.utils import excutils
from oslo_config import cfg
+from oslo_utils import excutils
import six
from cinder import exception
import threading
import time
-from oslo.utils import excutils
from oslo_concurrency import processutils as putils
from oslo_config import cfg
+from oslo_utils import excutils
import six
from cinder import exception
import uuid
from xml.etree import ElementTree as ET
-from oslo.utils import excutils
-from oslo.utils import units
+from oslo_utils import excutils
+from oslo_utils import units
import six
from cinder import context
import time
from xml.etree import ElementTree as ET
-from oslo.utils import excutils
+from oslo_utils import excutils
from cinder import context
from cinder import exception
import uuid
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import units
import six
from cinder import context
import socket
-from oslo.utils import units
+from oslo_utils import units
from cinder.i18n import _, _LE
from cinder.openstack.common import log as logging
import string
import threading
-from oslo.utils import excutils
-from oslo.utils import units
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import units
import six
from cinder import context
import re
import shutil
-from oslo.utils import units
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import units
from cinder import exception
from cinder.i18n import _, _LE, _LI
import os
import re
-from oslo.utils import units
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import units
from cinder import exception
from cinder.i18n import _, _LI, _LW
import math
import time
-from oslo.utils import excutils
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import units
from cinder import context
from cinder import exception
import unicodedata
from eventlet import greenthread
-from oslo.utils import excutils
-from oslo.utils import strutils
+from oslo_utils import excutils
+from oslo_utils import strutils
import six
from cinder import context
Unified Volume driver for IBM XIV and DS8K Storage Systems.
"""
-from oslo.utils import importutils
from oslo_config import cfg
+from oslo_utils import importutils
from cinder import exception
from cinder.openstack.common import log as logging
import os
import socket
-from oslo.utils import importutils
-from oslo.utils import units
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import importutils
+from oslo_utils import units
from cinder.brick import exception as brick_exception
from cinder.brick.local_dev import lvm as lvm
Supports multiple storage systems of different families and protocols.
"""
-from oslo.utils import importutils
+from oslo_utils import importutils
from cinder import exception
from cinder.i18n import _, _LI
Volume driver library for NetApp 7-mode block storage systems.
"""
-from oslo.utils import timeutils
-from oslo.utils import units
+from oslo_utils import timeutils
+from oslo_utils import units
import six
from cinder import exception
import sys
import uuid
-from oslo.utils import excutils
-from oslo.utils import units
+from oslo_utils import excutils
+from oslo_utils import units
import six
from cinder import exception
import copy
-from oslo.utils import units
+from oslo_utils import units
import six
from cinder import exception
import socket
import sys
-from oslo.utils import excutils
-from oslo.utils import timeutils
+from oslo_utils import excutils
+from oslo_utils import timeutils
import six
from cinder.i18n import _LE, _LW, _LI
Volume driver for NetApp NFS storage.
"""
-from oslo.utils import units
+from oslo_utils import units
import six
from cinder import exception
from threading import Timer
import time
-from oslo.utils import excutils
-from oslo.utils import units
from oslo_concurrency import processutils
+from oslo_utils import excutils
+from oslo_utils import units
import six.moves.urllib.parse as urlparse
from cinder import exception
import os
import uuid
-from oslo.utils import units
+from oslo_utils import units
import six
from cinder import exception
import copy
from threading import Timer
-from oslo.utils import timeutils
+from oslo_utils import timeutils
import six
from cinder import exception
import time
import uuid
-from oslo.utils import excutils
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import units
import six
from cinder import exception
import os
import re
-from oslo.utils import units
+from oslo_utils import units
from cinder import context
from cinder import db
import re
-from oslo.utils import units
+from oslo_utils import units
import six.moves.urllib.parse as urlparse
from cinder.i18n import _
import os
import time
-from oslo.utils import units
from oslo_concurrency import processutils as putils
from oslo_config import cfg
+from oslo_utils import units
import six
from cinder.brick.remotefs import remotefs as remotefs_brick
import string
import urllib2
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import units
from suds import client
from cinder import exception
import random
import time
-from oslo.utils import units
+from oslo_utils import units
import six
from cinder import exception
import re
import uuid
-from oslo.utils import excutils
-from oslo.utils import units
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import units
from cinder import exception
from cinder.i18n import _, _LE, _LI, _LW
import tempfile
import urllib
-from oslo.utils import encodeutils
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import encodeutils
+from oslo_utils import units
import six
from cinder import exception
import tempfile
import time
-from oslo.utils import units
from oslo_concurrency import processutils as putils
from oslo_config import cfg
+from oslo_utils import units
from cinder import compute
from cinder import db
import re
import uuid
-from oslo.utils import importutils
+from oslo_utils import importutils
hp3parclient = importutils.try_import("hp3parclient")
if hp3parclient:
from hp3parclient import client
from hp3parclient import exceptions as hpexceptions
-from oslo.utils import excutils
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import units
from cinder import context
from cinder import exception
"""
from lxml import etree
-from oslo.utils import units
from oslo_concurrency import processutils
+from oslo_utils import units
from cinder import exception
from cinder.i18n import _, _LE
#
"""HP LeftHand SAN ISCSI REST Proxy."""
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import units
from cinder import context
from cinder import exception
import random
from eventlet import greenthread
-from oslo.utils import excutils
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import excutils
from cinder import exception
from cinder.i18n import _, _LE
import os
import urllib2
-from oslo.utils import units
from oslo_concurrency import lockutils
from oslo_config import cfg
+from oslo_utils import units
import six.moves.urllib.parse as urlparse
from cinder import exception
"""
import re
-from oslo.utils import units
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import units
from cinder import exception
from cinder.i18n import _, _LE
import os
import re
-from oslo.utils import units
from oslo_concurrency import processutils as putils
from oslo_config import cfg
+from oslo_utils import units
from cinder.brick.remotefs import remotefs
from cinder import exception
import string
import time
-from oslo.utils import timeutils
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import timeutils
+from oslo_utils import units
import requests
from six import wraps
import sys
import time
-from oslo.utils import excutils
-from oslo.utils import units
from oslo_concurrency import lockutils
from oslo_concurrency import processutils as putils
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import units
import six
from cinder.brick.local_dev import lvm
from __future__ import absolute_import
-from oslo.utils import importutils
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import importutils
+from oslo_utils import units
import six
from cinder import exception
import re
import time
-from oslo.utils import importutils
from oslo_config import cfg
+from oslo_utils import importutils
from cinder import exception
from cinder.i18n import _, _LE, _LW, _LI
driver documentation for more information.
"""
-from oslo.utils import units
+from oslo_utils import units
from cinder import context
from cinder.db.sqlalchemy import models
import random
-from oslo.utils import units
+from oslo_utils import units
from cinder import context
from cinder.db.sqlalchemy import models
Classes and utility methods for datastore selection.
"""
-from oslo.utils import excutils
+from oslo_utils import excutils
from cinder.i18n import _LE, _LW
from cinder.openstack.common import log as logging
import urllib
import urllib2
-from oslo.utils import netutils
+from oslo_utils import netutils
import six.moves.urllib.parse as urlparse
from cinder.i18n import _, _LI
The VMware API utility module.
"""
-from oslo.utils import netutils
+from oslo_utils import netutils
def get_soap_url(protocol, host, path='sdk'):
import os
import tempfile
-from oslo.utils import excutils
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import units
from cinder import exception
from cinder.i18n import _, _LE, _LI, _LW
import urllib
-from oslo.utils import units
+from oslo_utils import units
from cinder.i18n import _, _LE, _LI
from cinder.openstack.common import log as logging
import re
import sys
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import units
from cinder import exception
from cinder.i18n import _
import ast
import base64
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import units
from cinder import exception
from cinder.i18n import _, _LE, _LW
from datetime import datetime
import errno
-from oslo.utils import excutils
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import units
from cinder import exception
from cinder.i18n import _, _LE, _LI
# under the License.
-from oslo.utils import timeutils
-from oslo.utils import units
from oslo_config import cfg
+from oslo_utils import timeutils
+from oslo_utils import units
import taskflow.engines
from taskflow.patterns import linear_flow
from taskflow.utils import misc
import traceback
-from oslo.utils import timeutils
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import timeutils
import taskflow.engines
from taskflow.patterns import linear_flow
from taskflow.utils import misc
from oslo import messaging
from oslo.serialization import jsonutils
-from oslo.utils import excutils
-from oslo.utils import importutils
-from oslo.utils import timeutils
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import importutils
+from oslo_utils import timeutils
from osprofiler import profiler
from cinder import compute
import math
from Crypto.Random import random
-from oslo.utils import strutils
-from oslo.utils import timeutils
-from oslo.utils import units
from oslo_concurrency import processutils
from oslo_config import cfg
+from oslo_utils import strutils
+from oslo_utils import timeutils
+from oslo_utils import units
from cinder.brick.local_dev import lvm as brick_lvm
from cinder import exception
import eventlet
import eventlet.wsgi
import greenlet
-from oslo.utils import excutils
-from oslo.utils import netutils
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import netutils
from paste import deploy
import routes.middleware
import webob.dec
#
-from oslo.utils import excutils
+from oslo_utils import excutils
import paramiko
from cinder import exception
import re
from eventlet import greenthread
-from oslo.utils import excutils
from oslo_concurrency import processutils
+from oslo_utils import excutils
from cinder import exception
from cinder.i18n import _, _LE
"""
-from oslo.utils import excutils
-from oslo.utils import importutils
from oslo_concurrency import lockutils
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import importutils
from cinder import exception
from cinder.i18n import _, _LE, _LI
import random
from eventlet import greenthread
-from oslo.utils import excutils
from oslo_concurrency import processutils
+from oslo_utils import excutils
import six
from cinder import exception
import re
from eventlet import greenthread
-from oslo.utils import excutils
from oslo_concurrency import processutils
+from oslo_utils import excutils
import six
from cinder import exception
:zone_name_prefix: Used by: class: 'FCZoneDriver'. Defaults to 'openstack'
"""
-from oslo.utils import excutils
-from oslo.utils import importutils
from oslo_concurrency import lockutils
from oslo_config import cfg
+from oslo_utils import excutils
+from oslo_utils import importutils
import six
from cinder import exception
"""
-from oslo.utils import importutils
+from oslo_utils import importutils
from cinder import exception
from cinder.i18n import _
"""
-from oslo.utils import importutils
from oslo_config import cfg
+from oslo_utils import importutils
from cinder import exception
from cinder.i18n import _, _LI