diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-09-24 18:15:01 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-09-24 18:15:01 +0200 |
commit | 1e373c5ea5a8ac6a5a4f99376d6399b82df00efa (patch) | |
tree | 0fc8e3d1247a4fdd150e1c3a0d310a2a0316a822 /src/conf_mode | |
parent | d80398b6542b24042961ff6eae657c58c98d93c3 (diff) | |
download | vyos-1x-1e373c5ea5a8ac6a5a4f99376d6399b82df00efa.tar.gz vyos-1x-1e373c5ea5a8ac6a5a4f99376d6399b82df00efa.zip |
Python/ifconfig: T1557: refactor BondIf 'primary' property to set_primary()
Diffstat (limited to 'src/conf_mode')
-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 fddc73b0f..83cd2facc 100755 --- a/src/conf_mode/interface-bonding.py +++ b/src/conf_mode/interface-bonding.py @@ -397,7 +397,7 @@ def apply(bond): # Primary device interface if bond['primary']: - b.primary = bond['primary'] + b.set_primary(bond['primary']) # Add (enslave) interfaces to bond for intf in bond['member']: |