X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=site_type%2Fsriov%2Ftemplates%2Fbaremetal%2Frack.j2;h=d265d786011453c115323bfd4355861480b0072a;hb=3395a537e26721ec33a80f66686ca932f9328722;hp=ca7e4799c6ac1cfa6730404f484161cf47bc7b2c;hpb=fd6130c2403a30869fbdfb25d7f18c767b95bd3a;p=yaml_builds.git diff --git a/site_type/sriov/templates/baremetal/rack.j2 b/site_type/sriov/templates/baremetal/rack.j2 index ca7e479..d265d78 100644 --- a/site_type/sriov/templates/baremetal/rack.j2 +++ b/site_type/sriov/templates/baremetal/rack.j2 @@ -52,8 +52,12 @@ data: platform: kernel_params: {% for key, value in yaml.platform.kernel_params.items() %} - {{key}}: {{value}} -{% endfor %}{% endif %} + {{key}}: '{{value}}' +{% endfor %} +{% if 'vcpu_pin_set' in yaml.platform %} + isolcpus: '{{yaml.platform.vcpu_pin_set}}' +{% endif %} +{% endif %} {% endfor %} {% if 'workers' in yaml %}{% for server in yaml.workers %} --- @@ -94,7 +98,11 @@ data: platform: kernel_params: {% for key, value in yaml.platform.kernel_params.items() %} - {{key}}: {{value}} -{% endfor %}{% endif %} + {{key}}: '{{value}}' +{% endfor %} +{% if 'vcpu_pin_set' in yaml.platform %} + isolcpus: '{{yaml.platform.vcpu_pin_set}}' +{% endif %} +{% endif %} {% endfor %}{% endif %} ...