dhcpd-pools/tests/expected/same-twice-xml
Belkacem Daheb 3d37ac0a2d
add start, end and hostname printing support for xml and json
In short it gets these parameters and prints them in json and xml formats.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2023-08-15 22:17:38 +01:00

24 lines
479 B
Text

<dhcpstatus>
<active_lease>
<ip>10.0.0.5</ip>
<macaddress>00:00:00:00:00:00</macaddress>
<starts></starts>
<ends></ends>
<hostname></hostname>
</active_lease>
<subnet>
<location>All networks</location>
<range>10.0.0.1 - 10.0.0.10</range>
<defined>10</defined>
<used>1</used>
<touched>0</touched>
<free>9</free>
</subnet>
<summary>
<location>All networks</location>
<defined>10</defined>
<used>1</used>
<touched>0</touched>
<free>9</free>
</summary>
</dhcpstatus>