mirror of
https://github.com/hansjone/netx.git
synced 2026-10-16 05:20:44 +08:00
Add biz_state monitoring with shared LLDP parse and batch collect.
Introduce ParseProfile-based business state tasks that reuse LLDP parsing for snapshot batches (separate from topology Fabric writes), with scheduler, export, and a Phase1 UI under network tasks. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
066158d2f7
commit
4fa1b9b4dc
27 changed files with 2487 additions and 1 deletions
|
|
@ -67,6 +67,12 @@ def local_device_scheduler_status(*, role: str = "unknown") -> dict[str, Any]:
|
|||
out["port_traffic"] = port_traffic_scheduler_status()
|
||||
except Exception: # noqa: BLE001
|
||||
out["port_traffic"] = {"running": False, "error": "unavailable"}
|
||||
try:
|
||||
from .biz_state_scheduler import biz_state_scheduler_status
|
||||
|
||||
out["biz_state"] = biz_state_scheduler_status()
|
||||
except Exception: # noqa: BLE001
|
||||
out["biz_state"] = {"running": False, "error": "unavailable"}
|
||||
try:
|
||||
from .fabric_reconcile_scheduler import fabric_reconcile_scheduler_status
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue