mirror of
https://github.com/Telecominfraproject/ols-ucentral-schema.git
synced 2025-10-29 17:22:23 +00:00
Compare commits
17 Commits
OLS_Update
...
correct-st
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
117aa70d4f | ||
|
|
04a8901620 | ||
|
|
23ebf25cba | ||
|
|
c9b4970b29 | ||
|
|
fdf54a7e0e | ||
|
|
52e38ce792 | ||
|
|
9228a6c290 | ||
|
|
41e621b455 | ||
|
|
30b5864ada | ||
|
|
c79f7f4517 | ||
|
|
0e43b3cb3a | ||
|
|
67f3f14fab | ||
|
|
8c82a276d8 | ||
|
|
a098465268 | ||
|
|
040650cb5c | ||
|
|
adf3514ae9 | ||
|
|
d8d4380977 |
@@ -243,6 +243,7 @@ properties:
|
||||
- Spanning-Tree-Per-VLAN
|
||||
- Spanning-Tree-Per-VLAN-Rapid
|
||||
- Spanning-Tree-MSTP
|
||||
- BPDU-Guard
|
||||
# L3
|
||||
- SVI-StaticIPv4
|
||||
- SVI-StaticIPv6
|
||||
@@ -280,6 +281,7 @@ properties:
|
||||
- MAC-ACL
|
||||
- IP-ACL
|
||||
- Guest-VLAN
|
||||
- Storm-Control
|
||||
# Services
|
||||
- Service-SSH
|
||||
- Service-RSSH
|
||||
|
||||
@@ -499,3 +499,41 @@ properties:
|
||||
type: string
|
||||
minLength: 1
|
||||
maxLength: 32
|
||||
bpdu-guard:
|
||||
description: BPDU Guard configuration block. Enables protection against unexpected BPDUs
|
||||
on edge ports to prevent loops and rogue switch connections.
|
||||
type: object
|
||||
properties:
|
||||
enabled:
|
||||
description: When true, the port will be placed into an error-disabled state if any BPDU is received.
|
||||
type: boolean
|
||||
auto-recovery-secs:
|
||||
description: Time in 'seconds' after which a port that was err-disabled due to BPDU Guard
|
||||
violation will be automatically re-enabled.
|
||||
type: integer
|
||||
default: 300
|
||||
edge-port:
|
||||
description: When true, the port behaves as an STP Edge Port. When false, the port
|
||||
participates fully in STP and is treated as a normal switch port.
|
||||
type: boolean
|
||||
default: false
|
||||
storm-control:
|
||||
description: Storm Control configuration per storm type. Allows enabling or disabling traffic storm control for broadcast, multicast, and unknown unicast packets,
|
||||
with independent packet-per-second (pps) thresholds. A limit-pps value of 0 implies the control is disabled for that traffic type.
|
||||
type: object
|
||||
properties:
|
||||
broadcast-pps:
|
||||
type: integer
|
||||
minimum: 0
|
||||
default: 0
|
||||
description: Maximum allowed broadcast packets per second. 0 disables broadcast storm control.
|
||||
multicast-pps:
|
||||
type: integer
|
||||
minimum: 0
|
||||
default: 0
|
||||
description: Maximum allowed multicast packets per second. 0 disables multicast storm control.
|
||||
unknown-unicast-pps:
|
||||
type: integer
|
||||
minimum: 0
|
||||
default: 0
|
||||
description: Maximum allowed unknown unicast packets per second. 0 disables unknown unicast storm control.
|
||||
|
||||
@@ -242,6 +242,14 @@ properties:
|
||||
transitions:
|
||||
type: integer
|
||||
description: Number of STP state transitions (forwarding/discarding) on this port.
|
||||
bpdu-guard:
|
||||
type: string
|
||||
description: Runtime status of BPDU Guard on the port, when it detects any issue.
|
||||
- `errdisabled`- Port is shutdown due to BPDU violation.
|
||||
- `recovering`- Temporarily disabled and in auto-recovery interval.
|
||||
enum:
|
||||
- errdisabled
|
||||
- recovering
|
||||
lbd:
|
||||
description: Loopback Detection (LBD) status on this port.
|
||||
type: object
|
||||
@@ -262,4 +270,17 @@ properties:
|
||||
enum:
|
||||
- none
|
||||
- block
|
||||
- shutdown
|
||||
- shutdown
|
||||
storm-status:
|
||||
description: Runtime status of Storm Control feature on the port for each storm type.
|
||||
type: object
|
||||
properties:
|
||||
broadcast:
|
||||
type: boolean
|
||||
description: Runtime status of Broadcast Storm Control on the port. Return `true`if Storm condition is detected.
|
||||
multicast:
|
||||
type: boolean
|
||||
description: Runtime status of Multicast Storm Control on the port. Return `true`if Storm condition is detected.
|
||||
unknown-unicast:
|
||||
type: boolean
|
||||
description: Runtime status of Unknown Unicast Storm Control on the port. Return `true`if Storm condition is detected.
|
||||
@@ -49,6 +49,10 @@ items:
|
||||
type: string
|
||||
description: Provides a textual description of the remote port, typically describing the interface or its purpose.
|
||||
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:
|
||||
type: string
|
||||
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
|
||||
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"]
|
||||
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:
|
||||
type: object
|
||||
description: Provides information about the remote port’s involvement in Link Aggregation Groups (LAG), if applicable.
|
||||
@@ -129,4 +146,40 @@ items:
|
||||
description: Shows whether Link Aggregation is enabled on the remote port.
|
||||
lldp-remote-port-lag-port-id:
|
||||
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-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."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -909,6 +909,11 @@
|
||||
"description": "Provides a textual description of the remote port, typically describing the interface or its purpose.",
|
||||
"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": {
|
||||
"type": "string",
|
||||
"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-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."
|
||||
}
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
"type": "integer",
|
||||
"description": "Number of STP state transitions (forwarding/discarding) on this port."
|
||||
},
|
||||
"bpdu-guard": {
|
||||
"type": "string",
|
||||
"description": "Runtime status of BPDU Guard on the port, when it detects any issue. - `errdisabled`- Port is shutdown due to BPDU violation. - `recovering`- Temporarily disabled and in auto-recovery interval.",
|
||||
"enum": [
|
||||
"errdisabled",
|
||||
"recovering"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1351,6 +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