Files
wlan-ucentral-schema/state/interface.ssid.yml
John Crispin ef9f6d1117 state: align schema with messages being sent
Signed-off-by: John Crispin <john@phrozen.org>
2024-05-03 09:00:35 +02:00

71 lines
1.8 KiB
YAML

type: array
items:
type: object
description:
This section contains the current state of a SSID being brodcasted or
connected to by this device.
properties:
bssid:
type: string
description:
The BSSID used by this BSS instance.
location:
type: string
description:
The json-schema path within the configuration where this logical interface is located.
phy:
type: string
description:
The unique path identifying the radio
band:
description:
The wireless band that the radio is currently operating on.
type: string
ssid:
type: string
description:
The SSID that we are broadcasting or connecting to.
iface:
type: string
description:
The physical network device used.
vlan_ifaces:
description:
The list of dynamic vlan interfaces.
type: array
items:
type: object
patternProperties:
^wlan-v:
type: object
$ref: "https://ucentral.io/state/v1/interface/counter/"
mode:
type: string
description:
The operational mode of the BSS.
enum:
- ap
- sta
- mesh
- wds
radio:
type: object
description:
A reference to the section describing the physical radio within this
document. (#/radios/X)
properties:
ref:
type: string
frequency:
description:
The list of all frequencies that the radio is currently operating on.
type: array
items:
type: number
associations:
$ref: "https://ucentral.io/state/v1/interface/ssid/association/"
counters:
$ref: "https://ucentral.io/state/v1/interface/counter/"
delta_counters:
$ref: "https://ucentral.io/state/v1/interface/counter/"