Add topology-canvas placeholder NE create (source=topology).

Toolbar and pane context menu create placeholders that follow the same setup path as LLDP in NE management and WebCRT.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-05 17:42:51 +08:00
parent 71c5193ecd
commit 241093343e
21 changed files with 460 additions and 31 deletions

View file

@ -356,6 +356,15 @@ class ViewNodesAdd(BaseModel):
return_graph: bool = True
class TopologyPlaceholderCreate(BaseModel):
"""Create a canvas placeholder ManagedNE (source=topology) and place it on the view."""
name: str = Field(min_length=1, max_length=256)
ip_address: str = ""
x: float = 0.0
y: float = 0.0
class ViewNodesRemove(BaseModel):
"""Remove placements from a view (does not delete fabric). Filter and/or id list."""