Description of problem: Right now adding a port a bridge means modify the "port" field of the bridge so the previous port has to be also included or they will be removed. We can add a "controller" field to interfaces to they just get attached to the bridge, port. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Add a interface as a new bridge port modifying the bridge "port" field with just the interface Actual results: The other ports get removed Expected results: It should merge it with the ports or we should have a controller field at interfaces. Additional info:
Patch posted to upstream: https://github.com/nmstate/nmstate/pull/2103 Example on attach eth1 to br0: ```yaml --- interfaces: - name: eth1 state: up controller: br0 ```
Verified with: nmstate-1.4.1-1.el8.x86_64 nispor-1.2.9-1.el8.x86_64 NetworkManager-1.40.10-1.el8.x86_64 openvswitch2.15-2.15.0-133.el8fdp.x86_64 DISTRO=RHEL-8.8.0-20230127.0 But there's a little difference between nmstate python and rust when *changing* controller. I'm discussing which one is better and if it is worth fixing on RHEL 8.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (nmstate bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2772