mirror of
https://github.com/Telecominfraproject/ols-ucentral-schema.git
synced 2025-11-01 18:47:51 +00:00
Compare commits
2 Commits
main
...
OLS-849-ad
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
57c7138e64 | ||
|
|
75e2910729 |
@@ -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.
|
||||||
|
|||||||
@@ -853,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",
|
||||||
@@ -869,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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1107,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": {
|
||||||
@@ -1123,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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1311,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",
|
||||||
@@ -1327,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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user