X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=site_type%2Fovsdpdk%2Ftemplates%2Fbaremetal%2Frack.j2;fp=site_type%2Fovsdpdk%2Ftemplates%2Fbaremetal%2Frack.j2;h=d265d786011453c115323bfd4355861480b0072a;hb=f202c5bf4825d3768edd93aa1fe4359daf5ea32b;hp=ca7e4799c6ac1cfa6730404f484161cf47bc7b2c;hpb=287712d4aab0ae1cabea8ac887eafde486b3ce92;p=yaml_builds.git diff --git a/site_type/ovsdpdk/templates/baremetal/rack.j2 b/site_type/ovsdpdk/templates/baremetal/rack.j2 index ca7e479..d265d78 100644 --- a/site_type/ovsdpdk/templates/baremetal/rack.j2 +++ b/site_type/ovsdpdk/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 %} ...