aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-03-30 11:51:00 +0000
committerGerrit Code Review <review@openstack.org>2017-03-30 11:51:00 +0000
commit8022b520d365055b9ad9be1f57b52fed556e1d45 (patch)
tree4e931f7f1870983ce11b2f26b436cde746c8742a
parentd95674dc708e2d4c6e03136154d7ccf3d3380574 (diff)
parent129881f2c600217ff06b4570950b4e60ff9a63b5 (diff)
Merge "Add NodeCreateBatchSize parameter"
-rw-r--r--overcloud.j2.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/overcloud.j2.yaml b/overcloud.j2.yaml
index de7cc0d5..cb240022 100644
--- a/overcloud.j2.yaml
+++ b/overcloud.j2.yaml
@@ -114,6 +114,11 @@ parameters:
description: What interface to add to the HypervisorNeutronPhysicalBridge.
type: string
+ NodeCreateBatchSize:
+ default: 30
+ description: Maxiumum batch size for creating nodes
+ type: number
+
# Jinja loop for Role in role_data.yaml
{% for role in roles %}
# Parameters generated for {{role.name}} Role
@@ -339,6 +344,9 @@ resources:
{{role.name}}:
type: OS::Heat::ResourceGroup
depends_on: Networks
+ update_policy:
+ batch_create:
+ max_batch_size: {get_param: NodeCreateBatchSize}
properties:
count: {get_param: {{role.name}}Count}
removal_policies: {get_param: {{role.name}}RemovalPolicies}