From 56a6fa2bb68a8738f8d02f41f92983ee3115a19d Mon Sep 17 00:00:00 2001 From: Alex Meade Date: Mon, 6 Aug 2012 17:03:43 -0400 Subject: Move results filtering to db. This patch moves exact filter and regex filter matching on the listing of instances to the database query. This is important so that we can eventually do all pagination through the database. If the db backend does not support regex matching then the SQL 'LIKE' operator will be used instead. Change-Id: If9dd644066787f0f3667992f23e5c33b1dc90286 --- nova/compute/api.py | 1 - 1 file changed, 1 deletion(-) (limited to 'nova/compute') diff --git a/nova/compute/api.py b/nova/compute/api.py index 900ab706f..c045a86c8 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -1076,7 +1076,6 @@ class API(base.Base): filter_mapping = { 'image': 'image_ref', 'name': 'display_name', - 'instance_name': 'name', 'tenant_id': 'project_id', 'flavor': _remap_flavor_filter, 'fixed_ip': _remap_fixed_ip_filter} -- cgit