Files
ols-ucentral-schema/schema/interface.ipv4.dhcp-lease.yml
John Crispin 9585ababf7 schema: move over to the new schema/renderer
Signed-off-by: John Crispin <john@phrozen.org>
2021-05-14 10:39:10 +02:00

30 lines
759 B
YAML

description:
This section describes the static DHCP leases of this logical interface.
type: object
properties:
macaddr:
description:
The MAC address of the host that this lease shall be used for.
type: string
format: uc-mac
examples:
- 00:11:22:33:44:55
static-lease-offset:
description:
The offset of the IP that shall be used in relation to the first IP
in the available range.
type: integer
examples:
- 10
lease-time:
description:
How long the lease is valid before a RENEW muss ne issued.
type: string
format: uc-timeout
default: 6h
publish-hostname:
description:
Shall the hosts hostname be made available locally via DNS.
type: boolean
default: yes