summaryrefslogtreecommitdiffstats
path: root/src/share/api/stat-lease4-get.json
blob: 5deb19655cae92e1d730ad7b10a1b62103f1fb39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
    "access": "read",
    "avail": "1.4.0",
    "brief": [
        "This command fetches lease statistics for a range of known IPv4 subnets."
    ],
    "cmd-syntax": [
        "{",
        "  \"command\": \"stat-lease4-get\"",
        "}"
    ],
    "description": "See <xref linkend=\"command-stat-lease4-get\"/>",
    "hook": "stat_cmds",
    "name": "stat-lease4-get",
    "resp-syntax": [
        "{",
        "    \"result\": 0,",
        "    \"text\": \"stat-lease4-get: 2 rows found\",",
        "    \"arguments\": {",
        "      \"result-set\": {",
        "        \"columns\": [ \"subnet-id\",",
        "                       \"total-addresses\",",
        "                       \"cumulative-assigned-addresses\",",
        "                       \"assigned-addresses\",",
        "                       \"declined-addresses\" ],",
        "        \"rows\": [",
        "          [ 10, 256, 200, 111, 0 ],",
        "          [ 20, 4098, 5000, 2034, 4 ]",
        "        ],",
        "      \"timestamp\": \"2018-05-04 15:03:37.000000\"",
        "      }",
        "    }",
        "  }"
    ],
    "support": [
        "kea-dhcp4"
    ]
}