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 2017-10-18 12:32:13 +03:00
parent 413664d11c
commit e8715f690e
2 changed files with 7 additions and 1 deletions

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

View File

@ -0,0 +1,5 @@
---
features:
- |
The SMBFS volume driver now supports reverting volumes to the latest
snapshot.