mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
output: include earlier missing data to json output
This commit adds all the data that is in text output to json output. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
344ed2900d
commit
e079cc16e0
2 changed files with 40 additions and 10 deletions
|
|
@ -3,7 +3,7 @@
|
|||
{ "ip":"10.0.0.5", "macaddress":"00:00:00:00:00:00" }
|
||||
],
|
||||
"subnets": [
|
||||
{ "location":"All networks", "range":"10.0.0.1 - 10.0.0.10", "defined":10, "used":1, "touched":0, "free":9 }
|
||||
{ "location":"All networks", "range":"10.0.0.1 - 10.0.0.10", "defined":10, "used":1, "touched":0, "free":9, "percent":10, "touch_count":1, "touch_percent":10, "status":0 }
|
||||
],
|
||||
"shared-networks": [
|
||||
],
|
||||
|
|
@ -12,6 +12,10 @@
|
|||
"defined":10,
|
||||
"used":1,
|
||||
"touched":0,
|
||||
"free":9
|
||||
"free":9,
|
||||
"percent":10,
|
||||
"touch_count":1,
|
||||
"touch_percent":10,
|
||||
"status":0
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue