summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Kearney <josh@jk0.org>2012-02-15 11:04:14 -0600
committerJosh Kearney <josh@jk0.org>2012-02-15 11:05:10 -0600
commitcd75e9e18f19168538d6e6d46c6929ae17b2a693 (patch)
treef06fb7bf62246b621a4e1e4d000dde92d616b53d
parent3c7a362763a6c6ba44570b61a1cc45d9a0f3abe4 (diff)
downloadnova-cd75e9e18f19168538d6e6d46c6929ae17b2a693.tar.gz
nova-cd75e9e18f19168538d6e6d46c6929ae17b2a693.tar.xz
nova-cd75e9e18f19168538d6e6d46c6929ae17b2a693.zip
bw_usage takes a MAC address now.
Change-Id: Ia54a1e21903b96d4f5a07c0513a3dce5ae9f589e
-rw-r--r--nova/db/sqlalchemy/api.py2
1 files changed, 1 insertions, 1 deletions
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