Merge "Fix HNAS driver thin_provisioning support"

This commit is contained in:
Jenkins 2016-03-10 00:32:27 +00:00 committed by Gerrit Code Review
commit 3ee4518a7b
2 changed files with 2 additions and 0 deletions

View File

@ -336,6 +336,7 @@ class HDSHNASDriver(driver.ShareDriver):
'free_capacity_gb': free_space,
'reserved_percentage': reserved,
'qos': False,
'thin_provisioning': True,
}
LOG.info(_LI("HNAS Capabilities: %(data)s."),

View File

@ -493,6 +493,7 @@ class HDSHNASTestCase(test.TestCase):
'free_capacity_gb': 200,
'reserved_percentage': hds_hnas.CONF.reserved_share_percentage,
'qos': False,
'thin_provisioning': True,
}
self.mock_object(ssh.HNASSSHBackend, 'get_stats', mock.Mock(