mirror of
https://github.com/Telecominfraproject/ols-ucentral-schema.git
synced 2025-11-01 10:37:48 +00:00
renderer: fix typo in quality-threshold
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -272,9 +272,9 @@ set wireless.{{ section }}.beacon_rate={{ ssid.rates.beacon }}
|
|||||||
set wireless.{{ section }}.mcast_rate={{ ssid.rates.multicast }}
|
set wireless.{{ section }}.mcast_rate={{ ssid.rates.multicast }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if (ssid.quality_tresholds): %}
|
{% if (ssid.quality_thresholds): %}
|
||||||
set wireless.{{ section }}.rssi_reject_assoc_rssi={{ ssid.quality_tresholds.association-request-rssi }}
|
set wireless.{{ section }}.rssi_reject_assoc_rssi={{ ssid.quality_thresholds.association_request_rssi }}
|
||||||
set wireless.{{ section }}.rssi_ignore_probe_request={{ ssid.quality_tresholds.probe-request-rssi }}
|
set wireless.{{ section }}.rssi_ignore_probe_request={{ ssid.quality_thresholds.probe_request_rssi }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if (ssid.pass_point): %}
|
{% if (ssid.pass_point): %}
|
||||||
|
|||||||
@@ -122,8 +122,8 @@ properties:
|
|||||||
$ref: "https://ucentral.io/schema/v1/interface/ssid/certificates/"
|
$ref: "https://ucentral.io/schema/v1/interface/ssid/certificates/"
|
||||||
pass-point:
|
pass-point:
|
||||||
$ref: "https://ucentral.io/schema/v1/interface/ssid/pass-point/"
|
$ref: "https://ucentral.io/schema/v1/interface/ssid/pass-point/"
|
||||||
quality-tresholds:
|
quality-thresholds:
|
||||||
$ref: "https://ucentral.io/schema/v1/interface/ssid/quality-tresholds/"
|
$ref: "https://ucentral.io/schema/v1/interface/ssid/quality-thresholds/"
|
||||||
hostapd-bss-raw:
|
hostapd-bss-raw:
|
||||||
description:
|
description:
|
||||||
This array allows passing raw hostapd.conf lines.
|
This array allows passing raw hostapd.conf lines.
|
||||||
|
|||||||
@@ -2587,7 +2587,7 @@ function instantiateInterfaceSsidPassPoint(location, value, errors) {
|
|||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
function instantiateInterfaceSsidQualityTresholds(location, value, errors) {
|
function instantiateInterfaceSsidQualityThresholds(location, value, errors) {
|
||||||
if (type(value) == "object") {
|
if (type(value) == "object") {
|
||||||
let obj = {};
|
let obj = {};
|
||||||
|
|
||||||
@@ -2902,8 +2902,8 @@ function instantiateInterfaceSsid(location, value, errors) {
|
|||||||
obj.pass_point = instantiateInterfaceSsidPassPoint(location + "/pass-point", value["pass-point"], errors);
|
obj.pass_point = instantiateInterfaceSsidPassPoint(location + "/pass-point", value["pass-point"], errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (exists(value, "quality-tresholds")) {
|
if (exists(value, "quality-thresholds")) {
|
||||||
obj.quality_tresholds = instantiateInterfaceSsidQualityTresholds(location + "/quality-tresholds", value["quality-tresholds"], errors);
|
obj.quality_thresholds = instantiateInterfaceSsidQualityThresholds(location + "/quality-thresholds", value["quality-thresholds"], errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseHostapdBssRaw(location, value, errors) {
|
function parseHostapdBssRaw(location, value, errors) {
|
||||||
|
|||||||
@@ -1029,7 +1029,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"interface.ssid.quality-tresholds": {
|
"interface.ssid.quality-thresholds": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"probe-request-rssi": {
|
"probe-request-rssi": {
|
||||||
@@ -1157,8 +1157,8 @@
|
|||||||
"pass-point": {
|
"pass-point": {
|
||||||
"$ref": "#/$defs/interface.ssid.pass-point"
|
"$ref": "#/$defs/interface.ssid.pass-point"
|
||||||
},
|
},
|
||||||
"quality-tresholds": {
|
"quality-thresholds": {
|
||||||
"$ref": "#/$defs/interface.ssid.quality-tresholds"
|
"$ref": "#/$defs/interface.ssid.quality-thresholds"
|
||||||
},
|
},
|
||||||
"hostapd-bss-raw": {
|
"hostapd-bss-raw": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
|||||||
Reference in New Issue
Block a user