Commit 23656ab1 authored by nanahira's avatar nanahira

support custom hash policy

parent 97c8993b
......@@ -51,7 +51,7 @@ bond-miimon 100
bond-downdelay 200
bond-updelay 200
bond-lacp-rate 1
bond-xmit-hash-policy layer2+3
bond-xmit-hash-policy {{ bond.hash_policy | default('layer2+3') }}
{% endif %}
{% endfor %}
......
......@@ -34,7 +34,7 @@ network:
{% if bond.mode == "802.3ad" %}
lacp-rate: fast
min-links: 1
transmit-hash-policy: layer2+3
transmit-hash-policy: {{ bond.hash_policy | default('layer2+3') }}
mii-monitor-interval: 100
{% endif %}
dhcp4: false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment