ols-655-review-comments-part1

This commit is contained in:
Binny
2025-04-23 20:33:39 +00:00
parent 6469510af1
commit 2b7ce76453
3 changed files with 132 additions and 132 deletions

View File

@@ -210,20 +210,20 @@ properties:
type: string type: string
description: STP state of the port. description: STP state of the port.
enum: enum:
- DISABLED - disabled
- BLOCKING - blocking
- LISTENING - listening
- LEARNING - learning
- FORWARDING - forwarding
role: role:
type: string type: string
description: Role of the port in STP topology. description: Role of the port in STP topology.
enum: enum:
- ROOT - root
- DESIGNATED - designated
- ALTERNATE - alternate
- BACKUP - backup
- DISABLED - disabled
bridge-id: bridge-id:
type: string type: string
description: STP Bridge ID description: STP Bridge ID
@@ -253,13 +253,13 @@ properties:
type: string type: string
description: Current loop detection status. description: Current loop detection status.
enum: enum:
- NO_LOOP - no_loop
- LOOP_DETECTED - loop_detected
- DISABLED - disabled
action: action:
type: string type: string
description: Action taken when loop is detected (e.g., block, shutdown). description: Action taken when loop is detected (e.g., block, shutdown).
enum: enum:
- NONE - none
- BLOCK - block
- SHUTDOWN - shutdown

View File

@@ -144,48 +144,47 @@ properties:
type: integer type: integer
description: Maximum hop count used in MSTP. description: Maximum hop count used in MSTP.
instances: instances:
type: array type: array
description: List of STP instances (e.g., MSTP instances). description: List of STP instances (e.g., MSTP instances).
items: items:
type: object type: object
properties: properties:
instance-id: instance-id:
type: integer
description: Instance number (for MSTP or multiple-instance support).
vlans:
type: string
description: VLAN ranges associated with the STP instance.
example: "1-4094"
bridge-priority:
type: integer type: integer
description: Instance number (for MSTP or multiple-instance support). description: Bridge priority value for STP election.
vlans: bridge-hello-time:
type: string type: integer
description: VLAN ranges associated with the STP instance. description: Hello Time interval (in seconds) configured on the bridge.
example: "1-4094" bridge-max-age:
bridge-priority: type: integer
type: integer description: Max Age value (in seconds) used for aging STP information.
description: Bridge priority value for STP election. bridge-forward-delay:
bridge-hello-time: type: integer
type: integer description: Delay (in seconds) before transitioning port to forwarding state.
description: Hello Time interval (in seconds) configured on the bridge. remaining-hops:
bridge-max-age: type: integer
type: integer description: Remaining hop count from the Root Bridge to this bridge.
description: Max Age value (in seconds) used for aging STP information. root-bridge-id:
bridge-forward-delay: type: string
type: integer description: Bridge ID of the current Root Bridge.
description: Delay (in seconds) before transitioning port to forwarding state. root-port:
remaining-hops: type: string
type: integer description: Local interface acting as Root Port.
description: Remaining hop count from the Root Bridge to this bridge. example:
root-bridge-id: - Ëthernet1
type: string root-cost:
description: Bridge ID of the current Root Bridge. type: integer
root-port: description: Cumulative cost to reach the Root Bridge.
type: string topology-changes:
description: Local interface acting as Root Port. type: integer
example: description: Total number of topology changes detected.
- Ëthernet1 last-topology-change-seconds:
root-cost: type: integer
type: integer description: Time (in seconds) since the last topology change.
description: Cumulative cost to reach the Root Bridge.
topology-changes:
type: integer
description: Total number of topology changes detected.
last-topology-change-seconds:
type: integer
description: Time (in seconds) since the last topology change.

View File

