From: sdodsley Date: Wed, 9 Dec 2015 18:04:43 +0000 (-0500) Subject: Update Pure REST API supported version numbers in Pure driver X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=2c0b1f6fb00f4fff893b0ac1ac24f20206b80c38;p=openstack-build%2Fcinder-build.git Update Pure REST API supported version numbers in Pure driver Add 1.5 as a supported REST API version for the driver in general and for the snap management code required version numbers. REST API v1.5 is available in Purity versions >= 4.6.0 Change-Id: Id509b0b59843d13ce1a1925809190121da296ef9 Closes-Bug: 1524434 --- diff --git a/cinder/volume/drivers/pure.py b/cinder/volume/drivers/pure.py index 66c6c8214..7130ab629 100644 --- a/cinder/volume/drivers/pure.py +++ b/cinder/volume/drivers/pure.py @@ -63,7 +63,7 @@ ERR_MSG_PENDING_ERADICATION = "has been destroyed" CONNECT_LOCK_NAME = 'PureVolumeDriver_connect' UNMANAGED_SUFFIX = '-unmanaged' -MANAGE_SNAP_REQUIRED_API_VERSIONS = ['1.4'] +MANAGE_SNAP_REQUIRED_API_VERSIONS = ['1.4', '1.5'] def log_debug_trace(f): @@ -82,7 +82,7 @@ def log_debug_trace(f): class PureBaseVolumeDriver(san.SanDriver): """Performs volume management on Pure Storage FlashArray.""" - SUPPORTED_REST_API_VERSIONS = ['1.2', '1.3', '1.4'] + SUPPORTED_REST_API_VERSIONS = ['1.2', '1.3', '1.4', '1.5'] def __init__(self, *args, **kwargs): execute = kwargs.pop("execute", utils.execute)