mirror of
https://github.com/Telecominfraproject/ols-ucentral-schema.git
synced 2025-10-30 17:47:59 +00:00
Compare commits
23 Commits
v4.0.0
...
OLS-849-ad
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
57c7138e64 | ||
|
|
75e2910729 | ||
|
|
02f749cc11 | ||
|
|
5b00327adc | ||
|
|
117aa70d4f | ||
|
|
c3073a9a45 | ||
|
|
04a8901620 | ||
|
|
23ebf25cba | ||
|
|
c9b4970b29 | ||
|
|
fdf54a7e0e | ||
|
|
52e38ce792 | ||
|
|
05849922ed | ||
|
|
9228a6c290 | ||
|
|
41e621b455 | ||
|
|
30b5864ada | ||
|
|
598af29d51 | ||
|
|
c79f7f4517 | ||
|
|
0e43b3cb3a | ||
|
|
67f3f14fab | ||
|
|
8c82a276d8 | ||
|
|
a098465268 | ||
|
|
040650cb5c | ||
|
|
adf3514ae9 |
@@ -243,6 +243,7 @@ properties:
|
|||||||
- Spanning-Tree-Per-VLAN
|
- Spanning-Tree-Per-VLAN
|
||||||
- Spanning-Tree-Per-VLAN-Rapid
|
- Spanning-Tree-Per-VLAN-Rapid
|
||||||
- Spanning-Tree-MSTP
|
- Spanning-Tree-MSTP
|
||||||
|
- BPDU-Guard
|
||||||
# L3
|
# L3
|
||||||
- SVI-StaticIPv4
|
- SVI-StaticIPv4
|
||||||
- SVI-StaticIPv6
|
- SVI-StaticIPv6
|
||||||
@@ -280,6 +281,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,41 @@ properties:
|
|||||||
type: string
|
type: string
|
||||||
minLength: 1
|
minLength: 1
|
||||||
maxLength: 32
|
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.
|
||||||
|
|||||||
@@ -45,6 +45,56 @@ properties:
|
|||||||
enum:
|
enum:
|
||||||
- upstream
|
- upstream
|
||||||
- downstream
|
- downstream
|
||||||
|
bridge-prio:
|
||||||
|
description: Bridge priority for root election. Ranging from 0–61440 (in steps of 4096)
|
||||||
|
type: integer
|
||||||
|
default: 32768
|
||||||
|
forward-delay-secs:
|
||||||
|
description: Time in seconds a port stays in Listening and Learning states
|
||||||
|
before transitioning to Forwarding.
|
||||||
|
type: integer
|
||||||
|
hello-time-secs:
|
||||||
|
description: Determines how often switches send BPDU.
|
||||||
|
type: integer
|
||||||
|
max-age-secs:
|
||||||
|
description: Maximum time (in seconds) before a BPDU is considered invalid.
|
||||||
|
type: integer
|
||||||
|
pathcost-method:
|
||||||
|
description: Specifies the method used for path cost calculation.
|
||||||
|
- short, 16-bit values (0–65535), IEEE 802.1D
|
||||||
|
- long, 32-bit values (0–200,000,000), IEEE 802.1w
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- short
|
||||||
|
- long
|
||||||
|
bpdu-flooding:
|
||||||
|
description: Configures how BPDUs are flooded to spanning-tree disabled ports.
|
||||||
|
- to-all, Flood to all STP-disabled ports
|
||||||
|
- to-vlan, Flood to STP-disabled ports within the same VLAN
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- to-all
|
||||||
|
- to-vlan
|
||||||
|
bpdu-tx-limit:
|
||||||
|
description: Maximum number of BPDU transmissions allowed per Hello interval.
|
||||||
|
type: integer
|
||||||
|
root-guard:
|
||||||
|
description: Enable Root Guard globally to prevent designated ports from becoming root.
|
||||||
|
type: boolean
|
||||||
|
mst-region:
|
||||||
|
description: MSTP region-wide configuration. Applicable when protocol is mstp.
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
description: Name of multiple spanning tree region.
|
||||||
|
type: string
|
||||||
|
maxLength: 32
|
||||||
|
minLength: 1
|
||||||
|
revision:
|
||||||
|
description: MST region revision number.
|
||||||
|
type: integer
|
||||||
|
maximum: 65535
|
||||||
|
minimum: 0
|
||||||
instances:
|
instances:
|
||||||
description:
|
description:
|
||||||
Define a list of configuration for each STP instance.
|
Define a list of configuration for each STP instance.
|
||||||
@@ -55,40 +105,43 @@ properties:
|
|||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
description:
|
description: Indicates instance to configure.
|
||||||
Indicates instance to configure.
|
|
||||||
Depends on current STP protocol
|
Depends on current STP protocol
|
||||||
If RPVSTP/PVSTP - vlan id
|
If RPVSTP/PVSTP - vlan id
|
||||||
If MSTP - instance id
|
If MSTP - instance id
|
||||||
type: integer
|
type: integer
|
||||||
enabled:
|
enabled:
|
||||||
description:
|
description: Enable STP on this instance.
|
||||||
Enable STP on this instance.
|
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
priority:
|
priority:
|
||||||
description:
|
description: MST priority.
|
||||||
Bridge priority.
|
|
||||||
type: integer
|
type: integer
|
||||||
default: 32768
|
default: 32768
|
||||||
forward_delay:
|
forward-delay:
|
||||||
description:
|
description: Defines the amount of time a switch port stays in the Listening
|
||||||
Defines the amount of time a switch port stays in the Listening
|
|
||||||
and Learning states before transitioning to the Forwarding state.
|
and Learning states before transitioning to the Forwarding state.
|
||||||
type: integer
|
type: integer
|
||||||
default: 15
|
default: 15
|
||||||
hello_time:
|
hello-time:
|
||||||
description:
|
description: Determines how often switches send BPDU.
|
||||||
Determines how often switches send BPDU.
|
|
||||||
type: integer
|
type: integer
|
||||||
default: 2
|
default: 2
|
||||||
max_age:
|
max-age:
|
||||||
description:
|
description: Specifies the maximum time that a switch port should wait to
|
||||||
Specifies the maximum time that a switch port should wait to
|
|
||||||
receive a BPDU from its neighbor before
|
receive a BPDU from its neighbor before
|
||||||
considering the link as failed or disconnected.
|
considering the link as failed or disconnected.
|
||||||
type: integer
|
type: integer
|
||||||
default: 20
|
default: 20
|
||||||
|
path-cost:
|
||||||
|
description: Path cost for this MST instance.
|
||||||
|
type: integer
|
||||||
|
vlan-start:
|
||||||
|
description: VLAN starting range assigned to this MST instance.
|
||||||
|
type: integer
|
||||||
|
vlan-end:
|
||||||
|
description: VLAN ending range assigned to this MST instance.
|
||||||
|
type: integer
|
||||||
ieee8021x:
|
ieee8021x:
|
||||||
description:
|
description:
|
||||||
This section describes the global 802.1X (port access control) configuration.
|
This section describes the global 802.1X (port access control) configuration.
|
||||||
@@ -439,20 +492,28 @@ properties:
|
|||||||
description: Configures the peer-link, which could be a physical port or a trunk group that connects the two MC-LAG peer switches.
|
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
|
type: object
|
||||||
properties:
|
properties:
|
||||||
type:
|
link-type:
|
||||||
description: Defines the type of peer-link, either 'port' or 'trunk-group'
|
description: Defines the type of peer-link, either 'port' or 'trunk-group'
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
- port
|
- port
|
||||||
- trunk-group
|
- trunk-group
|
||||||
default: trunk-group
|
default: trunk-group
|
||||||
value:
|
port-id:
|
||||||
description: Specifies the port or trunk-group ID for the peer-link.
|
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
|
type: integer
|
||||||
minimum: 1
|
minimum: 1
|
||||||
maximum: 64
|
maximum: 64
|
||||||
mclag-group:
|
mclag-group:
|
||||||
description: Configures the MC-LAG group, which binds the interfaces into a multi-chassis LAG.
|
description: Configures the MC-LAG group(s), which binds the interfaces into a multi-chassis LAG.
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
group-id:
|
group-id:
|
||||||
@@ -467,8 +528,8 @@ properties:
|
|||||||
type: string
|
type: string
|
||||||
description: Interface names that are part of the MC-LAG group.
|
description: Interface names that are part of the MC-LAG group.
|
||||||
examples:
|
examples:
|
||||||
- eth0
|
- Ethernet0
|
||||||
- eth1
|
- Ethernet1
|
||||||
lacp-config:
|
lacp-config:
|
||||||
description: LACP configuration settings for the MC-LAG group.
|
description: LACP configuration settings for the MC-LAG group.
|
||||||
type: object
|
type: object
|
||||||
|
|||||||
@@ -242,6 +242,14 @@ properties:
|
|||||||
transitions:
|
transitions:
|
||||||
type: integer
|
type: integer
|
||||||
description: Number of STP state transitions (forwarding/discarding) on this port.
|
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:
|
lbd:
|
||||||
description: Loopback Detection (LBD) status on this port.
|
description: Loopback Detection (LBD) status on this port.
|
||||||
type: object
|
type: object
|
||||||
@@ -263,3 +271,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.
|
||||||
@@ -49,6 +49,10 @@ items:
|
|||||||
type: string
|
type: string
|
||||||
description: Provides a textual description of the remote port, typically describing the interface or its purpose.
|
description: Provides a textual description of the remote port, typically describing the interface or its purpose.
|
||||||
example: "Ethernet Port on unit 1, port 2"
|
example: "Ethernet Port on unit 1, port 2"
|
||||||
|
lldp-remote-sys-name:
|
||||||
|
type: string
|
||||||
|
description: Provides a textual description of the system name string (as defined by the sending device)
|
||||||
|
example: "Datacenter Switch-1"
|
||||||
lldp-remote-port-max-mtu:
|
lldp-remote-port-max-mtu:
|
||||||
type: string
|
type: string
|
||||||
description: Displays the maximum transmission unit (MTU) size that the remote port supports, indicating the largest packet size the port can handle.
|
description: Displays the maximum transmission unit (MTU) size that the remote port supports, indicating the largest packet size the port can handle.
|
||||||
@@ -117,6 +121,19 @@ items:
|
|||||||
type: string
|
type: string
|
||||||
description: Displays the PoE class of the remote device, indicating its power consumption classification.
|
description: Displays the PoE class of the remote device, indicating its power consumption classification.
|
||||||
enum: ["Class-1", "Class-2", "Class-3", "Class-4","Class-5", "Class-6", "Class-7", "Class-8"]
|
enum: ["Class-1", "Class-2", "Class-3", "Class-4","Class-5", "Class-6", "Class-7", "Class-8"]
|
||||||
|
lldp-remote-port-power-priority:
|
||||||
|
type: string
|
||||||
|
description: Indicates the power priority level assigned to the PD.
|
||||||
|
enum:
|
||||||
|
- low
|
||||||
|
- high
|
||||||
|
- critical
|
||||||
|
lldp-remote-port-pd-requested-power:
|
||||||
|
type: number
|
||||||
|
description: Power requested by the PD in watts (0.1W resolution possible). The values must be presented with real values like 25.5, 20.5 etc.
|
||||||
|
lldp-remote-port-pse-available-power:
|
||||||
|
type: number
|
||||||
|
description: Power that the PSE port is able to provide in watts (0.1W resolution).
|
||||||
lldp-remote-port-lag-info:
|
lldp-remote-port-lag-info:
|
||||||
type: object
|
type: object
|
||||||
description: Provides information about the remote port’s involvement in Link Aggregation Groups (LAG), if applicable.
|
description: Provides information about the remote port’s involvement in Link Aggregation Groups (LAG), if applicable.
|
||||||
@@ -130,3 +147,39 @@ items:
|
|||||||
lldp-remote-port-lag-port-id:
|
lldp-remote-port-lag-port-id:
|
||||||
type: integer
|
type: integer
|
||||||
description: Displays the identifier of the Link Aggregation Group (LAG) that the remote port belongs to.
|
description: Displays the identifier of the Link Aggregation Group (LAG) that the remote port belongs to.
|
||||||
|
lldp-remote-port-location:
|
||||||
|
type: object
|
||||||
|
description: Location information provided by LLDP-MED.
|
||||||
|
properties:
|
||||||
|
location-subtype:
|
||||||
|
type: string
|
||||||
|
description: Indicates the type of location information being conveyed.
|
||||||
|
enum:
|
||||||
|
- coordinate
|
||||||
|
- civic-address
|
||||||
|
- elin
|
||||||
|
civic-addr:
|
||||||
|
type: array
|
||||||
|
description: Civic address information consisting of CA-Type and CA-Value pairs as per LLDP-MED.
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
ca-type:
|
||||||
|
type: integer
|
||||||
|
description: Civic Address Type identifier (e.g., 1 = Language, 3 = Country, 6 = A1 state/province, etc.)
|
||||||
|
ca-value:
|
||||||
|
type: string
|
||||||
|
description: Civic Address Value corresponding to the type.
|
||||||
|
coordinates:
|
||||||
|
type: object
|
||||||
|
description: Location coordinates information.
|
||||||
|
properties:
|
||||||
|
latitude:
|
||||||
|
type: string
|
||||||
|
description: Latitude in decimal degrees (e.g., +37.7749).
|
||||||
|
longitude:
|
||||||
|
type: string
|
||||||
|
description: Longitude in decimal degrees (e.g., -122.4194).
|
||||||
|
elin:
|
||||||
|
type: string
|
||||||
|
description: Emergency Location Identification Number (ELIN) assigned to endpoint location
|
||||||
@@ -310,6 +310,7 @@
|
|||||||
"Spanning-Tree-Per-VLAN",
|
"Spanning-Tree-Per-VLAN",
|
||||||
"Spanning-Tree-Per-VLAN-Rapid",
|
"Spanning-Tree-Per-VLAN-Rapid",
|
||||||
"Spanning-Tree-MSTP",
|
"Spanning-Tree-MSTP",
|
||||||
|
"BPDU-Guard",
|
||||||
"SVI-StaticIPv4",
|
"SVI-StaticIPv4",
|
||||||
"SVI-StaticIPv6",
|
"SVI-StaticIPv6",
|
||||||
"Interface-StaticIPv4",
|
"Interface-StaticIPv4",
|
||||||
@@ -342,6 +343,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,50 @@
|
|||||||
"maxLength": 32
|
"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."
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -809,6 +853,65 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"bridge-prio": {
|
||||||
|
"description": "Bridge priority for root election. Ranging from 0\u201361440 (in steps of 4096)",
|
||||||
|
"type": "integer",
|
||||||
|
"default": 32768
|
||||||
|
},
|
||||||
|
"forward-delay-secs": {
|
||||||
|
"description": "Time in seconds a port stays in Listening and Learning states before transitioning to Forwarding.",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"hello-time-secs": {
|
||||||
|
"description": "Determines how often switches send BPDU.",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"max-age-secs": {
|
||||||
|
"description": "Maximum time (in seconds) before a BPDU is considered invalid.",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"pathcost-method": {
|
||||||
|
"description": "Specifies the method used for path cost calculation. - short, 16-bit values (0\u201365535), IEEE 802.1D - long, 32-bit values (0\u2013200,000,000), IEEE 802.1w",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"short",
|
||||||
|
"long"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"bpdu-flooding": {
|
||||||
|
"description": "Configures how BPDUs are flooded to spanning-tree disabled ports. - to-all, Flood to all STP-disabled ports - to-vlan, Flood to STP-disabled ports within the same VLAN",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"to-all",
|
||||||
|
"to-vlan"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"bpdu-tx-limit": {
|
||||||
|
"description": "Maximum number of BPDU transmissions allowed per Hello interval.",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"root-guard": {
|
||||||
|
"description": "Enable Root Guard globally to prevent designated ports from becoming root.",
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"mst-region": {
|
||||||
|
"description": "MSTP region-wide configuration. Applicable when protocol is mstp.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"name": {
|
||||||
|
"description": "Name of multiple spanning tree region.",
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 32,
|
||||||
|
"minLength": 1
|
||||||
|
},
|
||||||
|
"revision": {
|
||||||
|
"description": "MST region revision number.",
|
||||||
|
"type": "integer",
|
||||||
|
"maximum": 65535,
|
||||||
|
"minimum": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"instances": {
|
"instances": {
|
||||||
"description": "Define a list of configuration for each STP instance. Meaning of this field depends on current STP protocol (switch.loop-detection.protocol)",
|
"description": "Define a list of configuration for each STP instance. Meaning of this field depends on current STP protocol (switch.loop-detection.protocol)",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@@ -825,24 +928,36 @@
|
|||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
"priority": {
|
"priority": {
|
||||||
"description": "Bridge priority.",
|
"description": "MST priority.",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 32768
|
"default": 32768
|
||||||
},
|
},
|
||||||
"forward_delay": {
|
"forward-delay": {
|
||||||
"description": "Defines the amount of time a switch port stays in the Listening and Learning states before transitioning to the Forwarding state.",
|
"description": "Defines the amount of time a switch port stays in the Listening and Learning states before transitioning to the Forwarding state.",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 15
|
"default": 15
|
||||||
},
|
},
|
||||||
"hello_time": {
|
"hello-time": {
|
||||||
"description": "Determines how often switches send BPDU.",
|
"description": "Determines how often switches send BPDU.",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 2
|
"default": 2
|
||||||
},
|
},
|
||||||
"max_age": {
|
"max-age": {
|
||||||
"description": "Specifies the maximum time that a switch port should wait to receive a BPDU from its neighbor before considering the link as failed or disconnected.",
|
"description": "Specifies the maximum time that a switch port should wait to receive a BPDU from its neighbor before considering the link as failed or disconnected.",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 20
|
"default": 20
|
||||||
|
},
|
||||||
|
"path-cost": {
|
||||||
|
"description": "Path cost for this MST instance.",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"vlan-start": {
|
||||||
|
"description": "VLAN starting range assigned to this MST instance.",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"vlan-end": {
|
||||||
|
"description": "VLAN ending range assigned to this MST instance.",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1245,7 +1360,7 @@
|
|||||||
"description": "Configures the peer-link, which could be a physical port or a trunk group that connects the two MC-LAG peer switches.",
|
"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",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"type": {
|
"link-type": {
|
||||||
"description": "Defines the type of peer-link, either 'port' or 'trunk-group'",
|
"description": "Defines the type of peer-link, either 'port' or 'trunk-group'",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
@@ -1254,8 +1369,16 @@
|
|||||||
],
|
],
|
||||||
"default": "trunk-group"
|
"default": "trunk-group"
|
||||||
},
|
},
|
||||||
"value": {
|
"port-id": {
|
||||||
"description": "Specifies the port or trunk-group ID for the peer-link.",
|
"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",
|
"type": "integer",
|
||||||
"minimum": 1,
|
"minimum": 1,
|
||||||
"maximum": 64
|
"maximum": 64
|
||||||
@@ -1263,7 +1386,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mclag-group": {
|
"mclag-group": {
|
||||||
"description": "Configures the MC-LAG group, which binds the interfaces into a multi-chassis LAG.",
|
"description": "Configures the MC-LAG group(s), which binds the interfaces into a multi-chassis LAG.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"group-id": {
|
"group-id": {
|
||||||
@@ -1279,8 +1404,8 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Interface names that are part of the MC-LAG group.",
|
"description": "Interface names that are part of the MC-LAG group.",
|
||||||
"examples": [
|
"examples": [
|
||||||
"eth0",
|
"Ethernet0",
|
||||||
"eth1"
|
"Ethernet1"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1314,6 +1439,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"system-priority": {
|
"system-priority": {
|
||||||
"description": "Specifies the system priority used by the switch for LACP negotiations.",
|
"description": "Specifies the system priority used by the switch for LACP negotiations.",
|
||||||
|
|||||||
@@ -668,6 +668,42 @@
|
|||||||
"maxLength": 32
|
"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
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1071,6 +1107,54 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"bridge-prio": {
|
||||||
|
"type": "integer",
|
||||||
|
"default": 32768
|
||||||
|
},
|
||||||
|
"forward-delay-secs": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"hello-time-secs": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"max-age-secs": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"pathcost-method": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"short",
|
||||||
|
"long"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"bpdu-flooding": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"to-all",
|
||||||
|
"to-vlan"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"bpdu-tx-limit": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"root-guard": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"mst-region": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"name": {
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 32,
|
||||||
|
"minLength": 1
|
||||||
|
},
|
||||||
|
"revision": {
|
||||||
|
"type": "integer",
|
||||||
|
"maximum": 65535,
|
||||||
|
"minimum": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"instances": {
|
"instances": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
@@ -1087,17 +1171,26 @@
|
|||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 32768
|
"default": 32768
|
||||||
},
|
},
|
||||||
"forward_delay": {
|
"forward-delay": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 15
|
"default": 15
|
||||||
},
|
},
|
||||||
"hello_time": {
|
"hello-time": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 2
|
"default": 2
|
||||||
},
|
},
|
||||||
"max_age": {
|
"max-age": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 20
|
"default": 20
|
||||||
|
},
|
||||||
|
"path-cost": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"vlan-start": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"vlan-end": {
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1438,7 +1531,7 @@
|
|||||||
"peer-link": {
|
"peer-link": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"type": {
|
"link-type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
"port",
|
"port",
|
||||||
@@ -1446,7 +1539,14 @@
|
|||||||
],
|
],
|
||||||
"default": "trunk-group"
|
"default": "trunk-group"
|
||||||
},
|
},
|
||||||
"value": {
|
"port-id": {
|
||||||
|
"type": "string",
|
||||||
|
"examples": [
|
||||||
|
"Ethernet1",
|
||||||
|
"Ethernet2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"trunk-id": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 1,
|
"minimum": 1,
|
||||||
"maximum": 64
|
"maximum": 64
|
||||||
@@ -1454,6 +1554,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mclag-group": {
|
"mclag-group": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"group-id": {
|
"group-id": {
|
||||||
@@ -1466,8 +1568,8 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"examples": [
|
"examples": [
|
||||||
"eth0",
|
"Ethernet0",
|
||||||
"eth1"
|
"Ethernet1"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1497,6 +1599,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"system-priority": {
|
"system-priority": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
|||||||
@@ -787,6 +787,50 @@
|
|||||||
"maxLength": 32
|
"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."
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1267,6 +1311,65 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"bridge-prio": {
|
||||||
|
"description": "Bridge priority for root election. Ranging from 0\u201361440 (in steps of 4096)",
|
||||||
|
"type": "integer",
|
||||||
|
"default": 32768
|
||||||
|
},
|
||||||
|
"forward-delay-secs": {
|
||||||
|
"description": "Time in seconds a port stays in Listening and Learning states before transitioning to Forwarding.",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"hello-time-secs": {
|
||||||
|
"description": "Determines how often switches send BPDU.",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"max-age-secs": {
|
||||||
|
"description": "Maximum time (in seconds) before a BPDU is considered invalid.",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"pathcost-method": {
|
||||||
|
"description": "Specifies the method used for path cost calculation. - short, 16-bit values (0\u201365535), IEEE 802.1D - long, 32-bit values (0\u2013200,000,000), IEEE 802.1w",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"short",
|
||||||
|
"long"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"bpdu-flooding": {
|
||||||
|
"description": "Configures how BPDUs are flooded to spanning-tree disabled ports. - to-all, Flood to all STP-disabled ports - to-vlan, Flood to STP-disabled ports within the same VLAN",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"to-all",
|
||||||
|
"to-vlan"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"bpdu-tx-limit": {
|
||||||
|
"description": "Maximum number of BPDU transmissions allowed per Hello interval.",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"root-guard": {
|
||||||
|
"description": "Enable Root Guard globally to prevent designated ports from becoming root.",
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"mst-region": {
|
||||||
|
"description": "MSTP region-wide configuration. Applicable when protocol is mstp.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"name": {
|
||||||
|
"description": "Name of multiple spanning tree region.",
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 32,
|
||||||
|
"minLength": 1
|
||||||
|
},
|
||||||
|
"revision": {
|
||||||
|
"description": "MST region revision number.",
|
||||||
|
"type": "integer",
|
||||||
|
"maximum": 65535,
|
||||||
|
"minimum": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"instances": {
|
"instances": {
|
||||||
"description": "Define a list of configuration for each STP instance. Meaning of this field depends on current STP protocol (switch.loop-detection.protocol)",
|
"description": "Define a list of configuration for each STP instance. Meaning of this field depends on current STP protocol (switch.loop-detection.protocol)",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@@ -1283,24 +1386,36 @@
|
|||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
"priority": {
|
"priority": {
|
||||||
"description": "Bridge priority.",
|
"description": "MST priority.",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 32768
|
"default": 32768
|
||||||
},
|
},
|
||||||
"forward_delay": {
|
"forward-delay": {
|
||||||
"description": "Defines the amount of time a switch port stays in the Listening and Learning states before transitioning to the Forwarding state.",
|
"description": "Defines the amount of time a switch port stays in the Listening and Learning states before transitioning to the Forwarding state.",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 15
|
"default": 15
|
||||||
},
|
},
|
||||||
"hello_time": {
|
"hello-time": {
|
||||||
"description": "Determines how often switches send BPDU.",
|
"description": "Determines how often switches send BPDU.",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 2
|
"default": 2
|
||||||
},
|
},
|
||||||
"max_age": {
|
"max-age": {
|
||||||
"description": "Specifies the maximum time that a switch port should wait to receive a BPDU from its neighbor before considering the link as failed or disconnected.",
|
"description": "Specifies the maximum time that a switch port should wait to receive a BPDU from its neighbor before considering the link as failed or disconnected.",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 20
|
"default": 20
|
||||||
|
},
|
||||||
|
"path-cost": {
|
||||||
|
"description": "Path cost for this MST instance.",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"vlan-start": {
|
||||||
|
"description": "VLAN starting range assigned to this MST instance.",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"vlan-end": {
|
||||||
|
"description": "VLAN ending range assigned to this MST instance.",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1703,7 +1818,7 @@
|
|||||||
"description": "Configures the peer-link, which could be a physical port or a trunk group that connects the two MC-LAG peer switches.",
|
"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",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"type": {
|
"link-type": {
|
||||||
"description": "Defines the type of peer-link, either 'port' or 'trunk-group'",
|
"description": "Defines the type of peer-link, either 'port' or 'trunk-group'",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
@@ -1712,8 +1827,16 @@
|
|||||||
],
|
],
|
||||||
"default": "trunk-group"
|
"default": "trunk-group"
|
||||||
},
|
},
|
||||||
"value": {
|
"port-id": {
|
||||||
"description": "Specifies the port or trunk-group ID for the peer-link.",
|
"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",
|
"type": "integer",
|
||||||
"minimum": 1,
|
"minimum": 1,
|
||||||
"maximum": 64
|
"maximum": 64
|
||||||
@@ -1721,7 +1844,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mclag-group": {
|
"mclag-group": {
|
||||||
"description": "Configures the MC-LAG group, which binds the interfaces into a multi-chassis LAG.",
|
"description": "Configures the MC-LAG group(s), which binds the interfaces into a multi-chassis LAG.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"group-id": {
|
"group-id": {
|
||||||
@@ -1737,8 +1862,8 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Interface names that are part of the MC-LAG group.",
|
"description": "Interface names that are part of the MC-LAG group.",
|
||||||
"examples": [
|
"examples": [
|
||||||
"eth0",
|
"Ethernet0",
|
||||||
"eth1"
|
"Ethernet1"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1772,6 +1897,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"system-priority": {
|
"system-priority": {
|
||||||
"description": "Specifies the system priority used by the switch for LACP negotiations.",
|
"description": "Specifies the system priority used by the switch for LACP negotiations.",
|
||||||
|
|||||||
@@ -909,6 +909,11 @@
|
|||||||
"description": "Provides a textual description of the remote port, typically describing the interface or its purpose.",
|
"description": "Provides a textual description of the remote port, typically describing the interface or its purpose.",
|
||||||
"example": "Ethernet Port on unit 1, port 2"
|
"example": "Ethernet Port on unit 1, port 2"
|
||||||
},
|
},
|
||||||
|
"lldp-remote-sys-name": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Provides a textual description of the system name string (as defined by the sending device)",
|
||||||
|
"example": "Datacenter Switch-1"
|
||||||
|
},
|
||||||
"lldp-remote-port-max-mtu": {
|
"lldp-remote-port-max-mtu": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Displays the maximum transmission unit (MTU) size that the remote port supports, indicating the largest packet size the port can handle."
|
"description": "Displays the maximum transmission unit (MTU) size that the remote port supports, indicating the largest packet size the port can handle."
|
||||||
@@ -1014,6 +1019,23 @@
|
|||||||
"Class-7",
|
"Class-7",
|
||||||
"Class-8"
|
"Class-8"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"lldp-remote-port-power-priority": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Indicates the power priority level assigned to the PD.",
|
||||||
|
"enum": [
|
||||||
|
"low",
|
||||||
|
"high",
|
||||||
|
"critical"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"lldp-remote-port-pd-requested-power": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "Power requested by the PD in watts (0.1W resolution possible). The values must be presented with real values like 25.5, 20.5 etc."
|
||||||
|
},
|
||||||
|
"lldp-remote-port-pse-available-power": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "Power that the PSE port is able to provide in watts (0.1W resolution)."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1034,6 +1056,56 @@
|
|||||||
"description": "Displays the identifier of the Link Aggregation Group (LAG) that the remote port belongs to."
|
"description": "Displays the identifier of the Link Aggregation Group (LAG) that the remote port belongs to."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"lldp-remote-port-location": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "Location information provided by LLDP-MED.",
|
||||||
|
"properties": {
|
||||||
|
"location-subtype": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Indicates the type of location information being conveyed.",
|
||||||
|
"enum": [
|
||||||
|
"coordinate",
|
||||||
|
"civic-address",
|
||||||
|
"elin"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"civic-addr": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "Civic address information consisting of CA-Type and CA-Value pairs as per LLDP-MED.",
|
||||||
|
"items": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"ca-type": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "Civic Address Type identifier (e.g., 1 = Language, 3 = Country, 6 = A1 state/province, etc.)"
|
||||||
|
},
|
||||||
|
"ca-value": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Civic Address Value corresponding to the type."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"coordinates": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "Location coordinates information.",
|
||||||
|
"properties": {
|
||||||
|
"latitude": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Latitude in decimal degrees (e.g., +37.7749)."
|
||||||
|
},
|
||||||
|
"longitude": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Longitude in decimal degrees (e.g., -122.4194)."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"elin": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Emergency Location Identification Number (ELIN) assigned to endpoint location"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1319,6 +1391,14 @@
|
|||||||
"transitions": {
|
"transitions": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "Number of STP state transitions (forwarding/discarding) on this port."
|
"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 +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