diff --git a/docs/formatnetwork.html.in b/docs/formatnetwork.html.in index f26909bec8..f5a48d9b92 100644 --- a/docs/formatnetwork.html.in +++ b/docs/formatnetwork.html.in @@ -930,8 +930,12 @@ </dns> <ip address="192.168.122.1" netmask="255.255.255.0" localPtr="yes"> <dhcp> - <range start="192.168.122.100" end="192.168.122.254"/> - <host mac="00:16:3e:77:e2:ed" name="foo.example.com" ip="192.168.122.10"/> + <range start="192.168.122.100" end="192.168.122.254"> + <lease expiry='1' unit='hours'/> + </range> + <host mac="00:16:3e:77:e2:ed" name="foo.example.com" ip="192.168.122.10"> + <lease expiry='30' unit='minutes'/> + </host> <host mac="00:16:3e:3e:a9:1a" name="bar.example.com" ip="192.168.122.11"/> </dhcp> </ip> @@ -1130,6 +1134,19 @@ since 0.7.3) + +

+ Optionally, range and host elements can + have lease child element which specifies the lease + time through it's attributes expiry and + unit (which accepts seconds, + minutes and hours and defaults to + minutes if omitted). The minimal lease time is 2 + minutes, except when setting an infinite lease time + (expiry='0'). + Since 6.3.0 +

+