Change filter name
This patch changes the filter name from ClimateFilter to BlazarFilter. Change-Id: Idd50f1f139924bee88a770318f372daf26b975cc Partial-Bug: #1663460
This commit is contained in:
parent
5b808ecb58
commit
483075691c
@ -51,7 +51,7 @@ opts = [
|
||||
cfg.CONF.register_opts(opts, 'blazar:physical:host')
|
||||
|
||||
|
||||
class ClimateFilter(filters.BaseHostFilter):
|
||||
class BlazarFilter(filters.BaseHostFilter):
|
||||
"""Blazar Filter for nova-scheduler."""
|
||||
|
||||
run_filter_once_per_request = True
|
||||
@ -138,4 +138,4 @@ class ClimateFilter(filters.BaseHostFilter):
|
||||
|
||||
# For backward compatibility. This should be done in this way due to how Nova
|
||||
# imports the filters
|
||||
BlazarFilter = ClimateFilter
|
||||
ClimateFilter = BlazarFilter
|
||||
|
@ -1,4 +1,4 @@
|
||||
[DEFAULT]
|
||||
scheduler_available_filters = nova.scheduler.filters.all_filters
|
||||
scheduler_available_filters = blazarnova.scheduler.filters.blazar_filter.ClimateFilter
|
||||
scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ClimateFilter
|
||||
scheduler_available_filters = blazarnova.scheduler.filters.blazar_filter.BlazarFilter
|
||||
scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,BlazarFilter
|
||||
|
Loading…
Reference in New Issue
Block a user