@@ -194,64 +194,65 @@
"type": "integer", "type": "integer",
"description": "Maximum hop count used in MSTP." "description": "Maximum hop count used in MSTP."
}, },
"instances": null, "instances": {
"type": "array", "type": "array",
"description": "List of STP instances (e.g., MSTP instances).", "description": "List of STP instances (e.g., MSTP instances).",
"items": { "items": {
"type": "object", "type": "object",
"properties": { "properties": {
"instance-id": { "instance-id": {
"type": "integer",
"description": "Instance number (for MSTP or multiple-instance support)."
}
},
"vlans": {
"type": "string",
"description": "VLAN ranges associated with the STP instance.",
"example": "1-4094"
},
"bridge-priority": {
"type": "integer", "type": "integer",
"description": "Instance number (for MSTP or multiple-instance support)." "description": "Bridge priority value for STP election."
},
"bridge-hello-time": {
"type": "integer",
"description": "Hello Time interval (in seconds) configured on the bridge."
},
"bridge-max-age": {
"type": "integer",
"description": "Max Age value (in seconds) used for aging STP information."
},
"bridge-forward-delay": {
"type": "integer",
"description": "Delay (in seconds) before transitioning port to forwarding state."
},
"remaining-hops": {
"type": "integer",
"description": "Remaining hop count from the Root Bridge to this bridge."
},
"root-bridge-id": {
"type": "string",
"description": "Bridge ID of the current Root Bridge."
},
"root-port": {
"type": "string",
"description": "Local interface acting as Root Port.",
"example": [
"\u00cbthernet1"
]
},
"root-cost": {
"type": "integer",
"description": "Cumulative cost to reach the Root Bridge."
},
"topology-changes": {
"type": "integer",
"description": "Total number of topology changes detected."
},
"last-topology-change-seconds": {
"type": "integer",
"description": "Time (in seconds) since the last topology change."
} }
},
"vlans": {
"type": "string",
"description": "VLAN ranges associated with the STP instance.",
"example": "1-4094"
},
"bridge-priority": {
"type": "integer",
"description": "Bridge priority value for STP election."
},
"bridge-hello-time": {
"type": "integer",
"description": "Hello Time interval (in seconds) configured on the bridge."
},
"bridge-max-age": {
"type": "integer",
"description": "Max Age value (in seconds) used for aging STP information."
},
"bridge-forward-delay": {
"type": "integer",
"description": "Delay (in seconds) before transitioning port to forwarding state."
},
"remaining-hops": {
"type": "integer",
"description": "Remaining hop count from the Root Bridge to this bridge."
},
"root-bridge-id": {
"type": "string",
"description": "Bridge ID of the current Root Bridge."
},
"root-port": {
"type": "string",
"description": "Local interface acting as Root Port.",
"example": [
"\u00cbthernet1"
]
},
"root-cost": {
"type": "integer",
"description": "Cumulative cost to reach the Root Bridge."
},
"topology-changes": {
"type": "integer",
"description": "Total number of topology changes detected."
},
"last-topology-change-seconds": {
"type": "integer",
"description": "Time (in seconds) since the last topology change."
} }
} }
} }
@@ -1272,22 +1273,22 @@
"type": "string", "type": "string",
"description": "STP state of the port.", "description": "STP state of the port.",
"enum": [ "enum": [
"DISABLED", "disabled",
"BLOCKING", "blocking",
"LISTENING", "listening",
"LEARNING", "learning",
"FORWARDING" "forwarding"
] ]
}, },
"role": { "role": {
"type": "string", "type": "string",
"description": "Role of the port in STP topology.", "description": "Role of the port in STP topology.",
"enum": [ "enum": [
"ROOT", "root",
"DESIGNATED", "designated",
"ALTERNATE", "alternate",
"BACKUP", "backup",
"DISABLED" "disabled"
] ]
}, },
"bridge-id": { "bridge-id": {
@@ -1328,18 +1329,18 @@
"type": "string", "type": "string",
"description": "Current loop detection status.", "description": "Current loop detection status.",
"enum": [ "enum": [
"NO_LOOP", "no_loop",
"LOOP_DETECTED", "loop_detected",
"DISABLED" "disabled"
] ]
}, },
"action": { "action": {
"type": "string", "type": "string",
"description": "Action taken when loop is detected (e.g., block, shutdown).", "description": "Action taken when loop is detected (e.g., block, shutdown).",
"enum": [ "enum": [
"NONE", "none",
"BLOCK", "block",
"SHUTDOWN" "shutdown"
] ]
} }
} }