[SVF]: Fix Enable Replication for Storwize_V5000E

[Spectrum Virtualize Family] Added replication license support for
V5000E storage type.

Closes-Bug: #1938212

Change-Id: I5e4ea593952d9068128627bbaaf1261989eb72ce
This commit is contained in:
amar7ibm 2021-07-28 04:18:24 +00:00
parent c2f9c84aa6
commit ad0a9eebfc
3 changed files with 13 additions and 5 deletions

View File

@ -8757,7 +8757,7 @@ class StorwizeHelpersTestCase(test.TestCase):
{'product_key': {'product_key':
storwize_const.DEV_MODEL_STORWIZE_V3500}, storwize_const.DEV_MODEL_STORWIZE_V3500},
{'product_key': {'product_key':
storwize_const.DEV_MODEL_STORWIZE_V3700}, storwize_const.DEV_MODEL_STORWIZE_V5000E},
{'product_key': {'product_key':
storwize_const.DEV_MODEL_SVC}, storwize_const.DEV_MODEL_SVC},
{'product_key': {'product_key':
@ -8772,10 +8772,10 @@ class StorwizeHelpersTestCase(test.TestCase):
storwize_const.DEV_MODEL_FLASH_V9000}, storwize_const.DEV_MODEL_FLASH_V9000},
{'product_key': {'product_key':
storwize_const.DEV_MODEL_FLEX}] storwize_const.DEV_MODEL_FLEX}]
for i in range(3): for i in range(2):
self.assertFalse(self.storwize_svc_common.replication_licensed()) self.assertFalse(self.storwize_svc_common.replication_licensed())
for i in range(7): for i in range(8):
self.assertTrue(self.storwize_svc_common.replication_licensed()) self.assertTrue(self.storwize_svc_common.replication_licensed())
@mock.patch.object(storwize_svc_common.StorwizeSSH, 'lsmdiskgrp') @mock.patch.object(storwize_svc_common.StorwizeSSH, 'lsmdiskgrp')

View File

@ -18,7 +18,7 @@
DEV_MODEL_SVC = '2145' DEV_MODEL_SVC = '2145'
DEV_MODEL_STORWIZE = '2076' DEV_MODEL_STORWIZE = '2076'
DEV_MODEL_STORWIZE_V3500 = '2071' DEV_MODEL_STORWIZE_V3500 = '2071'
DEV_MODEL_STORWIZE_V3700 = '2072' DEV_MODEL_STORWIZE_V5000E = '2072'
DEV_MODEL_STORWIZE_V7000 = '2076' DEV_MODEL_STORWIZE_V7000 = '2076'
DEV_MODEL_STORWIZE_V5000 = '2078' DEV_MODEL_STORWIZE_V5000 = '2078'
DEV_MODEL_STORWIZE_V5000_1YR = '2077' DEV_MODEL_STORWIZE_V5000_1YR = '2077'
@ -27,7 +27,7 @@ DEV_MODEL_FLEX = '4939'
REP_CAP_DEVS = (DEV_MODEL_SVC, DEV_MODEL_STORWIZE, DEV_MODEL_STORWIZE_V5000, REP_CAP_DEVS = (DEV_MODEL_SVC, DEV_MODEL_STORWIZE, DEV_MODEL_STORWIZE_V5000,
DEV_MODEL_STORWIZE_V5000_1YR, DEV_MODEL_FLASH_V9000, DEV_MODEL_STORWIZE_V5000_1YR, DEV_MODEL_FLASH_V9000,
DEV_MODEL_FLEX) DEV_MODEL_FLEX, DEV_MODEL_STORWIZE_V5000E)
# constants used for replication # constants used for replication
GLOBAL = 'global' GLOBAL = 'global'

View File

@ -0,0 +1,8 @@
---
fixes:
- |
IBM Spectrum Virtualize Family driver: `Bug #1938212
<https://bugs.launchpad.net/cinder/+bug/1938212>`_: Added
replication license support for FlashSystem V5000E storage
system. Removed support for IBM Storwize V3700 as it
reached End Of Service.