mirror of
https://github.com/hansjone/netx.git
synced 2026-10-11 06:50:49 +08:00
Defer canvas edge deletes to Save and cascade orphan Fabric on NE detach.
Queue fabric edge deletes until Save with undo-safe pending state; hard-delete topology/LLDP placeholders from the canvas; purge fully orphaned fabric nodes after inventory detach, with a periodic reconcile GC. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
2aafb72676
commit
6e2c8517cf
16 changed files with 732 additions and 166 deletions
|
|
@ -38,6 +38,13 @@ def shutdown_runtime(*, reason: str = "lifespan") -> None:
|
|||
except Exception: # noqa: BLE001
|
||||
_log.exception("stop_port_traffic_scheduler failed")
|
||||
|
||||
try:
|
||||
from .fabric_reconcile_scheduler import stop_fabric_reconcile_scheduler
|
||||
|
||||
stop_fabric_reconcile_scheduler()
|
||||
except Exception: # noqa: BLE001
|
||||
_log.exception("stop_fabric_reconcile_scheduler failed")
|
||||
|
||||
try:
|
||||
import netx_api.ume_support as ume_support
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue