On a MLAG configured switch, only one vlan aware bridge is supported
The clag module need to access the full list of ifaceobjs. This is a
bit breaking the existing segmentation, not great but would otherwise
require a huge refactoring/rework.
Signed-off-by: Julien Fortin <jfortin@nvidia.com>
return True
return False
- def get_ifaceobjs(self, ifacename):
+ def get_ifaceobjs(self, ifacename, all=False):
+ if all:
+ return dict(self.ifaceobjdict)
return self.ifaceobjdict.get(ifacename)
def get_ifaceobjs_saved(self, ifacename):