From cd75e9e18f19168538d6e6d46c6929ae17b2a693 Mon Sep 17 00:00:00 2001 From: Josh Kearney Date: Wed, 15 Feb 2012 11:04:14 -0600 Subject: bw_usage takes a MAC address now. Change-Id: Ia54a1e21903b96d4f5a07c0513a3dce5ae9f589e --- nova/db/sqlalchemy/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/db/sqlalchemy/api.py b/nova/db/sqlalchemy/api.py index ed9286eff..9b9ff7c98 100644 --- a/nova/db/sqlalchemy/api.py +++ b/nova/db/sqlalchemy/api.py @@ -3695,7 +3695,7 @@ def bw_usage_get_all_by_filters(context, filters): filters = filters.copy() # Filters for exact matches that we can do along with the SQL query. - exact_match_filter_names = ["instance_id", "network_label", + exact_match_filter_names = ["instance_id", "mac", "start_period", "last_refreshed", "bw_in", "bw_out"] # Filter the query -- cgit