mirror of
https://github.com/hansjone/netx.git
synced 2026-10-15 19:30:47 +08:00
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:
parent
71c5193ecd
commit
241093343e
21 changed files with 460 additions and 31 deletions
|
|
@ -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."""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue