include more link layer mirrors
All checks were successful
Build and Deploy MITM Webserver / traffic_target (push) Successful in 0s
Build and Deploy MITM Webserver / build (push) Successful in 10s

This commit is contained in:
2026-03-09 16:13:53 +01:00
parent 6534f2c4fa
commit 3f0e3c5400
4 changed files with 255 additions and 14 deletions

View File

@@ -100,6 +100,11 @@ class BridgeMemberLinkStateInfo(BaseModel):
admin_up: Optional[bool] = Field(None, description="Whether the interface has IFF_UP set.")
carrier_up: Optional[bool] = Field(None, description="Whether the interface currently reports carrier.")
operstate: Optional[str] = Field(None, description="Kernel operational state string.")
mtu: Optional[int] = Field(None, description="Current interface MTU.")
ethernet_profile: Optional[Dict[str, Any]] = Field(
None,
description="Current speed/duplex/autoneg profile when available.",
)
link_ready: bool = Field(..., description="Whether the member currently looks usable for forwarding.")
suppressed: bool = Field(..., description="Whether the watcher administratively suppressed this member.")
@@ -115,6 +120,10 @@ class BridgeLinkStateWatcherStatus(BaseModel):
last_action: Optional[str] = Field(None, description="Most recent propagation action.")
suppressed_members: List[str] = Field(default_factory=list, description="Members currently forced down by the watcher.")
recovery_holdoff_seconds: Optional[float] = Field(None, description="Configured recovery holdoff before restoring siblings.")
degraded_recheck_seconds: Optional[float] = Field(
None,
description="Low-rate fallback recheck interval while the bridge is degraded.",
)
members: Dict[str, BridgeMemberLinkStateInfo] = Field(default_factory=dict, description="Per-member link-state snapshot.")
message: Optional[str] = Field(None, description="Optional informational message.")