mirror of
https://github.com/Telecominfraproject/wlan-ucentral-schema.git
synced 2026-01-27 18:23:32 +00:00
55 lines
1.5 KiB
YAML
55 lines
1.5 KiB
YAML
$id: https://openwrt.org/ucentral.state.json
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
description: OpenWrt uCentral state schema
|
|
type: object
|
|
properties:
|
|
version:
|
|
type: number
|
|
const: 1
|
|
uuid:
|
|
description:
|
|
The unique ID of the configuration. This is the unix timestamp of when the config was created.
|
|
type: integer
|
|
serial:
|
|
description:
|
|
The unique serial number of the device.
|
|
type: string
|
|
unit:
|
|
$ref: "https://ucentral.io/state/v1/unit/"
|
|
gps:
|
|
$ref: "https://ucentral.io/state/v1/gps/"
|
|
radios:
|
|
$ref: "https://ucentral.io/state/v1/radio/"
|
|
interfaces:
|
|
$ref: "https://ucentral.io/state/v1/interface/"
|
|
lldp-peers:
|
|
type: object
|
|
properties:
|
|
upstream:
|
|
type: object
|
|
patternProperties:
|
|
"^(eth|lan|wan)[0-9]*$":
|
|
$ref: "https://ucentral.io/state/v1/lldp-peers/"
|
|
downstream:
|
|
type: object
|
|
patternProperties:
|
|
"^(eth|lan|wan)[0-9]*$":
|
|
$ref: "https://ucentral.io/state/v1/lldp-peers/"
|
|
dynamic_vlans:
|
|
type: array
|
|
items:
|
|
$ref: "https://ucentral.io/state/v1/dynamic-vlan/"
|
|
link-state:
|
|
type: object
|
|
properties:
|
|
upstream:
|
|
type: object
|
|
patternProperties:
|
|
"^(eth|lan|wan)[0-9]*$":
|
|
$ref: "https://ucentral.io/state/v1/link-state/"
|
|
downstream:
|
|
type: object
|
|
patternProperties:
|
|
"^(eth|lan|wan)[0-9]*$":
|
|
$ref: "https://ucentral.io/state/v1/link-state/"
|