Revert to snapshot capable volume driver interface.
VolumeSnapshotRevertDriver
¶Bases: cinder.interface.base.CinderInterface
Interface for drivers that support revert to snapshot.
revert_to_snapshot
(context, volume, snapshot)¶Revert volume to snapshot.
Note: the revert process should not change the volume’s current size, that means if the driver shrank the volume during the process, it should extend the volume internally.
Parameters: |
|
---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.