from cinder import exception
from cinder.i18n import _, _LI
-import cinder.volume.driver
+from cinder.volume import driver
from cinder.volume.drivers.san.hp import hp_3par_common as hpcommon
from cinder.volume.drivers.san import san
from cinder.zonemanager import utils as fczm_utils
LOG = logging.getLogger(__name__)
-class HP3PARFCDriver(cinder.volume.driver.FibreChannelDriver):
+class HP3PARFCDriver(driver.TransferVD,
+ driver.ManageableVD,
+ driver.ExtendVD,
+ driver.CloneableVD,
+ driver.SnapshotVD,
+ driver.MigrateVD,
+ driver.ConsistencyGroupVD,
+ driver.BaseVD):
"""OpenStack Fibre Channel driver to enable 3PAR storage array.
Version history:
2.0.17 - Improved VLUN creation and deletion logic. #1469816
2.0.18 - Changed initialize_connection to use getHostVLUNs. #1475064
2.0.19 - Adds consistency group support
+ 2.0.20 - Update driver to use ABC metaclasses
"""
- VERSION = "2.0.19"
+ VERSION = "2.0.20"
def __init__(self, *args, **kwargs):
super(HP3PARFCDriver, self).__init__(*args, **kwargs)
from cinder import exception
from cinder.i18n import _, _LE, _LW
-import cinder.volume.driver
+from cinder.volume import driver
from cinder.volume.drivers.san.hp import hp_3par_common as hpcommon
from cinder.volume.drivers.san import san
from cinder.volume import utils as volume_utils
CHAP_PASS_KEY = "HPQ-cinder-CHAP-secret"
-class HP3PARISCSIDriver(cinder.volume.driver.ISCSIDriver):
+class HP3PARISCSIDriver(driver.TransferVD,
+ driver.ManageableVD,
+ driver.ExtendVD,
+ driver.CloneableVD,
+ driver.SnapshotVD,
+ driver.MigrateVD,
+ driver.ConsistencyGroupVD,
+ driver.BaseVD):
"""OpenStack iSCSI driver to enable 3PAR storage array.
Version history:
2.0.19 - Changed initialize_connection to use getHostVLUNs. #1475064
2.0.20 - Adding changes to support 3PAR iSCSI multipath.
2.0.21 - Adds consistency group support
+ 2.0.22 - Update driver to use ABC metaclasses
"""
- VERSION = "2.0.21"
+ VERSION = "2.0.22"
def __init__(self, *args, **kwargs):
super(HP3PARISCSIDriver, self).__init__(*args, **kwargs)