Files
Xen-Orchestra-xen-orchestra…/packages
Sebastien Marie 0be905e7cf fix(xo-server-sdn-controller): clean up partial state on network registration failure
When privateNetwork.addNetwork() fails during xapi connection, the network is 
already inserted in privateNetwork.networks and a center may have been set 
without being recorded in _starCenters, leaving a broken PrivateNetwork 
registered.

After the registration loop, remove the network that failed to register, drop 
the orphaned center, and delete the PrivateNetwork once it has no network left, 
like _handleDisconnectedXapi already does.

Also defer pushing to noVniNetworks until the network is registered, so a failed 
network gets no VNI and does not trigger _electNewCenter outside of any 
try/catch.
2026-10-26 17:54:01 +01:00
..
2026-10-23 12:04:08 +02:00
2026-10-23 12:04:08 +02:00
2026-10-23 12:04:08 +02:00
2026-10-23 12:04:08 +02:00
2026-06-17 10:02:00 +02:00
2026-10-23 12:04:08 +02:00