mirror of
https://github.com/hansjone/netx.git
synced 2026-10-14 17:20:46 +08:00
Improve port-traffic logs and add manual NE rebind.
Fix unreadable collect-log contrast, surface errors on the Logs button, and let operators re-link a monitor to a chosen inventory NE without wiping samples. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
a6c7267b47
commit
3f0787da11
9 changed files with 537 additions and 60 deletions
|
|
@ -51,6 +51,12 @@ class PortTrafficDeviceUpdate(BaseModel):
|
|||
vendor: str | None = None
|
||||
|
||||
|
||||
class PortTrafficDeviceRebind(BaseModel):
|
||||
"""Re-link a monitor device to an explicitly chosen managed/UME NE; keeps samples."""
|
||||
|
||||
ne_id: str = Field(min_length=1, max_length=128)
|
||||
|
||||
|
||||
class PortTrafficDeviceOut(BaseModel):
|
||||
id: str
|
||||
source: str
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue