From 5ea7db9b7195132df4d8efea0a8e41e4f994b23c Mon Sep 17 00:00:00 2001 From: Jim Fehlig Date: Fri, 17 Aug 2012 15:26:01 -0600 Subject: Introduce ImagePropertiesFilter scheduler filter Commit d39137fa added functionality to the ComputeFilter to filter on architecture, hypervisor_type, and vm_mode. The existing ArchFilter already filtered on architecture. This patch merges the ComputeFilter functionality introduced in d39137fa with the ArchFilter to create the ImagePropertiesFilter. The ImagePropertiesFilter uses image properties specified in the request_spec to filter hosts. This patch also adds the ImagePropertiesFilter to the list of default filters specified by the scheduler_default_filters FLAG. Fixes LP Bug #1037339 DocImpact Change-Id: Ifa6fccf2db266b0fe3457d58fc81fdb50ffcbc0f --- etc/nova/nova.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/nova/nova.conf.sample b/etc/nova/nova.conf.sample index 5fba9a816..8eabdf9fd 100644 --- a/etc/nova/nova.conf.sample +++ b/etc/nova/nova.conf.sample @@ -1211,7 +1211,7 @@ #### "nova.scheduler.filters.standard_filters" maps to all #### filters included with nova. -# scheduler_default_filters=AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter +# scheduler_default_filters=AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter #### (ListOpt) Which filter class names to use for filtering hosts when not #### specified in the request. -- cgit