diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-09-24 19:27:54 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-09-24 21:53:26 +0200 |
commit | f95659216b0816f53bdf5cb8ccc02afff970dd53 (patch) | |
tree | 0ba646af17b6e41e2f7cdea08f4bd118b219abcc /src/conf_mode/interface-bonding.py | |
parent | bc9b28132ca7270f226968d0c1207adefe768049 (diff) | |
download | vyos-1x-f95659216b0816f53bdf5cb8ccc02afff970dd53.tar.gz vyos-1x-f95659216b0816f53bdf5cb8ccc02afff970dd53.zip |
Python/ifconfig: T1557: refactor BondIf 'mode' property to set_mode()
Diffstat (limited to 'src/conf_mode/interface-bonding.py')
-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 6092d0732..4d5009c73 100755 --- a/src/conf_mode/interface-bonding.py +++ b/src/conf_mode/interface-bonding.py @@ -388,7 +388,7 @@ def apply(bond): b.set_mac(bond['mac']) # Bonding policy - b.mode = bond['mode'] + b.set_mode(bond['mode']) # Maximum Transmission Unit (MTU) b.set_mtu(bond['mtu']) |