SMBFS: Enable reverting snapshots

This is a trivial change that enables the "revert to snapshot"
feature within the SMBFS volume driver.

All the required logic is implemented in the RevertToSnapshotMixin
class, so all we're doing now is inheriting it.

Related-Blueprint: remotefs-revert-snapshot

Change-Id: Ib4f35bd01613d1bd69127a8ba65fc9e3cff6d3ad
This commit is contained in:
AlexMuresan committed 2017-10-30 11:52:01 +02:00
1 parent 413664d11c
commit e8715f690e
2 files changed
+7 -1

No files matched your search

+2 -1
View File
@@ -92,7 +92,8 @@ CONF.set_default('reserved_percentage', 5)
@interface.volumedriver
class WindowsSmbfsDriver(remotefs_drv.RemoteFSPoolMixin,
class WindowsSmbfsDriver(remotefs_drv.RevertToSnapshotMixin,
remotefs_drv.RemoteFSPoolMixin,
remotefs_drv.RemoteFSSnapDriverDistributed):
VERSION = VERSION
@@ -0,0 +1,5 @@
---
features:
- |
The SMBFS volume driver now supports reverting volumes to the latest
snapshot.