Skip to content

Commit

Permalink
fix: modified code to use proper fingerprint defintion
Browse files Browse the repository at this point in the history
https://telecominfraproject.atlassian.net/browse/WIFI-431

NOTE: This port of Telecominfraproject/wlan-cloud-ucentralgw#355

Summary of changes:
- Modified code to use proper definition of fingerprint service.

Signed-off-by: Ivan Chvets <[email protected]>
  • Loading branch information
i-chvets committed Jun 4, 2024
1 parent b0f925a commit 7a845e2
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions src/framework/ConfigurationValidator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3758,8 +3758,40 @@ static std::string DefaultAPSchema = R"foo(
}
},
"service.fingerprint": {
"description": "This section option enables fingerprinting.",
"type": "boolean"
"description": "This section can be used to configure device fingerprinting.",
"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": "always"
},
"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": {
"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, ...",
Expand Down

0 comments on commit 7a845e2

Please sign in to comment.