summaryrefslogtreecommitdiffstats
path: root/environments
diff options
context:
space:
mode:
authorSaravanan KR <skramaja@redhat.com>2016-12-16 18:45:57 +0530
committerSaravanan KR <skramaja@redhat.com>2017-01-06 11:16:52 +0530
commit4f9a16d38b48014aae642fbc5ee2d8ac66ad225a (patch)
treea8490ee0e17fcedac81da7bf5107e5a098612811 /environments
parent384c400d472702392ff506c26d652bcf585f1ec6 (diff)
Configure Kernel Args and Tuned and then reboot for Compute
* On top of the https://review.openstack.org/#/c/411204 * Added Kernel args and Tune-d configuration * Added provision to provide different kernel args per role (applicable for different types of compute roles only) Implements: blueprint tuned-nfv-dpdk Change-Id: I5c538428c376c9d2ebd1c364f0ee8503fd7d620e
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: ""