mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-09-01 15:54:03 +03:00
fix: Update link_reset description to match actual behavior (delete + recreate)
This commit is contained in:
parent
4ec80f8989
commit
e7aa228ead
@ -802,7 +802,7 @@ async def link_reset(
|
||||
project_id: Annotated[str, Field(description="UUID of the project")],
|
||||
link_id: Annotated[str, Field(description="UUID of the link")],
|
||||
) -> list[dict[str, Any]]:
|
||||
"""Reset a link, clearing its state (counters, filters, etc.)."""
|
||||
"""Reset a link by deleting and recreating it. All filters, suspend state, and packet counters are cleared. The link will briefly go down then come back up."""
|
||||
return await asyncio.to_thread(_run_handler_sync, reset_link_handler, {
|
||||
"project_id": project_id, "link_id": link_id,
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user