mirror of
				https://github.com/Telecominfraproject/ols-ucentral-schema.git
				synced 2025-10-30 01:32:26 +00:00 
			
		
		
		
	Compare commits
	
		
			19 Commits
		
	
	
		
			ols-822-ll
			...
			main
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 02f749cc11 | ||
|   | 5b00327adc | ||
|   | 117aa70d4f | ||
|   | c3073a9a45 | ||
|   | 04a8901620 | ||
|   | 23ebf25cba | ||
|   | c9b4970b29 | ||
|   | fdf54a7e0e | ||
|   | 52e38ce792 | ||
|   | 05849922ed | ||
|   | 41e621b455 | ||
|   | 598af29d51 | ||
|   | c79f7f4517 | ||
|   | 0e43b3cb3a | ||
|   | 67f3f14fab | ||
|   | 8c82a276d8 | ||
|   | a098465268 | ||
|   | 040650cb5c | ||
|   | adf3514ae9 | 
| @@ -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. | ||||
|   | ||||
| @@ -439,58 +439,66 @@ properties: | ||||
|               description: Configures the peer-link, which could be a physical port or a trunk group that connects the two MC-LAG peer switches. | ||||
|               type: object | ||||
|               properties: | ||||
|                 type: | ||||
|                 link-type: | ||||
|                   description: Defines the type of peer-link, either 'port' or 'trunk-group' | ||||
|                   type: string | ||||
|                   enum: | ||||
|                     - port | ||||
|                     - trunk-group | ||||
|                   default: trunk-group | ||||
|                 value: | ||||
|                   description: Specifies the port or trunk-group ID for the peer-link. | ||||
|                 port-id: | ||||
|                   description: Specifies the physical port name used as peer-link (only valid if type = port). | ||||
|                   type: string | ||||
|                   examples: | ||||
|                     - "Ethernet1" | ||||
|                     - "Ethernet2" | ||||
|                 trunk-id: | ||||
|                   description: Specifies the trunk group ID used as peer-link (only valid if type = trunk-group). | ||||
|                   type: integer | ||||
|                   minimum: 1 | ||||
|                   maximum: 64 | ||||
|             mclag-group: | ||||
|               description: Configures the MC-LAG group, which binds the interfaces into a multi-chassis LAG. | ||||
|               type: object | ||||
|               properties: | ||||
|                 group-id: | ||||
|                   description: Defines the unique MC-LAG group identifier. | ||||
|                   type: integer | ||||
|                   minimum: 1 | ||||
|                   maximum: 128 | ||||
|                 members: | ||||
|                   description: List of interfaces that participate in the MC-LAG group. | ||||
|                   type: array | ||||
|                   items: | ||||
|                     type: string | ||||
|                     description: Interface names that are part of the MC-LAG group. | ||||
|                     examples: | ||||
|                       - eth0 | ||||
|                       - eth1 | ||||
|                 lacp-config: | ||||
|                   description: LACP configuration settings for the MC-LAG group. | ||||
|                   type: object | ||||
|                   properties: | ||||
|                     lacp-enable: | ||||
|                       description: Enables or disables LACP for the MC-LAG group. | ||||
|                       type: boolean | ||||
|                       default: true | ||||
|                     lacp-role: | ||||
|                       description: Configures the LACP role as 'actor' or 'partner' | ||||
|               description: Configures the MC-LAG group(s), which binds the interfaces into a multi-chassis LAG. | ||||
|               type: array | ||||
|               items: | ||||
|                 type: object | ||||
|                 properties: | ||||
|                   group-id: | ||||
|                     description: Defines the unique MC-LAG group identifier. | ||||
|                     type: integer | ||||
|                     minimum: 1 | ||||
|                     maximum: 128 | ||||
|                   members: | ||||
|                     description: List of interfaces that participate in the MC-LAG group. | ||||
|                     type: array | ||||
|                     items: | ||||
|                       type: string | ||||
|                       enum: | ||||
|                         - actor | ||||
|                         - partner | ||||
|                       default: actor | ||||
|                     lacp-timeout: | ||||
|                       description: Sets the LACP timeout as either 'short' or 'long'. | ||||
|                       type: string | ||||
|                       enum: | ||||
|                         - short | ||||
|                         - long | ||||
|                       default: long | ||||
|                       description: Interface names that are part of the MC-LAG group. | ||||
|                       examples: | ||||
|                         - Ethernet0 | ||||
|                         - Ethernet1 | ||||
|                   lacp-config: | ||||
|                     description: LACP configuration settings for the MC-LAG group. | ||||
|                     type: object | ||||
|                     properties: | ||||
|                       lacp-enable: | ||||
|                         description: Enables or disables LACP for the MC-LAG group. | ||||
|                         type: boolean | ||||
|                         default: true | ||||
|                       lacp-role: | ||||
|                         description: Configures the LACP role as 'actor' or 'partner' | ||||
|                         type: string | ||||
|                         enum: | ||||
|                           - actor | ||||
|                           - partner | ||||
|                         default: actor | ||||
|                       lacp-timeout: | ||||
|                         description: Sets the LACP timeout as either 'short' or 'long'. | ||||
|                         type: string | ||||
|                         enum: | ||||
|                           - short | ||||
|                           - long | ||||
|                         default: long | ||||
|             system-priority: | ||||
|               description: Specifies the system priority used by the switch for LACP negotiations. | ||||
|               type: integer | ||||
|   | ||||
| @@ -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,50 @@ | ||||
|                                 "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." | ||||
|                             } | ||||
|                         } | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
| @@ -1245,7 +1289,7 @@ | ||||
|                                         "description": "Configures the peer-link, which could be a physical port or a trunk group that connects the two MC-LAG peer switches.", | ||||
|                                         "type": "object", | ||||
|                                         "properties": { | ||||
|                                             "type": { | ||||
|                                             "link-type": { | ||||
|                                                 "description": "Defines the type of peer-link, either 'port' or 'trunk-group'", | ||||
|                                                 "type": "string", | ||||
|                                                 "enum": [ | ||||
| @@ -1254,8 +1298,16 @@ | ||||
|                                                 ], | ||||
|                                                 "default": "trunk-group" | ||||
|                                             }, | ||||
|                                             "value": { | ||||
|                                                 "description": "Specifies the port or trunk-group ID for the peer-link.", | ||||
|                                             "port-id": { | ||||
|                                                 "description": "Specifies the physical port name used as peer-link (only valid if type = port).", | ||||
|                                                 "type": "string", | ||||
|                                                 "examples": [ | ||||
|                                                     "Ethernet1", | ||||
|                                                     "Ethernet2" | ||||
|                                                 ] | ||||
|                                             }, | ||||
|                                             "trunk-id": { | ||||
|                                                 "description": "Specifies the trunk group ID used as peer-link (only valid if type = trunk-group).", | ||||
|                                                 "type": "integer", | ||||
|                                                 "minimum": 1, | ||||
|                                                 "maximum": 64 | ||||
| @@ -1263,53 +1315,56 @@ | ||||
|                                         } | ||||
|                                     }, | ||||
|                                     "mclag-group": { | ||||
|                                         "description": "Configures the MC-LAG group, which binds the interfaces into a multi-chassis LAG.", | ||||
|                                         "type": "object", | ||||
|                                         "properties": { | ||||
|                                             "group-id": { | ||||
|                                                 "description": "Defines the unique MC-LAG group identifier.", | ||||
|                                                 "type": "integer", | ||||
|                                                 "minimum": 1, | ||||
|                                                 "maximum": 128 | ||||
|                                             }, | ||||
|                                             "members": { | ||||
|                                                 "description": "List of interfaces that participate in the MC-LAG group.", | ||||
|                                                 "type": "array", | ||||
|                                                 "items": { | ||||
|                                                     "type": "string", | ||||
|                                                     "description": "Interface names that are part of the MC-LAG group.", | ||||
|                                                     "examples": [ | ||||
|                                                         "eth0", | ||||
|                                                         "eth1" | ||||
|                                                     ] | ||||
|                                                 } | ||||
|                                             }, | ||||
|                                             "lacp-config": { | ||||
|                                                 "description": "LACP configuration settings for the MC-LAG group.", | ||||
|                                                 "type": "object", | ||||
|                                                 "properties": { | ||||
|                                                     "lacp-enable": { | ||||
|                                                         "description": "Enables or disables LACP for the MC-LAG group.", | ||||
|                                                         "type": "boolean", | ||||
|                                                         "default": true | ||||
|                                                     }, | ||||
|                                                     "lacp-role": { | ||||
|                                                         "description": "Configures the LACP role as 'actor' or 'partner'", | ||||
|                                         "description": "Configures the MC-LAG group(s), which binds the interfaces into a multi-chassis LAG.", | ||||
|                                         "type": "array", | ||||
|                                         "items": { | ||||
|                                             "type": "object", | ||||
|                                             "properties": { | ||||
|                                                 "group-id": { | ||||
|                                                     "description": "Defines the unique MC-LAG group identifier.", | ||||
|                                                     "type": "integer", | ||||
|                                                     "minimum": 1, | ||||
|                                                     "maximum": 128 | ||||
|                                                 }, | ||||
|                                                 "members": { | ||||
|                                                     "description": "List of interfaces that participate in the MC-LAG group.", | ||||
|                                                     "type": "array", | ||||
|                                                     "items": { | ||||
|                                                         "type": "string", | ||||
|                                                         "enum": [ | ||||
|                                                             "actor", | ||||
|                                                             "partner" | ||||
|                                                         ], | ||||
|                                                         "default": "actor" | ||||
|                                                     }, | ||||
|                                                     "lacp-timeout": { | ||||
|                                                         "description": "Sets the LACP timeout as either 'short' or 'long'.", | ||||
|                                                         "type": "string", | ||||
|                                                         "enum": [ | ||||
|                                                             "short", | ||||
|                                                             "long" | ||||
|                                                         ], | ||||
|                                                         "default": "long" | ||||
|                                                         "description": "Interface names that are part of the MC-LAG group.", | ||||
|                                                         "examples": [ | ||||
|                                                             "Ethernet0", | ||||
|                                                             "Ethernet1" | ||||
|                                                         ] | ||||
|                                                     } | ||||
|                                                 }, | ||||
|                                                 "lacp-config": { | ||||
|                                                     "description": "LACP configuration settings for the MC-LAG group.", | ||||
|                                                     "type": "object", | ||||
|                                                     "properties": { | ||||
|                                                         "lacp-enable": { | ||||
|                                                             "description": "Enables or disables LACP for the MC-LAG group.", | ||||
|                                                             "type": "boolean", | ||||
|                                                             "default": true | ||||
|                                                         }, | ||||
|                                                         "lacp-role": { | ||||
|                                                             "description": "Configures the LACP role as 'actor' or 'partner'", | ||||
|                                                             "type": "string", | ||||
|                                                             "enum": [ | ||||
|                                                                 "actor", | ||||
|                                                                 "partner" | ||||
|                                                             ], | ||||
|                                                             "default": "actor" | ||||
|                                                         }, | ||||
|                                                         "lacp-timeout": { | ||||
|                                                             "description": "Sets the LACP timeout as either 'short' or 'long'.", | ||||
|                                                             "type": "string", | ||||
|                                                             "enum": [ | ||||
|                                                                 "short", | ||||
|                                                                 "long" | ||||
|                                                             ], | ||||
|                                                             "default": "long" | ||||
|                                                         } | ||||
|                                                     } | ||||
|                                                 } | ||||
|                                             } | ||||
|   | ||||
| @@ -668,6 +668,42 @@ | ||||
|                             "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": { | ||||
|                         "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 | ||||
|                         } | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         }, | ||||
| @@ -1438,7 +1474,7 @@ | ||||
|                                     "peer-link": { | ||||
|                                         "type": "object", | ||||
|                                         "properties": { | ||||
|                                             "type": { | ||||
|                                             "link-type": { | ||||
|                                                 "type": "string", | ||||
|                                                 "enum": [ | ||||
|                                                     "port", | ||||
| @@ -1446,7 +1482,14 @@ | ||||
|                                                 ], | ||||
|                                                 "default": "trunk-group" | ||||
|                                             }, | ||||
|                                             "value": { | ||||
|                                             "port-id": { | ||||
|                                                 "type": "string", | ||||
|                                                 "examples": [ | ||||
|                                                     "Ethernet1", | ||||
|                                                     "Ethernet2" | ||||
|                                                 ] | ||||
|                                             }, | ||||
|                                             "trunk-id": { | ||||
|                                                 "type": "integer", | ||||
|                                                 "minimum": 1, | ||||
|                                                 "maximum": 64 | ||||
| @@ -1454,45 +1497,48 @@ | ||||
|                                         } | ||||
|                                     }, | ||||
|                                     "mclag-group": { | ||||
|                                         "type": "object", | ||||
|                                         "properties": { | ||||
|                                             "group-id": { | ||||
|                                                 "type": "integer", | ||||
|                                                 "minimum": 1, | ||||
|                                                 "maximum": 128 | ||||
|                                             }, | ||||
|                                             "members": { | ||||
|                                                 "type": "array", | ||||
|                                                 "items": { | ||||
|                                                     "type": "string", | ||||
|                                                     "examples": [ | ||||
|                                                         "eth0", | ||||
|                                                         "eth1" | ||||
|                                                     ] | ||||
|                                                 } | ||||
|                                             }, | ||||
|                                             "lacp-config": { | ||||
|                                                 "type": "object", | ||||
|                                                 "properties": { | ||||
|                                                     "lacp-enable": { | ||||
|                                                         "type": "boolean", | ||||
|                                                         "default": true | ||||
|                                                     }, | ||||
|                                                     "lacp-role": { | ||||
|                                         "type": "array", | ||||
|                                         "items": { | ||||
|                                             "type": "object", | ||||
|                                             "properties": { | ||||
|                                                 "group-id": { | ||||
|                                                     "type": "integer", | ||||
|                                                     "minimum": 1, | ||||
|                                                     "maximum": 128 | ||||
|                                                 }, | ||||
|                                                 "members": { | ||||
|                                                     "type": "array", | ||||
|                                                     "items": { | ||||
|                                                         "type": "string", | ||||
|                                                         "enum": [ | ||||
|                                                             "actor", | ||||
|                                                             "partner" | ||||
|                                                         ], | ||||
|                                                         "default": "actor" | ||||
|                                                     }, | ||||
|                                                     "lacp-timeout": { | ||||
|                                                         "type": "string", | ||||
|                                                         "enum": [ | ||||
|                                                             "short", | ||||
|                                                             "long" | ||||
|                                                         ], | ||||
|                                                         "default": "long" | ||||
|                                                         "examples": [ | ||||
|                                                             "Ethernet0", | ||||
|                                                             "Ethernet1" | ||||
|                                                         ] | ||||
|                                                     } | ||||
|                                                 }, | ||||
|                                                 "lacp-config": { | ||||
|                                                     "type": "object", | ||||
|                                                     "properties": { | ||||
|                                                         "lacp-enable": { | ||||
|                                                             "type": "boolean", | ||||
|                                                             "default": true | ||||
|                                                         }, | ||||
|                                                         "lacp-role": { | ||||
|                                                             "type": "string", | ||||
|                                                             "enum": [ | ||||
|                                                                 "actor", | ||||
|                                                                 "partner" | ||||
|                                                             ], | ||||
|                                                             "default": "actor" | ||||
|                                                         }, | ||||
|                                                         "lacp-timeout": { | ||||
|                                                             "type": "string", | ||||
|                                                             "enum": [ | ||||
|                                                                 "short", | ||||
|                                                                 "long" | ||||
|                                                             ], | ||||
|                                                             "default": "long" | ||||
|                                                         } | ||||
|                                                     } | ||||
|                                                 } | ||||
|                                             } | ||||
|   | ||||
| @@ -787,6 +787,50 @@ | ||||
|                             "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." | ||||
|                         } | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         }, | ||||
| @@ -1703,7 +1747,7 @@ | ||||
|                                         "description": "Configures the peer-link, which could be a physical port or a trunk group that connects the two MC-LAG peer switches.", | ||||
|                                         "type": "object", | ||||
|                                         "properties": { | ||||
|                                             "type": { | ||||
|                                             "link-type": { | ||||
|                                                 "description": "Defines the type of peer-link, either 'port' or 'trunk-group'", | ||||
|                                                 "type": "string", | ||||
|                                                 "enum": [ | ||||
| @@ -1712,8 +1756,16 @@ | ||||
|                                                 ], | ||||
|                                                 "default": "trunk-group" | ||||
|                                             }, | ||||
|                                             "value": { | ||||
|                                                 "description": "Specifies the port or trunk-group ID for the peer-link.", | ||||
|                                             "port-id": { | ||||
|                                                 "description": "Specifies the physical port name used as peer-link (only valid if type = port).", | ||||
|                                                 "type": "string", | ||||
|                                                 "examples": [ | ||||
|                                                     "Ethernet1", | ||||
|                                                     "Ethernet2" | ||||
|                                                 ] | ||||
|                                             }, | ||||
|                                             "trunk-id": { | ||||
|                                                 "description": "Specifies the trunk group ID used as peer-link (only valid if type = trunk-group).", | ||||
|                                                 "type": "integer", | ||||
|                                                 "minimum": 1, | ||||
|                                                 "maximum": 64 | ||||
| @@ -1721,53 +1773,56 @@ | ||||
|                                         } | ||||
|                                     }, | ||||
|                                     "mclag-group": { | ||||
|                                         "description": "Configures the MC-LAG group, which binds the interfaces into a multi-chassis LAG.", | ||||
|                                         "type": "object", | ||||
|                                         "properties": { | ||||
|                                             "group-id": { | ||||
|                                                 "description": "Defines the unique MC-LAG group identifier.", | ||||
|                                                 "type": "integer", | ||||
|                                                 "minimum": 1, | ||||
|                                                 "maximum": 128 | ||||
|                                             }, | ||||
|                                             "members": { | ||||
|                                                 "description": "List of interfaces that participate in the MC-LAG group.", | ||||
|                                                 "type": "array", | ||||
|                                                 "items": { | ||||
|                                                     "type": "string", | ||||
|                                                     "description": "Interface names that are part of the MC-LAG group.", | ||||
|                                                     "examples": [ | ||||
|                                                         "eth0", | ||||
|                                                         "eth1" | ||||
|                                                     ] | ||||
|                                                 } | ||||
|                                             }, | ||||
|                                             "lacp-config": { | ||||
|                                                 "description": "LACP configuration settings for the MC-LAG group.", | ||||
|                                                 "type": "object", | ||||
|                                                 "properties": { | ||||
|                                                     "lacp-enable": { | ||||
|                                                         "description": "Enables or disables LACP for the MC-LAG group.", | ||||
|                                                         "type": "boolean", | ||||
|                                                         "default": true | ||||
|                                                     }, | ||||
|                                                     "lacp-role": { | ||||
|                                                         "description": "Configures the LACP role as 'actor' or 'partner'", | ||||
|                                         "description": "Configures the MC-LAG group(s), which binds the interfaces into a multi-chassis LAG.", | ||||
|                                         "type": "array", | ||||
|                                         "items": { | ||||
|                                             "type": "object", | ||||
|                                             "properties": { | ||||
|                                                 "group-id": { | ||||
|                                                     "description": "Defines the unique MC-LAG group identifier.", | ||||
|                                                     "type": "integer", | ||||
|                                                     "minimum": 1, | ||||
|                                                     "maximum": 128 | ||||
|                                                 }, | ||||
|                                                 "members": { | ||||
|                                                     "description": "List of interfaces that participate in the MC-LAG group.", | ||||
|                                                     "type": "array", | ||||
|                                                     "items": { | ||||
|                                                         "type": "string", | ||||
|                                                         "enum": [ | ||||
|                                                             "actor", | ||||
|                                                             "partner" | ||||
|                                                         ], | ||||
|                                                         "default": "actor" | ||||
|                                                     }, | ||||
|                                                     "lacp-timeout": { | ||||
|                                                         "description": "Sets the LACP timeout as either 'short' or 'long'.", | ||||
|                                                         "type": "string", | ||||
|                                                         "enum": [ | ||||
|                                                             "short", | ||||
|                                                             "long" | ||||
|                                                         ], | ||||
|                                                         "default": "long" | ||||
|                                                         "description": "Interface names that are part of the MC-LAG group.", | ||||
|                                                         "examples": [ | ||||
|                                                             "Ethernet0", | ||||
|                                                             "Ethernet1" | ||||
|                                                         ] | ||||
|                                                     } | ||||
|                                                 }, | ||||
|                                                 "lacp-config": { | ||||
|                                                     "description": "LACP configuration settings for the MC-LAG group.", | ||||
|                                                     "type": "object", | ||||
|                                                     "properties": { | ||||
|                                                         "lacp-enable": { | ||||
|                                                             "description": "Enables or disables LACP for the MC-LAG group.", | ||||
|                                                             "type": "boolean", | ||||
|                                                             "default": true | ||||
|                                                         }, | ||||
|                                                         "lacp-role": { | ||||
|                                                             "description": "Configures the LACP role as 'actor' or 'partner'", | ||||
|                                                             "type": "string", | ||||
|                                                             "enum": [ | ||||
|                                                                 "actor", | ||||
|                                                                 "partner" | ||||
|                                                             ], | ||||
|                                                             "default": "actor" | ||||
|                                                         }, | ||||
|                                                         "lacp-timeout": { | ||||
|                                                             "description": "Sets the LACP timeout as either 'short' or 'long'.", | ||||
|                                                             "type": "string", | ||||
|                                                             "enum": [ | ||||
|                                                                 "short", | ||||
|                                                                 "long" | ||||
|                                                             ], | ||||
|                                                             "default": "long" | ||||
|                                                         } | ||||
|                                                     } | ||||
|                                                 } | ||||
|                                             } | ||||
|   | ||||
| @@ -1391,6 +1391,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" | ||||
|                                     ] | ||||
|                                 } | ||||
|                             } | ||||
|                         }, | ||||
| @@ -1423,6 +1431,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