Files
infix/doc
Joachim Wiberg cb5d804a88 confd: add dhcp-server validation of address pool and/or static host
A valid DHCP server setup for a subnet is one of pool and/or at least one
static host entry/lease.  If pool is enabled the pool must have a start
and an end address.

To allow setting up a DHCP server with no pool and at least one static host
entry/lease, we make the pool a presence container, otherwise the pool will
always be set and trigger the below inference.

When an interactive CLI/Web user enables the address pool we infer a default
range .100-.250, but only for /24, C-class networks.  This is what most users
know and expect.

The YANG model now validates that:
- If an address pool is created, both start-address and end-address must be set
- Each subnet must have either a pool or at least one static host entry
- The pool container is now a presence container, so "no pool" fully deletes it

Fixes #1121

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2025-10-28 19:34:53 +01:00
..
2025-10-10 15:14:12 +02:00
2025-07-30 14:58:11 +02:00
2025-10-10 15:14:12 +02:00
2025-10-10 15:14:12 +02:00
2025-09-01 11:05:36 +02:00
2025-09-01 11:05:36 +02:00
2023-08-16 13:52:04 +02:00
2024-10-23 13:47:30 +02:00
2025-02-17 14:31:30 +01:00
2025-06-19 15:23:31 +02:00

Infix - Linux <3 NETCONF

Welcome to Infix, your immutable, friendly, and secure operating system! On these pages you can find both user and developer documentation.

Most topics on configuring the system include CLI examples, but every setting, as well as status read-back from the operational datastore, is also possible to perform using NETCONF or RESTCONF. In fact, the Infix regression test system solely relies on NETCONF and RESTCONF.

Tip

The CLI documentation is also available from inside the CLI itself using the help command in admin-exec mode.