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>
This commit is contained in:
Belkacem Daheb 2023-07-26 09:20:32 +01:00 committed by Sami Kerola
parent 102d017ed5
commit 3d37ac0a2d
No known key found for this signature in database
GPG key ID: 0D46FEF7E61DBB46
8 changed files with 92 additions and 4 deletions

View file

@ -2,6 +2,9 @@
<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>