Files
wlan-testing/tests/e2e/basic/schema_validation/master-config-3.json
YashSaxenaCT df016b29c1 WIFI-13443: Add: Schema Validation (#913)
* Added Schema Validation.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added schema_validation/base.txt

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Modified static commit-id in base.txt and sub-suites in schema_validation.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Updated base.text commit-id to check scenario of no new firmware found.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Add: Schema Validation through AP Terminal (State Messages)

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Modified: Schema Validation using AP State Messages.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Add/Modify: Marker and Description to Schema Validation test plan.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Modify: Allure reporting for Schema Validation through AP Terminal testcase.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Modify Schema Validation reporting.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Modify: Fail message in allure for schema validation.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Add: --commit-id parameter in CLI and modified schema validation through Github test case.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Remove unused function from schema validation.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Modify: Allure reporting for schema validation. Fix: bug in schema_validation through github.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Modify: Schema Validation through GitHub.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Modify: Schema Validation Testplan.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Moved SV files from test/ -> basic/

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added ow_sanity_lf marker to Schema Validation tests.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Modified schema validation code to handle cases where 'properties' or 'items' are missing from schema.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Modified the Schema Validation through Github to bypass wlan-ap repo and directly fetch latest commit from wlan-ucentral-schema repo.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Modified Schema Validation through github to not report properties key missing when patternProperties or  key present.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Increased time before fetching state message and added additional checks.

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

---------

Co-authored-by: jitendracandela <jitendra.kushavah@candelatech.com>
2024-06-06 13:58:03 +05:30

192 lines
3.8 KiB
JSON

{
"uuid": 2,
"radios": [
{
"band": "5G",
"channel": 149,
"channel-mode": "HE",
"channel-width": 80,
"country": "CA"
},
{
"band": "2G",
"channel": 11,
"channel-mode": "HE",
"channel-width": 20,
"country": "CA"
}
],
"interfaces": [
{
"name": "WAN",
"role": "upstream",
"tunnel": {
"proto": "mesh"
},
"services": [ "lldp" ],
"ethernet": [
{
"select-ports": [
"WAN*"
]
}
],
"ipv4": {
"addressing": "dynamic"
},
"ssids": [
{
"name": "mesh-transit-1",
"wifi-bands": [
"5G"
],
"bss-mode": "mesh",
"encryption": {
"proto": "psk2",
"key": "meshpassword",
"ieee80211w": "optional"
}
},
{
"name": "Mesh-SSID-2G",
"wifi-bands": [
"2G"
],
"bss-mode": "ap",
"encryption": {
"proto": "psk",
"key": "OpenWifi",
"ieee80211w": "optional"
}
},
{
"name": "Mesh-SSID-5G",
"wifi-bands": [
"5G"
],
"bss-mode": "ap",
"encryption": {
"proto": "psk",
"key": "OpenWifi",
"ieee80211w": "optional"
}
},
{
"name": "usteering-air-3",
"wifi-bands": [
"5G",
"2G"
],
"bss-mode": "ap",
"encryption": {
"proto": "psk2",
"key": "password@123",
"ieee80211w": "optional"
},
"roaming": {
"message-exchange": "air",
"generate-psk": true
},
"services": [ "wifi-steering" ]
},{
"name": "Uchannel-ds-4",
"wifi-bands": [
"2G","5G"
],
"bss-mode": "ap",
"encryption": {
"proto": "psk2",
"key": "OpenWifi",
"ieee80211w": "optional"
},
"roaming": {
"message-exchange": "ds",
"generate-psk": true
},
"rrm": {
"neighbor-reporting": true,
"ftm-responder": true,
"stationary-ap": true },
"services": [ "wifi-steering" ]
},
{
"name": "captive-radius-5",
"services": [
"captive"
],
"wifi-bands": [
"5G",
"2G"
],
"bss-mode": "ap",
"encryption": {
"proto": "psk2",
"key": "OpenWifi",
"ieee80211w": "optional"
},
"captive": {
"auth-mode": "radius",
"auth-server": "10.28.3.100",
"auth-port": 1812,
"auth-secret": "testing123",
"walled-garden-fqdn": [
"*.google.com",
"telecominfraproject.com"
]
}
}
]
},
{
"name": "LAN",
"role": "downstream",
"services": [ "ssh", "lldp" ],
"ethernet": [
{
"select-ports": [
"LAN*"
]
}
],
"ipv4": {
"addressing": "static",
"subnet": "192.168.1.1/24",
"dhcp": {
"lease-first": 10,
"lease-count": 100,
"lease-time": "6h"
}
}
}
],
"metrics": {
"statistics": {
"interval": 120,
"types": [ "ssids", "lldp", "clients" ]
},
"health": {
"interval": 120
},
"wifi-frames": {
"filters": [ "probe", "auth" ]
}
},
"services": {
"lldp": {
"describe": "uCentral",
"location": "universe"
},
"wifi-steering": {
"mode": "local",
"network": "upstream",
"assoc-steering": true,
"required-snr": -85,
"required-probe-snr": -80,
"required-roam-snr": -80,
"load-kick-threshold": 90
},
"ssh": {
"port": 22
}
}
}