Merge "Fix HNAS driver thin_provisioning support"
This commit is contained in:
commit
3ee4518a7b
@ -336,6 +336,7 @@ class HDSHNASDriver(driver.ShareDriver):
|
|||||||
'free_capacity_gb': free_space,
|
'free_capacity_gb': free_space,
|
||||||
'reserved_percentage': reserved,
|
'reserved_percentage': reserved,
|
||||||
'qos': False,
|
'qos': False,
|
||||||
|
'thin_provisioning': True,
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG.info(_LI("HNAS Capabilities: %(data)s."),
|
LOG.info(_LI("HNAS Capabilities: %(data)s."),
|
||||||
|
@ -493,6 +493,7 @@ class HDSHNASTestCase(test.TestCase):
|
|||||||
'free_capacity_gb': 200,
|
'free_capacity_gb': 200,
|
||||||
'reserved_percentage': hds_hnas.CONF.reserved_share_percentage,
|
'reserved_percentage': hds_hnas.CONF.reserved_share_percentage,
|
||||||
'qos': False,
|
'qos': False,
|
||||||
|
'thin_provisioning': True,
|
||||||
}
|
}
|
||||||
|
|
||||||
self.mock_object(ssh.HNASSSHBackend, 'get_stats', mock.Mock(
|
self.mock_object(ssh.HNASSSHBackend, 'get_stats', mock.Mock(
|
||||||
|
Loading…
Reference in New Issue
Block a user