Merge "Report create_share_from_snapshot_support"

This commit is contained in:
Jenkins 2017-01-09 11:15:41 +00:00 committed by Gerrit Code Review
commit ba798707d9
2 changed files with 5 additions and 1 deletions
manila
share/drivers/dell_emc
tests/share/drivers/dell_emc

@ -140,7 +140,9 @@ class EMCShareDriver(driver.ShareDriver):
data = dict(
share_backend_name=backend_name,
vendor_name='Dell EMC',
storage_protocol='NFS_CIFS')
storage_protocol='NFS_CIFS',
snapshot_support=True,
create_share_from_snapshot_support=True)
self.plugin.update_share_stats(data)
super(EMCShareDriver, self)._update_share_stats(data)

@ -128,6 +128,8 @@ class EMCShareFrameworkTestCase(test.TestCase):
data['replication_domain'] = None
data['filter_function'] = None
data['goodness_function'] = None
data['snapshot_support'] = True
data['create_share_from_snapshot_support'] = True
self.assertEqual(data, self.driver._stats)
def _fake_safe_get(self, value):