summaryrefslogtreecommitdiffstats
path: root/puppet/services
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-08-26 20:53:08 +0000
committerGerrit Code Review <review@openstack.org>2016-08-26 20:53:08 +0000
commit3d69ec50675969a3dd624ece09af94ceee75cf30 (patch)
tree6162391b63d9a5da848b88c863f3657c6b82cf4f /puppet/services
parentc5bcf0b17cf25f44b1808927f57f33a1acf0c6d0 (diff)
parent1087a8b4968cf9f04e59837ccce42b0fcf68c8d5 (diff)
Merge "Customize vcpu_pin_set in nova.conf"
Diffstat (limited to 'puppet/services')
-rw-r--r--puppet/services/nova-compute.yaml9
1 files changed, 8 insertions, 1 deletions
diff --git a/puppet/services/nova-compute.yaml b/puppet/services/nova-compute.yaml
index dc962297..13ec03ea 100644
--- a/puppet/services/nova-compute.yaml
+++ b/puppet/services/nova-compute.yaml
@@ -40,7 +40,13 @@ parameters:
default: ''
description: Libvirt VIF driver configuration for the network
type: string
-
+ NovaVcpuPinSet:
+ description: >
+ A list or range of physical CPU cores to reserve for virtual machine
+ processes.
+ Ex. NovaVcpuPinSet: ['4-12','^8'] will reserve cores from 4-12 excluding 8
+ type: comma_delimited_list
+ default: []
resources:
NovaBase:
type: ./nova-base.yaml
@@ -58,6 +64,7 @@ outputs:
map_merge:
- get_attr: [NovaBase, role_data, config_settings]
- nova::compute::libvirt::manage_libvirt_services: false
+ nova::compute::vcpu_pin_set: {get_param: NovaVcpuPinSet}
# we manage migration in nova common puppet profile
nova::compute::libvirt::migration_support: false
tripleo::profile::base::nova::manage_migration: true