From 57c7138e64f311dc358ea87997b35bb83189b95a Mon Sep 17 00:00:00 2001 From: Binny Date: Wed, 29 Oct 2025 09:50:18 +0000 Subject: [PATCH] ols-849-reviewcomments-made --- schema/switch.yml | 30 +++++++++++++++--------------- ucentral.schema.full.json | 30 +++++++++++++++--------------- ucentral.schema.json | 30 +++++++++++++++--------------- ucentral.schema.pretty.json | 30 +++++++++++++++--------------- 4 files changed, 60 insertions(+), 60 deletions(-) diff --git a/schema/switch.yml b/schema/switch.yml index 050554e..e009c5e 100644 --- a/schema/switch.yml +++ b/schema/switch.yml @@ -45,21 +45,21 @@ properties: enum: - upstream - downstream - bridge_prio: + bridge-prio: description: Bridge priority for root election. Ranging from 0–61440 (in steps of 4096) type: integer default: 32768 - forward_delay_secs: + forward-delay-secs: description: Time in seconds a port stays in Listening and Learning states before transitioning to Forwarding. type: integer - hello_time_secs: + hello-time-secs: description: Determines how often switches send BPDU. type: integer - max_age_secs: + max-age-secs: description: Maximum time (in seconds) before a BPDU is considered invalid. type: integer - pathcost_method: + 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 @@ -67,7 +67,7 @@ properties: enum: - short - long - bpdu_flooding: + 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 @@ -75,13 +75,13 @@ properties: enum: - to-all - to-vlan - bpdu_tx_limit: + bpdu-tx-limit: description: Maximum number of BPDU transmissions allowed per Hello interval. type: integer - root_guard: + root-guard: description: Enable Root Guard globally to prevent designated ports from becoming root. type: boolean - mst_region: + mst-region: description: MSTP region-wide configuration. Applicable when protocol is mstp. type: object properties: @@ -118,28 +118,28 @@ properties: description: MST priority. type: integer 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. type: integer default: 15 - hello_time: + hello-time: description: Determines how often switches send BPDU. type: integer 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. type: integer default: 20 - path_cost: + path-cost: description: Path cost for this MST instance. type: integer - vlan_start: + vlan-start: description: VLAN starting range assigned to this MST instance. type: integer - vlan_end: + vlan-end: description: VLAN ending range assigned to this MST instance. type: integer ieee8021x: diff --git a/ucentral.schema.full.json b/ucentral.schema.full.json index 58369e4..9a7ae2f 100644 --- a/ucentral.schema.full.json +++ b/ucentral.schema.full.json @@ -853,24 +853,24 @@ ] } }, - "bridge_prio": { + "bridge-prio": { "description": "Bridge priority for root election. Ranging from 0\u201361440 (in steps of 4096)", "type": "integer", "default": 32768 }, - "forward_delay_secs": { + "forward-delay-secs": { "description": "Time in seconds a port stays in Listening and Learning states before transitioning to Forwarding.", "type": "integer" }, - "hello_time_secs": { + "hello-time-secs": { "description": "Determines how often switches send BPDU.", "type": "integer" }, - "max_age_secs": { + "max-age-secs": { "description": "Maximum time (in seconds) before a BPDU is considered invalid.", "type": "integer" }, - "pathcost_method": { + "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": [ @@ -878,7 +878,7 @@ "long" ] }, - "bpdu_flooding": { + "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": [ @@ -886,15 +886,15 @@ "to-vlan" ] }, - "bpdu_tx_limit": { + "bpdu-tx-limit": { "description": "Maximum number of BPDU transmissions allowed per Hello interval.", "type": "integer" }, - "root_guard": { + "root-guard": { "description": "Enable Root Guard globally to prevent designated ports from becoming root.", "type": "boolean" }, - "mst_region": { + "mst-region": { "description": "MSTP region-wide configuration. Applicable when protocol is mstp.", "type": "object", "properties": { @@ -932,30 +932,30 @@ "type": "integer", "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.", "type": "integer", "default": 15 }, - "hello_time": { + "hello-time": { "description": "Determines how often switches send BPDU.", "type": "integer", "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.", "type": "integer", "default": 20 }, - "path_cost": { + "path-cost": { "description": "Path cost for this MST instance.", "type": "integer" }, - "vlan_start": { + "vlan-start": { "description": "VLAN starting range assigned to this MST instance.", "type": "integer" }, - "vlan_end": { + "vlan-end": { "description": "VLAN ending range assigned to this MST instance.", "type": "integer" } diff --git a/ucentral.schema.json b/ucentral.schema.json index ad01e1a..fe89aff 100644 --- a/ucentral.schema.json +++ b/ucentral.schema.json @@ -1107,40 +1107,40 @@ ] } }, - "bridge_prio": { + "bridge-prio": { "type": "integer", "default": 32768 }, - "forward_delay_secs": { + "forward-delay-secs": { "type": "integer" }, - "hello_time_secs": { + "hello-time-secs": { "type": "integer" }, - "max_age_secs": { + "max-age-secs": { "type": "integer" }, - "pathcost_method": { + "pathcost-method": { "type": "string", "enum": [ "short", "long" ] }, - "bpdu_flooding": { + "bpdu-flooding": { "type": "string", "enum": [ "to-all", "to-vlan" ] }, - "bpdu_tx_limit": { + "bpdu-tx-limit": { "type": "integer" }, - "root_guard": { + "root-guard": { "type": "boolean" }, - "mst_region": { + "mst-region": { "type": "object", "properties": { "name": { @@ -1171,25 +1171,25 @@ "type": "integer", "default": 32768 }, - "forward_delay": { + "forward-delay": { "type": "integer", "default": 15 }, - "hello_time": { + "hello-time": { "type": "integer", "default": 2 }, - "max_age": { + "max-age": { "type": "integer", "default": 20 }, - "path_cost": { + "path-cost": { "type": "integer" }, - "vlan_start": { + "vlan-start": { "type": "integer" }, - "vlan_end": { + "vlan-end": { "type": "integer" } } diff --git a/ucentral.schema.pretty.json b/ucentral.schema.pretty.json index c347dd6..4fc6485 100644 --- a/ucentral.schema.pretty.json +++ b/ucentral.schema.pretty.json @@ -1311,24 +1311,24 @@ ] } }, - "bridge_prio": { + "bridge-prio": { "description": "Bridge priority for root election. Ranging from 0\u201361440 (in steps of 4096)", "type": "integer", "default": 32768 }, - "forward_delay_secs": { + "forward-delay-secs": { "description": "Time in seconds a port stays in Listening and Learning states before transitioning to Forwarding.", "type": "integer" }, - "hello_time_secs": { + "hello-time-secs": { "description": "Determines how often switches send BPDU.", "type": "integer" }, - "max_age_secs": { + "max-age-secs": { "description": "Maximum time (in seconds) before a BPDU is considered invalid.", "type": "integer" }, - "pathcost_method": { + "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": [ @@ -1336,7 +1336,7 @@ "long" ] }, - "bpdu_flooding": { + "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": [ @@ -1344,15 +1344,15 @@ "to-vlan" ] }, - "bpdu_tx_limit": { + "bpdu-tx-limit": { "description": "Maximum number of BPDU transmissions allowed per Hello interval.", "type": "integer" }, - "root_guard": { + "root-guard": { "description": "Enable Root Guard globally to prevent designated ports from becoming root.", "type": "boolean" }, - "mst_region": { + "mst-region": { "description": "MSTP region-wide configuration. Applicable when protocol is mstp.", "type": "object", "properties": { @@ -1390,30 +1390,30 @@ "type": "integer", "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.", "type": "integer", "default": 15 }, - "hello_time": { + "hello-time": { "description": "Determines how often switches send BPDU.", "type": "integer", "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.", "type": "integer", "default": 20 }, - "path_cost": { + "path-cost": { "description": "Path cost for this MST instance.", "type": "integer" }, - "vlan_start": { + "vlan-start": { "description": "VLAN starting range assigned to this MST instance.", "type": "integer" }, - "vlan_end": { + "vlan-end": { "description": "VLAN ending range assigned to this MST instance.", "type": "integer" }