Skip to content
This repository was archived by the owner on Oct 27, 2025. It is now read-only.

Commit 5d17c87

Browse files
authored
Merge pull request #1 from ericsysmin/master
adding functionality
2 parents a43322a + 6d04e0d commit 5d17c87

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,4 +259,4 @@ based on role from Benno Joy
259259
Improvements from some other GIT Forks
260260
Debian Upgrades by Martin Verges, First Colo GmbH
261261
RedHat Upgrades by Wei Tie, Cisco Systems, Inc.
262-
262+
Improvements to RHEL bond support by Eric Anderson, Avi Networks, Inc.

templates/RedHat_bond_options.j2

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
BONDING_OPTS="mode={{ item.bond_mode }} miimon={{ item.bond_miimon|default(100) }}
2+
{%- if item.bond_xmit_hash_policy is defined %}
3+
xmit_hash_policy={{ item.bond_xmit_hash_policy }}
4+
{%- endif -%}
25
{%- if item.bond_downdelay is defined %}
36
downdelay={{ item.bond_downdelay }}
47
{%- endif -%}
@@ -8,4 +11,10 @@ BONDING_OPTS="mode={{ item.bond_mode }} miimon={{ item.bond_miimon|default(100)
811
{%- if item.bond_primary is defined %}
912
primary={{ item.bond_primary }}
1013
{%- endif -%}
14+
{%- if item.bond_use_carrier is defined %}
15+
{{ item.bond_use_carrier }}
16+
{%- endif -%}
17+
{%- if item.bond_extra_opts is defined %}
18+
{{ item.bond_extra_opts }}
19+
{%- endif -%}
1120
"

templates/bond_slave_RedHat.j2

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ DEFROUTE={{ item.defroute | bool | ternary("yes", "no") }}
1616
{% if item.0.mtu is defined %}
1717
MTU={{ item.0.mtu }}
1818
{% endif %}
19-

0 commit comments

Comments
 (0)