diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-09-24 19:09:26 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-09-24 21:53:26 +0200 |
commit | 19cae8e57885034002b3773b289d9f9086937ddc (patch) | |
tree | 8996d69781cf0ebc74deb0c4800b87b4d2cb6c48 /src | |
parent | 42df77762c8bc436a53350b44355c23e70f7d215 (diff) | |
download | vyos-1x-19cae8e57885034002b3773b289d9f9086937ddc.tar.gz vyos-1x-19cae8e57885034002b3773b289d9f9086937ddc.zip |
Python/ifconfig: T1557: refactor BondIf 'xmit_hash_policy' property to set_hash_policy()
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/interface-bonding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interface-bonding.py b/src/conf_mode/interface-bonding.py index c7adb0f9a..e8e22e305 100755 --- a/src/conf_mode/interface-bonding.py +++ b/src/conf_mode/interface-bonding.py @@ -378,7 +378,7 @@ def apply(bond): # ignore link state changes b.set_link_detect(bond['disable_link_detect']) # Bonding transmit hash policy - b.xmit_hash_policy = bond['hash_policy'] + b.set_hash_policy(bond['hash_policy']) # configure ARP cache timeout in milliseconds b.set_arp_cache_tmo(bond['ip_arp_cache_tmo']) # Enable proxy-arp on this interface |