Unify directory NE badges as distinct fabric ids across membership and home.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-07 18:16:21 +08:00
parent 3d86bc7594
commit 4b7d13d62b
5 changed files with 188 additions and 162 deletions

View file

@ -228,7 +228,7 @@ class TopologyTreeFolderOut(BaseModel):
sort_order: int = 0
is_system: bool = False
external_ref: str = ""
# Real NE inventory under this folder (subtree). Region folders are not NEs.
# Real NE inventory under this folder (distinct fabric ids in subtree).
ne_count: int = 0
views: list[TopologyTreeViewOut] = Field(default_factory=list)
children: list["TopologyTreeFolderOut"] = Field(default_factory=list)