interfaces: unset bridge and mode for physical interfaces in MLAG
This commit is contained in:
parent
f7278da99d
commit
2a67e4911b
1 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,8 @@ class CreateMLAGScript(Script):
|
||||||
|
|
||||||
iface.enabled = True
|
iface.enabled = True
|
||||||
iface.lag = bond_iface
|
iface.lag = bond_iface
|
||||||
|
iface.bridge = None
|
||||||
|
iface.mode = None
|
||||||
self.log_info(f'setting {bond_iface} as LAG for interface {iface}')
|
self.log_info(f'setting {bond_iface} as LAG for interface {iface}')
|
||||||
iface.full_clean()
|
iface.full_clean()
|
||||||
iface.save()
|
iface.save()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue