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:10 +0200 |
commit | 3c754695590b9d9e582c10e6d05c2b628e79262c (patch) | |
tree | 7a4b181e4c30873372b190b013f6aaff05a99b74 /src/conf_mode/https.py | |
parent | 0fb658509aea643693008cbbcd717121c8c5761a (diff) | |
download | vyos-1x-3c754695590b9d9e582c10e6d05c2b628e79262c.tar.gz vyos-1x-3c754695590b9d9e582c10e6d05c2b628e79262c.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
Diffstat (limited to 'src/conf_mode/https.py')
0 files changed, 0 insertions, 0 deletions