mirror of
				https://github.com/Telecominfraproject/ols-ucentral-schema.git
				synced 2025-10-30 17:47:59 +00:00 
			
		
		
		
	Merge pull request #45 from Telecominfraproject/ols-688-sprint-12-storm-control-draft
ols-688-sprint-12-stormcontrol-draft
This commit is contained in:
		| @@ -280,6 +280,7 @@ properties: | |||||||
|       - MAC-ACL |       - MAC-ACL | ||||||
|       - IP-ACL |       - IP-ACL | ||||||
|       - Guest-VLAN |       - Guest-VLAN | ||||||
|  |       - Storm-Control | ||||||
|       # Services |       # Services | ||||||
|       - Service-SSH |       - Service-SSH | ||||||
|       - Service-RSSH |       - Service-RSSH | ||||||
|   | |||||||
| @@ -499,3 +499,23 @@ properties: | |||||||
|         type: string |         type: string | ||||||
|         minLength: 1 |         minLength: 1 | ||||||
|         maxLength: 32 |         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 (pps) thresholds. A limit-pps value of 0 implies the control is disabled for that traffic type. | ||||||
|  |     type: object | ||||||
|  |     properties: | ||||||
|  |     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. | ||||||
| @@ -263,3 +263,16 @@ properties: | |||||||
|               - none |               - none | ||||||
|               - block |               - block | ||||||
|               - shutdown |               - shutdown | ||||||
|  |   storm-status: | ||||||
|  |     description: Runtime status of Storm Control feature on the port for each storm type. | ||||||
|  |     type: object | ||||||
|  |     properties: | ||||||
|  |       broadcast: | ||||||
|  |         type: boolean | ||||||
|  |         description: Runtime status of Broadcast Storm Control on the port. Return `true`if Storm condition is detected. | ||||||
|  |       multicast: | ||||||
|  |         type: boolean | ||||||
|  |         description: Runtime status of Multicast Storm Control on the port. Return `true`if Storm condition is detected. | ||||||
|  |       unknown-unicast: | ||||||
|  |         type: boolean | ||||||
|  |         description: Runtime status of Unknown Unicast Storm Control on the port. Return `true`if Storm condition is detected. | ||||||
| @@ -342,6 +342,7 @@ | |||||||
|                     "MAC-ACL", |                     "MAC-ACL", | ||||||
|                     "IP-ACL", |                     "IP-ACL", | ||||||
|                     "Guest-VLAN", |                     "Guest-VLAN", | ||||||
|  |                     "Storm-Control", | ||||||
|                     "Service-SSH", |                     "Service-SSH", | ||||||
|                     "Service-RSSH", |                     "Service-RSSH", | ||||||
|                     "Service-Telnet", |                     "Service-Telnet", | ||||||
|   | |||||||
| @@ -753,6 +753,29 @@ | |||||||
|                                 "maxLength": 32 |                                 "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 (pps) thresholds. A limit-pps value of 0 implies the control is disabled for that traffic type.", | ||||||
|  |                         "type": "object", | ||||||
|  |                         "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." | ||||||
|  |                         } | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|   | |||||||
| @@ -668,6 +668,25 @@ | |||||||
|                             "maxLength": 32 |                             "maxLength": 32 | ||||||
|                         } |                         } | ||||||
|                     } |                     } | ||||||
|  |                 }, | ||||||
|  |                 "storm-control": { | ||||||
|  |                     "type": "object", | ||||||
|  |                     "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 | ||||||
|  |                     } | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|         }, |         }, | ||||||
|   | |||||||
| @@ -787,6 +787,29 @@ | |||||||
|                             "maxLength": 32 |                             "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 (pps) thresholds. A limit-pps value of 0 implies the control is disabled for that traffic type.", | ||||||
|  |                     "type": "object", | ||||||
|  |                     "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." | ||||||
|  |                     } | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|         }, |         }, | ||||||
|   | |||||||
| @@ -1351,6 +1351,24 @@ | |||||||
|                             } |                             } | ||||||
|                         } |                         } | ||||||
|                     } |                     } | ||||||
|  |                 }, | ||||||
|  |                 "storm-status": { | ||||||
|  |                     "description": "Runtime status of Storm Control feature on the port for each storm type.", | ||||||
|  |                     "type": "object", | ||||||
|  |                     "properties": { | ||||||
|  |                         "broadcast": { | ||||||
|  |                             "type": "boolean", | ||||||
|  |                             "description": "Runtime status of Broadcast Storm Control on the port. Return `true`if Storm condition is detected." | ||||||
|  |                         }, | ||||||
|  |                         "multicast": { | ||||||
|  |                             "type": "boolean", | ||||||
|  |                             "description": "Runtime status of Multicast Storm Control on the port. Return `true`if Storm condition is detected." | ||||||
|  |                         }, | ||||||
|  |                         "unknown-unicast": { | ||||||
|  |                             "type": "boolean", | ||||||
|  |                             "description": "Runtime status of Unknown Unicast Storm Control on the port. Return `true`if Storm condition is detected." | ||||||
|  |                         } | ||||||
|  |                     } | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|         }, |         }, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Mike Hansen
					Mike Hansen