mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-10-30 18:18:03 +00:00
Merge pull request #102 from Telecominfraproject/WIFI-431-fix-update-internal-schema-validation
fix: modified code to use proper fingerprint defintion
This commit is contained in:
@@ -3758,8 +3758,40 @@ static std::string DefaultAPSchema = R"foo(
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"service.fingerprint": {
|
"service.fingerprint": {
|
||||||
"description": "This section option enables fingerprinting.",
|
"description": "This section can be used to configure device fingerprinting.",
|
||||||
"type": "boolean"
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"mode": {
|
||||||
|
"description": "Enable this option if you would like to enable the MDNS server on the unit.",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"polled",
|
||||||
|
"final",
|
||||||
|
"raw-data"
|
||||||
|
],
|
||||||
|
"default": "final"
|
||||||
|
},
|
||||||
|
"minimum-age": {
|
||||||
|
"description": "The minimum age a fingerprint must have before it is reported.",
|
||||||
|
"type": "number",
|
||||||
|
"default": 60
|
||||||
|
},
|
||||||
|
"maximum-age": {
|
||||||
|
"description": "The age at which fingerprints get flushed from the local state.",
|
||||||
|
"type": "number",
|
||||||
|
"default": 60
|
||||||
|
},
|
||||||
|
"periodicity": {
|
||||||
|
"description": "This value defines the period at which entries get reported.",
|
||||||
|
"type": "number",
|
||||||
|
"default": 600
|
||||||
|
},
|
||||||
|
"allow-wan": {
|
||||||
|
"description": "Allow fingerprinting devices found on the WAN port.",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"service": {
|
"service": {
|
||||||
"description": "This section describes all of the services that may be present on the AP. Each service is then referenced via its name inside an interface, ssid, ...",
|
"description": "This section describes all of the services that may be present on the AP. Each service is then referenced via its name inside an interface, ssid, ...",
|
||||||
|
|||||||
Reference in New Issue
Block a user