From: Suzanne Goldlust Date: Thu, 4 Oct 2018 19:02:41 +0000 (-0400) Subject: Add new file X-Git-Tag: 176-update-to-sysrepo-0-7-6-release_base~104 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=bc87da6f542acc90729be146d59570bbd82b54f2;p=thirdparty%2Fkea.git Add new file --- diff --git a/doc/api/stat-lease4-get.json b/doc/api/stat-lease4-get.json new file mode 100644 index 0000000000..3aac547227 --- /dev/null +++ b/doc/api/stat-lease4-get.json @@ -0,0 +1,25 @@ +{ + "name": "stat-lease4-get", + "brief": "The stat-lease4-get command fetches lease statistics for a range of known subnets.", + "description": "See ", + "support": [ "kea-dhcp4", "kea-dhcp6" ], + "avail": "1.4.0", + "hook": "stat_cmds", + "cmd-syntax": "{ + \"command\": \"stat-lease4-get\" +}", + "resp-syntax": "{ + \"result\": 0, + \"text\": \"stat-lease4-get: 2 rows found\", + \"arguments\": { + \"result-set\": { + \"columns\": [ \"subnet-id\", \"total-addresses\", \"assigned-addresses\", \"declined-addresses\" ] + \"rows\": [ + [ 10, 256, 111, 0 ], + [ 20, 4098, 2034, 4 ] + ], + \"timestamp\": \"2018-05-04 15:03:37.000000\" + } + } + }", +} \ No newline at end of file