summaryrefslogtreecommitdiff
path: root/src/conf_mode/nat.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-13 17:49:00 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-13 17:51:25 +0200
commitb0dd708e6e2fe3c488894141f120a013f43c897d (patch)
tree8d186ca27c8b390dad105c221bf113eecef930d6 /src/conf_mode/nat.py
parent78d375a3a354b0cc93bdfc36fd828c691f9ccb56 (diff)
downloadvyos-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 'src/conf_mode/nat.py')
0 files changed, 0 insertions, 0 deletions