From: Suzanne Goldlust Date: Thu, 4 Oct 2018 19:15:51 +0000 (-0400) Subject: Add new file X-Git-Tag: 176-update-to-sysrepo-0-7-6-release_base~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d822ffde857a633b3f0a51c37ae34cca9671cac4;p=thirdparty%2Fkea.git Add new file --- diff --git a/doc/api/stat-lease6-get.json b/doc/api/stat-lease6-get.json new file mode 100644 index 0000000000..6967f4b275 --- /dev/null +++ b/doc/api/stat-lease6-get.json @@ -0,0 +1,29 @@ +{ + "name": "stat-lease6-get", + "brief": "The stat-lease6-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-lease6-get\", + \"arguments\": { + \"subnet-id\" : 10 + } +}", + "resp-syntax": "{ + \"result\": 0, + \"text\": \"stat-lease6-get: 2 rows found\", + \"arguments\": { + \"result-set\": { + \"columns\": [ \"subnet-id\", \"total-nas\", \"assigned-nas\", \"declined-nas\", \"total-pds\", \"assigned-pds\" ] + \"rows\": [ + [ 10, 4096, 2400, 3, 0, 0], + [ 20, 0, 0, 0, 1048, 233 ] + [ 30, 256, 60, 0, 1048, 15 ] + ], + \"timestamp\": \"2018-05-04 15:03:37.000000\" + } + } + }", +} \ No newline at end of file