From 93ec88eca1659e35239744cc53e1837529e705d2 Mon Sep 17 00:00:00 2001 From: Frode Nordahl Date: Sat, 13 Jun 2020 08:58:55 +0200 Subject: [PATCH] Fix handling of linux bond interfaces At present linux bonds will be ignored when mentioned directly in configuration options parsed by the ``BridgePortInterface`` data structure. If a mac address of a physical interface making up the bond is listed the code correctly finds the bond name and adds that to the bridge. Virtual interfaces are ignored when then map is built, linux bonds are virtual interfaces. This patch fixes the problem by checking physical interfaces for bond membership while building the map. If an interface is member of a bond add the bond name to the map. Previously the bond membership check was only done when looking up interface name from mac after building the map. Change-Id: I09b17cc039c622373f05423fe9993e0254145f28 Closes-Bug: #1883244 --- rebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebuild b/rebuild index b43b09d..b9d71ef 100644 --- a/rebuild +++ b/rebuild @@ -2,4 +2,4 @@ # when dependencies of the charm change, # but nothing in the charm needs to. # simply change the uuid to something new -1c3155c5-8f4d-4816-9584-912e3ac61392 +e60d54a2-17c2-4aea-9662-80bbdcb3f1bb