ols-688-sprint12-stormcontrol-finalreview-p2

This commit is contained in:
Binny
2025-06-17 15:06:46 +00:00
parent 67f3f14fab
commit 0e43b3cb3a
6 changed files with 72 additions and 164 deletions

View File

@@ -500,39 +500,22 @@ properties:
minLength: 1
maxLength: 32
storm-control:
description: Storm Control configuration per storm type. Allows enabling or disabling
traffic storm control for broadcast, multicast, and unknown unicast packets,
with independent packet-per-second thresholds.
description: Storm Control configuration per storm type. Allows enabling or disabling traffic storm control for broadcast, multicast, and unknown unicast packets,
with independent packet-per-second (pps) thresholds. A limit-pps value of 0 implies the control is disabled for that traffic type.
type: object
properties:
broadcast:
type: object
properties:
enabled:
description: Enable or disable broadcast storm control.
type: boolean
limit-pps:
description: Maximum allowed broadcast packets per second. Traffic beyond this is dropped.
type: integer
minimum: 0
default: 500
multicast:
type: object
properties:
enabled:
description: Enable or disable multicast storm control.
type: boolean
limit-pps:
description: Maximum allowed multicast packets per second. Traffic beyond this is dropped.
type: integer
minimum: 0
unknown-unicast:
type: object
properties:
enabled:
description: Enable or disable unknown unicast storm control.
type: boolean
limit-pps:
description: Maximum allowed unknown unicast packets per second. Traffic beyond this is dropped.
type: integer
minimum: 0
broadcast-pps:
type: integer
minimum: 0
default: 0
description: Maximum allowed broadcast packets per second. 0 disables broadcast storm control.
multicast-pps:
type: integer
minimum: 0
default: 0
description: Maximum allowed multicast packets per second. 0 disables multicast storm control.
unknown-unicast-pps:
type: integer
minimum: 0
default: 0
description: Maximum allowed unknown unicast packets per second. 0 disables unknown unicast storm control.

View File

@@ -263,7 +263,7 @@ properties:
- none
- block
- shutdown
storm-control:
storm-status:
description: Runtime status of Storm Control feature on the port for each storm type.
type: object
properties:

View File

@@ -755,52 +755,26 @@
}
},
"storm-control": {
"description": "Storm Control configuration per storm type. Allows enabling or disabling traffic storm control for broadcast, multicast, and unknown unicast packets, with independent packet-per-second thresholds.",
"description": "Storm Control configuration per storm type. Allows enabling or disabling traffic storm control for broadcast, multicast, and unknown unicast packets, with independent packet-per-second (pps) thresholds. A limit-pps value of 0 implies the control is disabled for that traffic type.",
"type": "object",
"properties": {
"broadcast": {
"type": "object",
"properties": {
"enabled": {
"description": "Enable or disable broadcast storm control.",
"type": "boolean"
},
"limit-pps": {
"description": "Maximum allowed broadcast packets per second. Traffic beyond this is dropped.",
"type": "integer",
"minimum": 0,
"default": 500
}
}
},
"multicast": {
"type": "object",
"properties": {
"enabled": {
"description": "Enable or disable multicast storm control.",
"type": "boolean"
},
"limit-pps": {
"description": "Maximum allowed multicast packets per second. Traffic beyond this is dropped.",
"type": "integer",
"minimum": 0
}
}
},
"unknown-unicast": {
"type": "object",
"properties": {
"enabled": {
"description": "Enable or disable unknown unicast storm control.",
"type": "boolean"
},
"limit-pps": {
"description": "Maximum allowed unknown unicast packets per second. Traffic beyond this is dropped.",
"type": "integer",
"minimum": 0
}
}
}
"properties": null,
"broadcast-pps": {
"type": "integer",
"minimum": 0,
"default": 0,
"description": "Maximum allowed broadcast packets per second. 0 disables broadcast storm control."
},
"multicast-pps": {
"type": "integer",
"minimum": 0,
"default": 0,
"description": "Maximum allowed multicast packets per second. 0 disables multicast storm control."
},
"unknown-unicast-pps": {
"type": "integer",
"minimum": 0,
"default": 0,
"description": "Maximum allowed unknown unicast packets per second. 0 disables unknown unicast storm control."
}
}
}

View File

@@ -671,44 +671,21 @@
},
"storm-control": {
"type": "object",
"properties": {
"broadcast": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"limit-pps": {
"type": "integer",
"minimum": 0,
"default": 500
}
}
},
"multicast": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"limit-pps": {
"type": "integer",
"minimum": 0
}
}
},
"unknown-unicast": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"limit-pps": {
"type": "integer",
"minimum": 0
}
}
}
"properties": null,
"broadcast-pps": {
"type": "integer",
"minimum": 0,
"default": 0
},
"multicast-pps": {
"type": "integer",
"minimum": 0,
"default": 0
},
"unknown-unicast-pps": {
"type": "integer",
"minimum": 0,
"default": 0
}
}
}

View File

@@ -789,52 +789,26 @@
}
},
"storm-control": {
"description": "Storm Control configuration per storm type. Allows enabling or disabling traffic storm control for broadcast, multicast, and unknown unicast packets, with independent packet-per-second thresholds.",
"description": "Storm Control configuration per storm type. Allows enabling or disabling traffic storm control for broadcast, multicast, and unknown unicast packets, with independent packet-per-second (pps) thresholds. A limit-pps value of 0 implies the control is disabled for that traffic type.",
"type": "object",
"properties": {
"broadcast": {
"type": "object",
"properties": {
"enabled": {
"description": "Enable or disable broadcast storm control.",
"type": "boolean"
},
"limit-pps": {
"description": "Maximum allowed broadcast packets per second. Traffic beyond this is dropped.",
"type": "integer",
"minimum": 0,
"default": 500
}
}
},
"multicast": {
"type": "object",
"properties": {
"enabled": {
"description": "Enable or disable multicast storm control.",
"type": "boolean"
},
"limit-pps": {
"description": "Maximum allowed multicast packets per second. Traffic beyond this is dropped.",
"type": "integer",
"minimum": 0
}
}
},
"unknown-unicast": {
"type": "object",
"properties": {
"enabled": {
"description": "Enable or disable unknown unicast storm control.",
"type": "boolean"
},
"limit-pps": {
"description": "Maximum allowed unknown unicast packets per second. Traffic beyond this is dropped.",
"type": "integer",
"minimum": 0
}
}
}
"properties": null,
"broadcast-pps": {
"type": "integer",
"minimum": 0,
"default": 0,
"description": "Maximum allowed broadcast packets per second. 0 disables broadcast storm control."
},
"multicast-pps": {
"type": "integer",
"minimum": 0,
"default": 0,
"description": "Maximum allowed multicast packets per second. 0 disables multicast storm control."
},
"unknown-unicast-pps": {
"type": "integer",
"minimum": 0,
"default": 0,
"description": "Maximum allowed unknown unicast packets per second. 0 disables unknown unicast storm control."
}
}
}

View File

@@ -1352,7 +1352,7 @@
}
}
},
"storm-control": {
"storm-status": {
"description": "Runtime status of Storm Control feature on the port for each storm type.",
"type": "object",
"properties": {