From 2c0b1f6fb00f4fff893b0ac1ac24f20206b80c38 Mon Sep 17 00:00:00 2001 From: sdodsley Date: Wed, 9 Dec 2015 13:04:43 -0500 Subject: [PATCH] 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 --- cinder/volume/drivers/pure.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.45.2