mirror of
https://github.com/Telecominfraproject/ols-ucentral-schema.git
synced 2025-10-29 01:02:20 +00:00
Remove the AP specific elements of the schema (configuration), and state (reporting) Remove the ucode files that are not used Regenerate the json and documentation files to reflect schema and state changes Signed-off-by: Mike Hansen <mike.hansen@netexperience.com>
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
$id: https://openwrt.org/ucentral.schema.json
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
description: OpenWrt uCentral schema
|
|
type: object
|
|
properties:
|
|
strict:
|
|
description:
|
|
The device will reject any configuration that causes warnings if strict mode is enabled.
|
|
type: boolean
|
|
default: false
|
|
uuid:
|
|
description:
|
|
The unique ID of the configuration. This is the unix timestamp of when the config was created.
|
|
type: integer
|
|
public_ip_lookup:
|
|
description:
|
|
The fqdn to retrieve public ip of internet connection.
|
|
type: string
|
|
format: uc-fqdn
|
|
unit:
|
|
$ref: "https://ucentral.io/schema/v1/unit/"
|
|
globals:
|
|
$ref: "https://ucentral.io/schema/v1/globals/"
|
|
ethernet:
|
|
type: array
|
|
items:
|
|
$ref: "https://ucentral.io/schema/v1/ethernet/"
|
|
switch:
|
|
$ref: "https://ucentral.io/schema/v1/switch/"
|
|
interfaces:
|
|
type: array
|
|
items:
|
|
$ref: "https://ucentral.io/schema/v1/interface/"
|
|
services:
|
|
$ref: "https://ucentral.io/schema/v1/service/"
|
|
metrics:
|
|
$ref: "https://ucentral.io/schema/v1/metrics/"
|
|
config-raw:
|
|
$ref: "https://ucentral.io/schema/v1/config-raw/"
|
|
third-party:
|
|
type: object
|
|
additionalProperties: true
|