'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.'

def revert_to_snapshot(self, context, volume, snapshot):

    msg = _('Revert    volume    to    snapshot    not    implemented.')
    raise NotImplementedError(msg)
