Program attach is per guest interface and the plug is the one moment every such interface passes through on this node, covering guest start, hotplug and incoming migration. Attach failures only warn, a guest start must not depend on the responder.
Signed-off-by: Hannes Laimer <[email protected]> --- src/PVE/Network/SDN/Zones.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/PVE/Network/SDN/Zones.pm b/src/PVE/Network/SDN/Zones.pm index f668303..622edb1 100644 --- a/src/PVE/Network/SDN/Zones.pm +++ b/src/PVE/Network/SDN/Zones.pm @@ -344,6 +344,9 @@ sub tap_plug { my $plugin = PVE::Network::SDN::Zones::Plugin->lookup($plugin_config->{type}); $plugin->tap_plug($plugin_config, $vnet, $tag, $iface, $bridge, $firewall, $trunks, $rate); + + # loaded through Vnets, a use here would close a load-order cycle + PVE::Network::SDN::Dhcp::tap_plug($vnet, $plugin_config, $iface); } sub add_bridge_fdb { -- 2.47.3
