1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/interfaces
catborise 28a73519d7 fix(interfaces): deleting a bridge keeps the devices it held
With the netcf backend (RHEL/AlmaLinux 8), undefining a bridge also
removes its members' configuration: the device came back without any
after a reboot. Like virsh iface-unbridge, each member is now defined
again on its own after the bridge is undefined, with the bridge's start
mode and, when it is the only member, its addresses. A bond keeps its
mode and devices.

Checked on AlmaLinux 8 (libvirt 8.0, netcf): an ethernet and a bond
member get their ifcfg back, and the bond comes up with the address
after a reboot.
2026-10-18 22:01:18 +03:00
..
api ci: replace super-linter with ruff 2026-10-04 01:08:11 +03:00
migrations add missing migrations for new models 2022-08-24 09:34:16 +03:00
templates fix(interfaces): no create, start, stop or delete where libvirt cannot change interfaces 2026-10-10 21:38:22 +03:00
tests fix(interfaces): deleting a bridge keeps the devices it held 2026-10-18 22:01:18 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
forms.py fix(interfaces): an ethernet interface needs no bridge member, and unreadable host devices are reported 2026-10-08 08:50:21 +03:00
models.py format python code with black 2022-11-02 08:54:35 +03:00
views.py fix(interfaces): no create, start, stop or delete where libvirt cannot change interfaces 2026-10-10 21:38:22 +03:00