Retrieve deleted volumes/instances in horizon

asked 2015-12-07 10:00:25 -0600

docana gravatar image


I'm almost finished coding a new horizon dashboard and I would like to be able to retrieve the list of deleted volumes and instances within the last 7 days. I have found this method:


def volume_get_active_by_window(context, begin, end=None, project_id=None)

Which fits perfectly because it uses the 'read_deleted=yes' search option when querying the db, but I'm guessing it is not possible to use it directly in the dashboard code. I would like to avoid querying the db directly...

Has anyone tried this before?

Many thanks, David

edit retag flag offensive close merge delete