'Creates a volume from snapshot.'

@debugger
def create_volume_from_snapshot(self, volume, snapshot):

    params = list()
    (pool, project, volume_name) = self._get_pool_project_volume_name(snapshot['volume'])
    params.append(('%s/%s/%s/%s@%s%s' % (pool, TEGILE_LOCAL_CONTAINER_NAME, project, volume_name, self.SNAPSHOT_PREFIX, snapshot['name'])))
    params.append(volume['name'])
    params.append(True)
    params.append(True)
    self._api_executor.send_api_request('cloneVolumeSnapshot', params)
    return self.get_additional_info(volume, pool, project)
