Update HNAS driver version history

Fixing HNAS driver version according to the new
content added in the Ocata release.

Closes-bug: #1665002
Change-Id: Iaca1991fd95da5e1bb7f3db0f451c568fa38c459
(cherry picked from commit e6fbdf6957)
This commit is contained in:
Rodrigo Barbieri 2017-02-14 10:11:40 -02:00 committed by Rodrigo Barbieri
parent 7579549c31
commit c73b84a375
3 changed files with 9 additions and 2 deletions

View File

@ -93,6 +93,8 @@ class HitachiHNASDriver(driver.ShareDriver):
2.0.0 - Refactoring, bugfixes, implemented Share Shrink and Update Access.
3.0.0 - New driver location, implemented support for CIFS protocol.
3.1.0 - Added admin network export location support.
4.0.0 - Added mountable snapshots, revert-to-snapshot and manage snapshots
features support.
"""
def __init__(self, *args, **kwargs):
@ -580,7 +582,7 @@ class HitachiHNASDriver(driver.ShareDriver):
'share_backend_name': self.backend_name,
'driver_handles_share_servers': self.driver_handles_share_servers,
'vendor_name': 'Hitachi',
'driver_version': '3.0.0',
'driver_version': '4.0.0',
'storage_protocol': 'NFS_CIFS',
'total_capacity_gb': total_space,
'free_capacity_gb': free_space,

View File

@ -937,7 +937,7 @@ class HitachiHNASTestCase(test.TestCase):
'driver_handles_share_servers':
self._driver.driver_handles_share_servers,
'vendor_name': 'Hitachi',
'driver_version': '3.0.0',
'driver_version': '4.0.0',
'storage_protocol': 'NFS_CIFS',
'total_capacity_gb': 1000,
'free_capacity_gb': 200,

View File

@ -0,0 +1,5 @@
---
fixes:
- Fixed HNAS driver version according to the new content
added in the Ocata release.