Type: object

OpenWrt uSync schema

Type: integer

Type: array of object

Network Configuration

Each item of this array must be:

Type: object

This section allows you to configure your networks.

Type: enum (of string)

This defines if the network interface shall be bridged directly with the WAN side or shall be NAT'ed out from LAN.

Must be one of:

  • "wan"
  • "lan"
  • "nat"
  • "guest"

Type: number

The VID that shall be assign to packets leaving this network interface.

Value must be greater or equal to 16 and lesser or equal to 4095

Type: string

This option allows us to override the uci naming for NAT and guest networks.

Type: object

Type: enum (of string)

The configuration that shall be run on the network interface.

Must be one of:

  • "none"
  • "dhcp"
  • "static"

Type: string

The IPv4 address that shall be assigned to the network interface.

Type: string

The IPv4 netmask that shall be assigned to the network interface.

Type: string

The IPv4 gateway that shall be assigned to the network interface.

Type: string

The IPv4 DNS server that shall be assigned to the network interface.

Type: number

The MTU that shall be used by the network interface.

Value must be greater or equal to 256 and lesser or equal to 65535

Type: number

This option allows use to disable a network interface.

Value must be greater or equal to 0 and lesser or equal to 1

Type: number

The prefix delegation mask that the interface shall use.

Value must be greater or equal to 0 and lesser or equal to 96

Type: object

The DHCP configuration of the network interface.

Type: number

This defines which number shall be used as the first leasable IP address.

Value must be greater or equal to 1 and lesser or equal to 254

Type: number

This defines how many leasable IP addresses are available.

Value must be greater or equal to 10

Type: string

This defines how many hours the leases should be valid for. (12h, 30m, ...)

Type: array of object

A list of static dhcp leases assigned to the interface.

Each item of this array must be:

Type: object

Type: string

The IP address used by this static lease.

Type: string

The MAC address used by this static lease.

Type: string

The hostname address used by this static lease.

Type: array of object

Each item of this array must be:

Type: object

Type: enum (of string)

Must be one of:

  • "2"
  • "5"
  • "5u"
  • "5l"
  • "6"

Type: object

Type: number

Value must be greater or equal to 50 and lesser or equal to 200

Type: enum (of integer)

Must be one of:

  • 5
  • 10
  • 20

Type: number

Value must be greater or equal to 0 and lesser or equal to 171

Type: string

Must be at least 2 characters long

Must be at most 2 characters long

Type: number

Value must be greater or equal to 0 and lesser or equal to 1

Type: enum (of string)

Must be one of:

  • "NOHT"
  • "HT20"
  • "HT40"
  • "HT40+"
  • "HT40-"
  • "VHT20"
  • "VHT40"
  • "VHT80"
  • "VHT160"
  • "HE20"
  • "HE40"
  • "HE80"
  • "HE160"

Type: enum (of string)

Must be one of:

  • "11a"
  • "11g"

Type: number

Value must be greater or equal to 0 and lesser or equal to 1

Type: enum (of string)

Must be one of:

  • "g"
  • "n"
  • "ac"
  • "ax"

Type: number

Value must be greater or equal to 0 and lesser or equal to 255

Type: number

Value must be greater or equal to 0 and lesser or equal to 255

Type: number

Value must be greater or equal to 0 and lesser or equal to 30

Type: array of object

This is a list of all our SSIDs that shall be configured. Mapping of PHY/SSID is done via the "band" property.

Each item of this array must be:

Type: object

Type: array

The list of wifi bands that the SSID should be broadcasted on. This value can be [ 2, 5, 5l, 5u, 6 ].

Type: object

Type: string

Type: number

Value must be greater or equal to 0 and lesser or equal to 1

Type: string

Must be at least 17 characters long

Must be at most 17 characters long

Type: number

Value must be greater or equal to 1 and lesser or equal to 255

Type: enum (of string)

Must be one of:

  • "none"
  • "psk"
  • "psk2"
  • "psk-mixed"
  • "wpa"
  • "wpa2"
  • "wpa-mixed"

Type: number

Value must be greater or equal to 0 and lesser or equal to 1

Type: number

Value must be greater or equal to 0 and lesser or equal to 1

Type: number

Value must be greater or equal to 0 and lesser or equal to 1

Type: number

Value must be greater or equal to 0 and lesser or equal to 1

Type: number

Value must be greater or equal to 0 and lesser or equal to 1

Type: number

Value must be greater or equal to 0 and lesser or equal to 1

Type: number

Value must be greater or equal to 0 and lesser or equal to 1

Type: number

Value must be greater or equal to 0 and lesser or equal to 1

Type: string

Must be at least 8 characters long

Must be at most 63 characters long

Type: string

Type: enum (of string)

Must be one of:

  • "ap"

Type: string

Type: number

Value must be greater or equal to 1024 and lesser or equal to 65535

Type: number

Value must be greater or equal to 1 and lesser or equal to 65535

Type: string

Type: string

Must be at least 1 characters long

Must be at most 32 characters long

Type: number

Value must be greater or equal to 0 and lesser or equal to 1

Type: object

Type: string

This allows you to change the hostname of the device.

Type: string

This allows you to change the TZ of the device.

Type: object

Type: string

IP address of a syslog server to which the log messages should be sent in addition to the local destination.

Type: number

Port number of the remote syslog server specified with log_ip.

Value must be greater or equal to 100 and lesser or equal to 65535

Type: enum (of string)

Sets the protocol to use for the connection, either tcp or udp.

Must be one of:

  • "tcp"
  • "udp"

Type: string

Hostname to send to remote syslog. If none is provided, the actual hostname is send.

Type: number

Size of the file based log buffer in KiB. This value is used as the fallback value for logbuffersize if the latter is not specified.

Value must be greater or equal to 32

Type: object

Type: number

Enable this option to tell the unit that it shall get its time from an upstream NTP server. The servers are defined by the attribute.

Value must be greater or equal to 0 and lesser or equal to 1

Type: number

Enable this option if you would like the unit to enable a downstream NTP server for its connected clients.

Value must be greater or equal to 0 and lesser or equal to 1

Type: array

This is an array of URL/IP of the upstream NTP servers that the unit shall use to acquire its current time.

Type: object

Type: number

Enable this option if you would like to enable the SSH server on the unit.

Value must be greater or equal to 0 and lesser or equal to 1

Type: number

This option defines which port the SSH server shall be available on.

Value must be greater or equal to 1 and lesser or equal to 65535