Comment 8 for bug 1883244

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ovn-dedicated-chassis (master)

Reviewed: https://review.opendev.org/735416
Committed: https://git.openstack.org/cgit/x/charm-ovn-dedicated-chassis/commit/?id=662c34b5643972a67a885a9bf8cae289b7969440
Submitter: Zuul
Branch: master

commit 662c34b5643972a67a885a9bf8cae289b7969440
Author: Frode Nordahl <email address hidden>
Date: Sat Jun 13 09:01:11 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.

    Change-Id: I941609236ff2bad62b191d0adf4a36bd2b34a42b
    Closes-Bug: #1883244