aboutsummaryrefslogtreecommitdiffstats
path: root/environments
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-09 21:43:24 +0000
committerGerrit Code Review <review@openstack.org>2017-01-09 21:43:24 +0000
commit23e9099612d3b97b9c238126b98e2016d9fdb783 (patch)
treec31d8469f89a9444344eba952e90e185c83d8cd5 /environments
parentc72bc74207d80710dad3d274fc6c3295a8d9fa5a (diff)
parent4f9a16d38b48014aae642fbc5ee2d8ac66ad225a (diff)
Merge "Configure Kernel Args and Tuned and then reboot for Compute"
Diffstat (limited to 'environments')
-rw-r--r--environments/host-config-pre-network.j2.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/environments/host-config-pre-network.j2.yaml b/environments/host-config-pre-network.j2.yaml
new file mode 100644
index 00000000..fe1302b5
--- /dev/null
+++ b/environments/host-config-pre-network.j2.yaml
@@ -0,0 +1,16 @@
+resource_registry:
+# Create the registry only for roles with the word "Compute" in it. Like ComputeOvsDpdk, ComputeSriov, etc.,
+{% for role in roles %}
+{% if "Compute" in role.name %}
+ OS::TripleO::{{role.name}}::PreNetworkConfig: ../extraconfig/pre_network/{{role.name.lower()}}-host_config_and_reboot.yaml
+{% endif %}
+{% endfor %}
+
+parameter_defaults:
+ # Sample parameters for Compute and ComputeOvsDpdk roles
+ #ComputeKernelArgs: ""
+ #ComputeTunedProfileName: ""
+ #ComputeHostCpuList: ""
+ #ComputeOvsDpdkKernelArgs: ""
+ #ComputeOvsDpdkTunedProfileName: ""
+ #ComputeOvsDpdkHostCpuList: ""