aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkarthik s <ksundara@redhat.com>2016-07-20 18:43:08 +0530
committerkarthik s <ksundara@redhat.com>2016-08-18 21:52:31 +0530
commit6842f1817e1c7a25fa090098229b2ad06a5d5e89 (patch)
tree4f92b4359baf0a68a8127fab83311d51ef1b59fd
parent67586863cf1ec984c76fe02966f5fea1a8f1a548 (diff)
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 <ksundara@redhat.com>
-rw-r--r--puppet/services/nova-scheduler.yaml5
1 files changed, 5 insertions, 0 deletions
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