salt icon indicating copy to clipboard operation
salt copied to clipboard

Incorrect documentation for network bonding config

Open je9000 opened this issue 13 years ago • 8 comments

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

je9000 avatar Sep 11 '13 23:09 je9000

Thanks for pointing out this discrepancy.

basepi avatar Sep 12 '13 18:09 basepi

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.

stale[bot] avatar Jul 10 '17 00:07 stale[bot]

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

abh avatar Jul 10 '17 17:07 abh

Thank you for updating this issue. It is no longer marked as stale.

stale[bot] avatar Jul 10 '17 17:07 stale[bot]

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.

stale[bot] avatar Nov 14 '18 13:11 stale[bot]

@saltstack/team-triage

basepi avatar Nov 14 '18 22:11 basepi

Thank you for updating this issue. It is no longer marked as stale.

stale[bot] avatar Nov 14 '18 22:11 stale[bot]

@MTecknology You might be interested in fixing up this one.

rallytime avatar Nov 15 '18 14:11 rallytime