include more link layer mirrors
This commit is contained in:
@@ -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.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user