CreateMLAG: enable bond member interfaces
This commit is contained in:
parent
19c26ecc76
commit
1c594c18af
|
@ -38,6 +38,7 @@ class CreateMLAGScript(Script):
|
||||||
bond_iface.full_clean()
|
bond_iface.full_clean()
|
||||||
bond_iface.save()
|
bond_iface.save()
|
||||||
|
|
||||||
|
iface.enabled = True
|
||||||
iface.lag = bond_iface
|
iface.lag = bond_iface
|
||||||
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()
|
||||||
|
|
Loading…
Reference in a new issue