mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 16:26:59 +00:00
In short it gets these parameters and prints them in json and xml formats. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
24 lines
479 B
Text
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>
|