None (to disable), zlib and bz2 (default: zlib)
"""
-import eventlet
import hashlib
import httplib
import json
import os
import StringIO
+import eventlet
+from oslo.config import cfg
+
from cinder.db import base
from cinder import exception
from cinder import flags
-from cinder.openstack.common import cfg
from cinder.openstack.common import log as logging
from cinder.openstack.common import timeutils
from swiftclient import client as swift
+++ /dev/null
-# vim: tabstop=4 shiftwidth=4 softtabstop=4
-
-# Copyright 2013 Red Hat, Inc.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-from oslo.config.cfg import *
import uuid
+from oslo.config import cfg
import webob
from cinder.api import extensions
from cinder.api.v1 import snapshots
import cinder.db
from cinder import exception
-from cinder.openstack.common import cfg
from cinder.openstack.common import jsonutils
from cinder import test
from cinder.tests.api import fakes
import uuid
+from oslo.config import cfg
import webob
from cinder.api import extensions
from cinder.api.v2 import snapshots
import cinder.db
from cinder import exception
-from cinder.openstack.common import cfg
from cinder.openstack.common import jsonutils
from cinder import test
from cinder.tests.api import fakes
"""Tests for the configuration wrapper in volume drivers."""
+from oslo.config import cfg
+
from cinder import flags
-from cinder.openstack.common import cfg
from cinder.openstack.common import log as logging
from cinder import test
from cinder.volume import configuration
# License for the specific language governing permissions and limitations
# under the License.
+import contextlib
+import StringIO
+import unittest
+
+import mock
+import mox
+from oslo.config import cfg
+
from cinder.db import api as db_api
from cinder import exception
-from cinder.openstack.common import cfg
from cinder.volume import configuration as conf
from cinder.volume import driver as parent_driver
from cinder.volume.drivers.xenapi import lib
from cinder.volume.drivers.xenapi import sm as driver
from cinder.volume.drivers.xenapi import tools
-import contextlib
-import mock
-import mox
-import StringIO
-import unittest
class MockContext(object):
and registered in the group in which they are used.
"""
+from oslo.config import cfg
+
from cinder import flags
-from cinder.openstack.common import cfg
from cinder.openstack.common import log as logging
import re
import socket
import time
+
+from oslo.config import cfg
from xml.etree import ElementTree as ET
from cinder import exception
from cinder import flags
-from cinder.openstack.common import cfg
from cinder.openstack.common import excutils
from cinder.openstack.common import log as logging
from cinder import utils
from hp3parclient import client
from hp3parclient import exceptions as hpexceptions
+from oslo.config import cfg
from cinder import exception
from cinder import flags
-from cinder.openstack.common import cfg
from cinder.openstack.common import lockutils
from cinder.openstack.common import log as logging
import cinder.volume.driver
import urllib2
import urlparse
+from oslo.config import cfg
+
from cinder import exception
from cinder import flags
from cinder.image import image_utils
-from cinder.openstack.common import cfg
from cinder.openstack.common import log as logging
from cinder.volume import driver