Skip to content
Snippets Groups Projects
Commit f8735efc authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

bugfix traffic class was not set on VMs

parent 6bf2f7d5
No related branches found
No related tags found
1 merge request!536bugfix traffic class was not set on VMs
......@@ -74,6 +74,8 @@ done
{% if "OpenStack Nova" in ansible_product_name %}
{% for device in qibdevicenames.stdout_lines %}
printf "echo 106 > /sys/class/infiniband/{{ device }}/tc/1/traffic_class \n"
echo 106 > /sys/class/infiniband/{{ device }}/tc/1/traffic_class
printf "`which cma_roce_tos` -d $dev -t 106 \n"
`which cma_roce_tos` -d {{ device }} -t 106
{% endfor %}
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment