mirror of
https://github.com/hansjone/netx.git
synced 2026-10-16 11:30:50 +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
|
|
@ -522,6 +522,14 @@ class FabricNodesDeleteOut(BaseModel):
|
|||
placements_deleted: int = 0
|
||||
|
||||
|
||||
class FabricPlaceholderPurgeOut(BaseModel):
|
||||
deleted: int = 0
|
||||
edges_deleted: int = 0
|
||||
placements_deleted: int = 0
|
||||
managed_deleted: int = 0
|
||||
membership_views: int = 0
|
||||
|
||||
|
||||
class SliceGenerateRequest(BaseModel):
|
||||
folder_id: str
|
||||
template: str = Field(description="core_only | core_agg | agg_access")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue