Files
wlan-ucentral-schema/state/interface.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

48 lines
1.4 KiB
YAML

type: array
description:
An array containing the runtime state of all logical interfaces.items
items:
type: object
properties:
location:
type: string
description:
The json-schema path within the configuration where this logical interface is located.
uptime:
type: number
description:
The number of seconds since the interface was brought up.
name:
type: string
description:
The administrative name of this logical interface. This field is
freetext
ntp_server:
type: string
description:
The upstream NTP server being used by this interface.
dns_servers:
type: array
description:
The list of remote DNS servers that this logical interface uses for
domain name resolution.
items:
type: string
ipv4:
$ref: "https://ucentral.io/state/v1/interface/ipv4/"
ipv6_addresses:
$ref: "https://ucentral.io/state/v1/interface/ipv6-address/"
ipv6_leases:
$ref: "https://ucentral.io/state/v1/interface/ipv6-lease/"
clients:
$ref: "https://ucentral.io/state/v1/interface/clients/"
counters:
$ref: "https://ucentral.io/state/v1/interface/counter/"
delta_counters:
$ref: "https://ucentral.io/state/v1/interface/counter/"
mesh-path:
$ref: "https://ucentral.io/state/v1/interface/mesh-path/"
ssids:
$ref: "https://ucentral.io/state/v1/interface/ssid/"