From 0eb0acb975bed95263f87d2670033a07f9713fa8 Mon Sep 17 00:00:00 2001
From: Frostman <134872+Frostman@users.noreply.github.com>
Date: Wed, 10 Jun 2026 19:41:51 +0000
Subject: [PATCH] Update docs from fabric@v0.122.1
This is an automated commit created by GitHub Actions workflow,
in the fabric repository.
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
---
docs/reference/fabric-api.md.gen | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/docs/reference/fabric-api.md.gen b/docs/reference/fabric-api.md.gen
index f2d095e0..0cb3f149 100644
--- a/docs/reference/fabric-api.md.gen
+++ b/docs/reference/fabric-api.md.gen
@@ -457,6 +457,8 @@ _Appears in:_
| `fec` _string_ | | | |
| `counters` _[SwitchStateInterfaceCounters](#switchstateinterfacecounters)_ | | | |
| `lldpNeighbors` _[SwitchStateLLDPNeighbor](#switchstatelldpneighbor) array_ | | | |
+| `errDisabled` _boolean_ | | | |
+| `linkFlapCount` _integer_ | | | |
#### SwitchStateInterfaceCounters
@@ -3018,6 +3020,25 @@ _Appears in:_
+#### SwitchLinkFlapErrDisable
+
+
+
+SwitchLinkFlapErrDisable configures link-flap errdisable on fabric-facing ports.
+Presence of this struct enables the feature; omitting it leaves the ports unprotected.
+
+
+
+_Appears in:_
+- [SwitchSpec](#switchspec)
+
+| Field | Description | Default | Validation |
+| --- | --- | --- | --- |
+| `flapThreshold` _integer_ | FlapThreshold is the number of link-down events within SamplingInterval that triggers errdisable.
Defaults to 3. | 3 | Maximum: 50
Minimum: 1
|
+| `samplingInterval` _integer_ | SamplingInterval is the observation window in seconds for counting flap events.
Defaults to 30 s. | 30 | Maximum: 65535
Minimum: 1
|
+| `recoveryInterval` _integer_ | RecoveryInterval is how long in seconds before the port is automatically re-enabled.
0 means the port is never automatically re-enabled and must be recovered manually.
Defaults to 300 s. | 300 | Maximum: 65534
Minimum: 0
|
+
+
#### SwitchProfile
@@ -3317,6 +3338,7 @@ _Appears in:_
| `enableAllPorts` _boolean_ | EnableAllPorts is a flag to enable all ports on the switch regardless of them being used or not | | |
| `roce` _boolean_ | RoCE is a flag to enable RoCEv2 support on the switch which includes lossless queues and QoS configuration | | |
| `ecmp` _[SwitchECMP](#switchecmp)_ | ECMP is the ECMP configuration for the switch | | |
+| `linkFlapErrDisable` _[SwitchLinkFlapErrDisable](#switchlinkflaperrdisable)_ | LinkFlapErrDisable, if set, enables link-flap errdisable protection on all fabric-facing ports.
When a port exceeds FlapThreshold link-down events within SamplingInterval seconds it is
disabled; RecoveryInterval controls how long before it is automatically re-enabled (0 = never). | | |
#### SwitchStatus