ols-688-bpdu-guard-first-reviewchange

This commit is contained in:
Binny
2025-06-11 03:33:54 +00:00
parent adf3514ae9
commit a098465268
6 changed files with 22 additions and 18 deletions

View File

@@ -507,10 +507,11 @@ properties:
enabled:
description: When true, the port will be placed into an error-disabled state if any BPDU is received.
type: boolean
auto-recovery-intvl-secs:
auto-recovery-secs:
description: Time in 'seconds' after which a port that was err-disabled due to BPDU Guard
violation will be automatically re-enabled. Set to 0 to also imply a disable of auto recovery.
violation will be automatically re-enabled.
type: integer
default: 300
edge-port:
description: When true, the port behaves as an STP Edge Port. When false, the port
participates fully in STP and is treated as a normal switch port.

View File

@@ -242,10 +242,10 @@ properties:
transitions:
type: integer
description: Number of STP state transitions (forwarding/discarding) on this port.
oper-edge-port:
edge-port:
type: boolean
description: Whether the port is operating as an edge port (no BPDU expected).
bpdu-guard-status:
bpdu-guard:
type: string
description: Runtime status of BPDU Guard on the port.
- `enabled`- Actively monitoring for BPDUs.
@@ -253,10 +253,8 @@ properties:
- `recovering`- Temporarily disabled and in auto-recovery interval.
- `disabled`- BPDU Guard feature not applied.
enum:
- enabled
- errdisabled
- recovering
- disabled
lbd:
description: Loopback Detection (LBD) status on this port.
type: object

View File

@@ -762,9 +762,10 @@
"description": "When true, the port will be placed into an error-disabled state if any BPDU is received.",
"type": "boolean"
},
"auto-recovery-intvl-secs": {
"description": "Time in 'seconds' after which a port that was err-disabled due to BPDU Guard violation will be automatically re-enabled. Set to 0 to also imply a disable of auto recovery.",
"type": "integer"
"auto-recovery-secs": {
"description": "Time in 'seconds' after which a port that was err-disabled due to BPDU Guard violation will be automatically re-enabled.",
"type": "integer",
"default": 300
}
}
},

View File

@@ -675,8 +675,9 @@
"enabled": {
"type": "boolean"
},
"auto-recovery-intvl-secs": {
"type": "integer"
"auto-recovery-secs": {
"type": "integer",
"default": 300
}
}
},

View File

@@ -796,9 +796,10 @@
"description": "When true, the port will be placed into an error-disabled state if any BPDU is received.",
"type": "boolean"
},
"auto-recovery-intvl-secs": {
"description": "Time in 'seconds' after which a port that was err-disabled due to BPDU Guard violation will be automatically re-enabled. Set to 0 to also imply a disable of auto recovery.",
"type": "integer"
"auto-recovery-secs": {
"description": "Time in 'seconds' after which a port that was err-disabled due to BPDU Guard violation will be automatically re-enabled.",
"type": "integer",
"default": 300
}
}
},

View File

@@ -1320,14 +1320,16 @@
"type": "integer",
"description": "Number of STP state transitions (forwarding/discarding) on this port."
},
"bpdu-guard-status": {
"edge-port": {
"type": "boolean",
"description": "Whether the port is operating as an edge port (no BPDU expected)."
},
"bpdu-guard": {
"type": "string",
"description": "Runtime status of BPDU Guard on the port. - `enabled`- Actively monitoring for BPDUs. - `errdisabled`- Port is shutdown due to BPDU violation. - `recovering`- Temporarily disabled and in auto-recovery interval. - `disabled`- BPDU Guard feature not applied.",
"enum": [
"enabled",
"errdisabled",
"recovering",
"disabled"
"recovering"
]
}
}