From 6842f1817e1c7a25fa090098229b2ad06a5d5e89 Mon Sep 17 00:00:00 2001 From: karthik s Date: Wed, 20 Jul 2016 18:43:08 +0530 Subject: Allow scheduler_available_filter to be customizable This patch allows the operator to override the default values of scheduler_available_filters, which is required for automating the deployments using SR-IOV feature. Change-Id: Ib68943c4c6926694b7d99e8f9d6135641048e04a Implements: blueprint tripleo-sriov Signed-off-by: karthik s --- puppet/services/nova-scheduler.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/puppet/services/nova-scheduler.yaml b/puppet/services/nova-scheduler.yaml index bd6e5116..28612aff 100644 --- a/puppet/services/nova-scheduler.yaml +++ b/puppet/services/nova-scheduler.yaml @@ -9,6 +9,10 @@ parameters: description: Mapping of service endpoint -> protocol. Typically set via parameter_defaults in the resource registry. type: json + NovaSchedulerAvailableFilters: + default: [] + description: List of scheduler available filters + type: comma_delimited_list resources: NovaBase: @@ -25,5 +29,6 @@ outputs: map_merge: - get_attr: [NovaBase, role_data, config_settings] - nova::scheduler::filter::ram_allocation_ratio: '1.0' + nova::scheduler::filter::scheduler_available_filters: {get_param: NovaSchedulerAvailableFilters} step_config: | include tripleo::profile::base::nova::scheduler -- cgit 1.2.3-korg