diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-13 17:49:00 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-13 17:51:25 +0200 |
commit | b0dd708e6e2fe3c488894141f120a013f43c897d (patch) | |
tree | 8d186ca27c8b390dad105c221bf113eecef930d6 /LICENSE.GPL | |
parent | 78d375a3a354b0cc93bdfc36fd828c691f9ccb56 (diff) | |
download | vyos-1x-b0dd708e6e2fe3c488894141f120a013f43c897d.tar.gz vyos-1x-b0dd708e6e2fe3c488894141f120a013f43c897d.zip |
dhcp-server: T3544: test newly rendered configuration before restarting daemon
The current DHCP server implementation comes with options (see below) which
allow the user to pass in any arbitrary option(s) in a verbatim way which will
manifest in dhcpd.conf.
The options are:
* set service dhcp-server global-parameters
* set service dhcp-server shared-network-name foo shared-network-parameters
* set service dhcp-server shared-network-name foo subnet 192.0.2.0/25
subnet-parameters
* set service dhcp-server shared-network-name foo subnet 192.0.2.0/25
static-mapping ff static-mapping-parameters
Having an invalid configuration will yield:
vyos@vyos# commit
[ service dhcp-server ]
Configuration file errors encountered - check your options!
[[service dhcp-server]] failed
(cherry picked from commit 3c754695590b9d9e582c10e6d05c2b628e79262c)
Diffstat (limited to 'LICENSE.GPL')
0 files changed, 0 insertions, 0 deletions