--- /dev/null
+# vim: tabstop=4 shiftwidth=4 softtabstop=4
+
+# Copyright 2013 OpenStack Foundation.
+# All Rights Reserved.
+#
+# 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.
import string
import tempfile
+from cinder.brick.iscsi import iscsi
from cinder import test
-from cinder.volume import iscsi
from cinder.volume import utils as volume_utils
import shutil
import tempfile
+from cinder.brick.iscsi import iscsi
from cinder import context
from cinder import db
from cinder import exception
from cinder.tests.image import fake as fake_image
from cinder.volume import configuration as conf
from cinder.volume import driver
-from cinder.volume import iscsi
QUOTAS = quota.QUOTAS
FLAGS = flags.FLAGS
CONF = cfg.CONF
CONF.register_opts(volume_opts)
-CONF.import_opt('iscsi_helper', 'cinder.volume.iscsi')
+CONF.import_opt('iscsi_helper', 'cinder.brick.iscsi.iscsi')
class VolumeDriver(object):
from oslo.config import cfg
+from cinder.brick.iscsi import iscsi
from cinder import exception
from cinder import flags
from cinder.image import image_utils
from cinder.openstack.common import log as logging
from cinder import utils
from cinder.volume import driver
-from cinder.volume import iscsi
LOG = logging.getLogger(__name__)
from cinder.openstack.common import log as logging
from cinder import utils
from cinder.volume import driver
-from cinder.volume import iscsi
LOG = logging.getLogger("cinder.volume.driver")