commit 915464e175f79964446b46ad860e06860f1f66a8
Author: Frode Nordahl <email address hidden>
Date: Sat Jun 13 08:58:55 2020 +0200
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.
Reviewed: https:/ /review. opendev. org/735415 /git.openstack. org/cgit/ x/charm- ovn-chassis/ commit/ ?id=915464e175f 79964446b46ad86 0e06860f1f66a8
Committed: https:/
Submitter: Zuul
Branch: master
commit 915464e175f7996 4446b46ad860e06 860f1f66a8
Author: Frode Nordahl <email address hidden>
Date: Sat Jun 13 08:58:55 2020 +0200
Fix handling of linux bond interfaces
At present linux bonds will be ignored when mentioned directly erface` `
in configuration options parsed by the ``BridgePortInt
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: I09b17cc039c622 373f05423fe9993 e0254145f28
Closes-Bug: #1883244