%PDF- %PDF-
| Direktori : /backups/router/usr/local/share/kea/api/ |
| Current File : //backups/router/usr/local/share/kea/api/lease6-get-page.json |
{
"access": "read",
"avail": "1.5.0",
"brief": [
"This command retrieves all IPv6 leases by page."
],
"cmd-comment": [
"The from address and the page size limit are mandatory."
],
"cmd-syntax": [
"{",
" \"command\": \"lease6-get-page\",",
" \"arguments\": {",
" \"limit\": <integer>,",
" \"from\": <IPv6 address or 'start'>",
" }",
"}"
],
"resp-comment": [
"Result 0 is returned when at least one lease is found, 1 when parameters are malformed or missing,",
"3 is returned if no leases are found."
],
"resp-syntax": [
" {",
" \"arguments\": {",
" \"leases\": [",
" {",
" \"cltt\": 1600439560,",
" \"duid\": \"00:01:00:01:26:f7:81:88:00:0c:01:02:03:04\",",
" \"fqdn-fwd\": false,",
" \"fqdn-rev\": false,",
" \"hostname\": \"foo.example.org\",",
" \"hw-address\": \"00:0c:01:02:03:04\",",
" \"iaid\": 1,",
" \"ip-address\": \"2001:db8:1::1\",",
" \"preferred-lft\": 3000,",
" \"state\": 0,",
" \"subnet-id\": 1,",
" \"type\": \"IA_NA\",",
" \"valid-lft\": 4000",
" },",
" {",
" \"cltt\": 1600439570,",
" \"duid\": \"00:01:00:01:26:f7:81:88:00:0c:01:02:03:05\",",
" \"fqdn-fwd\": false,",
" \"fqdn-rev\": false,",
" \"hostname\": \"bar.example.org\",",
" \"hw-address\": \"00:0c:01:02:03:05\",",
" \"iaid\": 1,",
" \"ip-address\": \"2001:db8:1::2\",",
" \"preferred-lft\": 3000,",
" \"state\": 0,",
" \"subnet-id\": 1,",
" \"type\": \"IA_NA\",",
" \"valid-lft\": 4000",
" }",
" ]",
" },",
" \"result\": 0,",
" \"text\": \"1 IPv6 lease(s) found.\"",
"}"
],
"hook": "lease_cmds",
"name": "lease6-get-page",
"support": [
"kea-dhcp6"
]
}