From f6844960dd062154244c706283cf1916ee7194ff Mon Sep 17 00:00:00 2001 From: "vladimir.p" Date: Fri, 15 Jul 2011 18:11:13 -0700 Subject: added missing instance_get_all_by_vsa --- nova/db/api.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nova/db/api.py b/nova/db/api.py index 9147f136b..fde229099 100644 --- a/nova/db/api.py +++ b/nova/db/api.py @@ -522,6 +522,11 @@ def instance_get_all_by_host(context, host): return IMPL.instance_get_all_by_host(context, host) +def instance_get_all_by_vsa(context, vsa_id): + """Get all instance belonging to a VSA.""" + return IMPL.instance_get_all_by_vsa(context, vsa_id) + + def instance_get_all_by_reservation(context, reservation_id): """Get all instance belonging to a reservation.""" return IMPL.instance_get_all_by_reservation(context, reservation_id) -- cgit