mirror of
				https://github.com/Telecominfraproject/ols-ucentral-schema.git
				synced 2025-10-31 01:58:03 +00:00 
			
		
		
		
	Compare commits
	
		
			12 Commits
		
	
	
		
			OLS_Update
			...
			fix/fix_in
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | c9b4970b29 | ||
|   | fdf54a7e0e | ||
|   | 52e38ce792 | ||
|   | 41e621b455 | ||
|   | c79f7f4517 | ||
|   | 0e43b3cb3a | ||
|   | 67f3f14fab | ||
|   | 8c82a276d8 | ||
|   | a098465268 | ||
|   | 040650cb5c | ||
|   | adf3514ae9 | ||
|   | d8d4380977 | 
| @@ -243,6 +243,7 @@ properties: | ||||
|       - Spanning-Tree-Per-VLAN | ||||
|       - Spanning-Tree-Per-VLAN-Rapid | ||||
|       - Spanning-Tree-MSTP | ||||
|       - BPDU-Guard | ||||
|       # L3 | ||||
|       - SVI-StaticIPv4 | ||||
|       - SVI-StaticIPv6 | ||||
| @@ -280,6 +281,7 @@ properties: | ||||
|       - MAC-ACL | ||||
|       - IP-ACL | ||||
|       - Guest-VLAN | ||||
|       - Storm-Control | ||||
|       # Services | ||||
|       - Service-SSH | ||||
|       - Service-RSSH | ||||
|   | ||||
| @@ -499,3 +499,41 @@ properties: | ||||
|         type: string | ||||
|         minLength: 1 | ||||
|         maxLength: 32 | ||||
|   bpdu-guard: | ||||
|     description: BPDU Guard configuration block. Enables protection against unexpected BPDUs  | ||||
|       on edge ports to prevent loops and rogue switch connections. | ||||
|     type: object | ||||
|     properties: | ||||
|       enabled: | ||||
|         description: When true, the port will be placed into an error-disabled state if any BPDU is received. | ||||
|         type: boolean | ||||
|       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 | ||||
|   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. | ||||
|     type: boolean | ||||
|     default: false | ||||
|   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. | ||||
| @@ -242,6 +242,14 @@ properties: | ||||
|           transitions: | ||||
|             type: integer | ||||
|             description: Number of STP state transitions (forwarding/discarding) on this port. | ||||
|           bpdu-guard: | ||||
|             type: string | ||||
|             description: Runtime status of BPDU Guard on the port, when it detects any issue.  | ||||
|               - `errdisabled`- Port is shutdown due to BPDU violation. | ||||
|               - `recovering`- Temporarily disabled and in auto-recovery interval. | ||||
|             enum: | ||||
|               - errdisabled | ||||
|               - recovering | ||||
|       lbd: | ||||
|         description: Loopback Detection (LBD) status on this port. | ||||
|         type: object | ||||
| @@ -262,4 +270,17 @@ properties: | ||||
|             enum: | ||||
|               - none | ||||
|               - 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. | ||||
| @@ -310,6 +310,7 @@ | ||||
|                     "Spanning-Tree-Per-VLAN", | ||||
|                     "Spanning-Tree-Per-VLAN-Rapid", | ||||
|                     "Spanning-Tree-MSTP", | ||||
|                     "BPDU-Guard", | ||||
|                     "SVI-StaticIPv4", | ||||
|                     "SVI-StaticIPv6", | ||||
|                     "Interface-StaticIPv4", | ||||
| @@ -342,6 +343,7 @@ | ||||
|                     "MAC-ACL", | ||||
|                     "IP-ACL", | ||||
|                     "Guest-VLAN", | ||||
|                     "Storm-Control", | ||||
|                     "Service-SSH", | ||||
|                     "Service-RSSH", | ||||
|                     "Service-Telnet", | ||||
|   | ||||
| @@ -753,6 +753,49 @@ | ||||
|                                 "maxLength": 32 | ||||
|                             } | ||||
|                         } | ||||
|                     }, | ||||
|                     "bpdu-guard": { | ||||
|                         "description": "BPDU Guard configuration block. Enables protection against unexpected BPDUs on edge ports to prevent loops and rogue switch connections.", | ||||
|                         "type": "object", | ||||
|                         "properties": { | ||||
|                             "enabled": { | ||||
|                                 "description": "When true, the port will be placed into an error-disabled state if any BPDU is received.", | ||||
|                                 "type": "boolean" | ||||
|                             }, | ||||
|                             "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 | ||||
|                             } | ||||
|                         } | ||||
|                     }, | ||||
|                     "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.", | ||||
|                         "type": "boolean", | ||||
|                         "default": false | ||||
|                     }, | ||||
|                     "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,41 @@ | ||||
|                             "maxLength": 32 | ||||
|                         } | ||||
|                     } | ||||
|                 }, | ||||
|                 "bpdu-guard": { | ||||
|                     "type": "object", | ||||
|                     "properties": { | ||||
|                         "enabled": { | ||||
|                             "type": "boolean" | ||||
|                         }, | ||||
|                         "auto-recovery-secs": { | ||||
|                             "type": "integer", | ||||
|                             "default": 300 | ||||
|                         } | ||||
|                     } | ||||
|                 }, | ||||
|                 "edge-port": { | ||||
|                     "type": "boolean", | ||||
|                     "default": false | ||||
|                 }, | ||||
|                 "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,49 @@ | ||||
|                             "maxLength": 32 | ||||
|                         } | ||||
|                     } | ||||
|                 }, | ||||
|                 "bpdu-guard": { | ||||
|                     "description": "BPDU Guard configuration block. Enables protection against unexpected BPDUs on edge ports to prevent loops and rogue switch connections.", | ||||
|                     "type": "object", | ||||
|                     "properties": { | ||||
|                         "enabled": { | ||||
|                             "description": "When true, the port will be placed into an error-disabled state if any BPDU is received.", | ||||
|                             "type": "boolean" | ||||
|                         }, | ||||
|                         "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 | ||||
|                         } | ||||
|                     } | ||||
|                 }, | ||||
|                 "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.", | ||||
|                     "type": "boolean", | ||||
|                     "default": false | ||||
|                 }, | ||||
|                 "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." | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         }, | ||||
|   | ||||
| @@ -1319,6 +1319,14 @@ | ||||
|                                 "transitions": { | ||||
|                                     "type": "integer", | ||||
|                                     "description": "Number of STP state transitions (forwarding/discarding) on this port." | ||||
|                                 }, | ||||
|                                 "bpdu-guard": { | ||||
|                                     "type": "string", | ||||
|                                     "description": "Runtime status of BPDU Guard on the port, when it detects any issue. - `errdisabled`- Port is shutdown due to BPDU violation. - `recovering`- Temporarily disabled and in auto-recovery interval.", | ||||
|                                     "enum": [ | ||||
|                                         "errdisabled", | ||||
|                                         "recovering" | ||||
|                                     ] | ||||
|                                 } | ||||
|                             } | ||||
|                         }, | ||||
| @@ -1351,6 +1359,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