ols-688-sprint-12-stormcontrol-draft

This commit is contained in:
Binny
2025-06-09 04:09:55 +00:00
parent d8d4380977
commit 040650cb5c
6 changed files with 241 additions and 1 deletions

View File

@@ -499,3 +499,39 @@ properties:
type: string
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.
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
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

View File

@@ -262,4 +262,38 @@ properties:
enum:
- none
- block
- shutdown
- shutdown
storm-control:
description: Runtime status of Storm Control feature on the port for each storm type.
type: object
properties:
broadcast:
type: string
description: Runtime status of Broadcast Storm Control on the port.
- `enabled`- Actively monitoring and limiting broadcast traffic.
- `storming`- Storm condition detected; packets are being dropped.
- `disabled`- Feature not applied on this port.
enum:
- enabled
- storming
- disabled
multicast:
type: string
description: Runtime status of Multicast Storm Control on the port.
- `enabled`- Actively monitoring and limiting multicast traffic.
- `storming`- Storm condition detected; packets are being dropped.
- `disabled`- Feature not applied on this port.
enum:
- enabled
- storming
- disabled
unknown-unicast:
type: string
description: Runtime status of Unknown Unicast Storm Control on the port.
- `enabled`- Actively monitoring and limiting unknown unicast traffic.
- `storming`- Storm condition detected; packets are being dropped.
- `disabled`- Feature not applied on this port.
enum:
- enabled
- storming
- disabled

View File

@@ -753,6 +753,54 @@
"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.",
"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
}
}
},
"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
}
}
}
}
}
}
}

View File

@@ -668,6 +668,47 @@
"maxLength": 32
}
}
},
"storm-control": {
"type": "object",
"properties": {
"broadcast": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"limit-pps": {
"type": "integer",
"minimum": 0
}
}
},
"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
}
}
}
}
}
}
},

View File

@@ -787,6 +787,54 @@
"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.",
"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
}
}
},
"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
}
}
}
}
}
}
},

View File

@@ -1351,6 +1351,39 @@
}
}
}
},
"storm-control": {
"description": "Runtime status of Storm Control feature on the port for each storm type.",
"type": "object",
"properties": {
"broadcast": {
"type": "string",
"description": "Runtime status of Broadcast Storm Control on the port. - `enabled`- Actively monitoring and limiting broadcast traffic. - `storming`- Storm condition detected; packets are being dropped. - `disabled`- Feature not applied on this port.",
"enum": [
"enabled",
"storming",
"disabled"
]
},
"multicast": {
"type": "string",
"description": "Runtime status of Multicast Storm Control on the port. - `enabled`- Actively monitoring and limiting multicast traffic. - `storming`- Storm condition detected; packets are being dropped. - `disabled`- Feature not applied on this port.",
"enum": [
"enabled",
"storming",
"disabled"
]
},
"unknown-unicast": {
"type": "string",
"description": "Runtime status of Unknown Unicast Storm Control on the port. - `enabled`- Actively monitoring and limiting unknown unicast traffic. - `storming`- Storm condition detected; packets are being dropped. - `disabled`- Feature not applied on this port.",
"enum": [
"enabled",
"storming",
"disabled"
]
}
}
}
}
},