Incorrect documentation for network bonding config
In order to set the bonding xmit_hash_policy setting, the documentation states the xmit_hash_policy network setting should be used. However, modules/rh_ip.py uses the setting named hashing-algorithm in order to set the xmit_hash_policy for the bond. Either the code or the documentation should be changed to reflect the other.
Using salt 0.16.3
Thanks for pointing out this discrepancy.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
The documentation and code are still mismatched:
$ git grep xmit_hash_policy
doc/man/salt.7: \- xmit_hash_policy: layer2
salt/modules/debian_ip.py: 'xmit_hash_policy': 'layer2',
salt/modules/debian_ip.py: bond.update({'xmit_hash_policy': opts['hashing-algorithm']})
salt/modules/debian_ip.py: bond.update({'xmit_hash_policy': opts['hashing-algorithm']})
salt/modules/rh_ip.py: 'ad_select', 'xmit_hash_policy', 'arp_validate',
salt/modules/rh_ip.py: 'xmit_hash_policy': 'layer2',
salt/modules/rh_ip.py: bond.update({'xmit_hash_policy': opts['hashing-algorithm']})
salt/modules/rh_ip.py: bond.update({'xmit_hash_policy': opts['hashing-algorithm']})
salt/states/network.py: - xmit_hash_policy: layer2
Thank you for updating this issue. It is no longer marked as stale.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
@saltstack/team-triage
Thank you for updating this issue. It is no longer marked as stale.
@MTecknology You might be interested in fixing up this one.