DhcpServerControlCommands class final
#include <net/dhcps/control_commands.hpp>
Control adapter exposing DHCP server configuration and lease state.
The command family is rooted under /ip/dhcps and keeps DHCP-specific control logic inside the DHCP module rather than in generic control code.
Constructors, destructors, conversion operators
-
DhcpServerControlCommands(DhcpServerManager& manager,
std::span<cfg::
DhcpServerConfigSection*const> sections) - Creates command adapter over caller-owned DHCP manager and config sections.
Public functions
-
auto descriptors() const -> std::span<const prf::
control:: CommandDescriptor> - Returns static command descriptors registered by this module.