def rename_snapshot(self, path, oldsnapshotname, snapshotname, **kwargs):
        """Rename a snapshot"""
        response = self._put(path, 'RENAMESNAPSHOT',
                             oldsnapshotname=oldsnapshotname, snapshotname=snapshotname, **kwargs)
        assert not response.content
Rename a snapshot