mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-29 21:18:02 +00:00
parent
295f81cb1f
commit
71ec70431f
@ -45,28 +45,26 @@
|
||||
"The \"failed-deleted-leases\" holds the list of leases which failed to delete. This includes leases which were not found in the database. The \"failed-leases\" includes the list of leases which failed to create or update. For each lease for which there was an error during processing, inserting it into the database, etc., the result is set to 1. For each lease which was not deleted because the server did not find it in the database, the result of 3 is returned."
|
||||
],
|
||||
"resp-syntax": [
|
||||
" {",
|
||||
" {",
|
||||
" \"result\": 0,",
|
||||
" \"text\": \"IPv6 leases bulk apply completed.\",",
|
||||
" \"arguments\": {",
|
||||
" \"failed-deleted-leases\": [",
|
||||
" {",
|
||||
" \"ip-address\": \"2001:db8:abcd::\",",
|
||||
" \"type\": \"IA_PD\",",
|
||||
" \"result\": <control result>,",
|
||||
" \"error-message\": <error message>",
|
||||
" }",
|
||||
" ],",
|
||||
" \"failed-leases\": [",
|
||||
" {",
|
||||
" \"ip-address\": \"2001:db8:cafe::\",",
|
||||
" \"type\": \"IA_PD\",",
|
||||
" \"result\": <control result>,",
|
||||
" \"error-message\": <error message>",
|
||||
" }",
|
||||
" ]",
|
||||
" }",
|
||||
"{",
|
||||
" \"result\": 0,",
|
||||
" \"text\": \"IPv6 leases bulk apply completed.\",",
|
||||
" \"arguments\": {",
|
||||
" \"failed-deleted-leases\": [",
|
||||
" {",
|
||||
" \"ip-address\": \"2001:db8:abcd::\",",
|
||||
" \"type\": \"IA_PD\",",
|
||||
" \"result\": <control result>,",
|
||||
" \"error-message\": <error message>",
|
||||
" }",
|
||||
" ],",
|
||||
" \"failed-leases\": [",
|
||||
" {",
|
||||
" \"ip-address\": \"2001:db8:cafe::\",",
|
||||
" \"type\": \"IA_PD\",",
|
||||
" \"result\": <control result>,",
|
||||
" \"error-message\": <error message>",
|
||||
" }",
|
||||
" ]",
|
||||
" }",
|
||||
"}"
|
||||
],
|
||||
|
@ -15,7 +15,7 @@
|
||||
" \"name\": <shared network name>",
|
||||
" }",
|
||||
" ],",
|
||||
" \"subnets-action\": '<'keep' | 'delete'>',",
|
||||
" \"subnets-action\": <'keep' | 'delete'>,",
|
||||
" \"remote\": {",
|
||||
" <specification of the database to connect to>",
|
||||
" }",
|
||||
|
@ -15,7 +15,7 @@
|
||||
" \"name\": <shared network name>",
|
||||
" }",
|
||||
" ],",
|
||||
" \"subnets-include\": \"full\" | \"no\",",
|
||||
" \"subnets-include\": <'full' | 'no'>,",
|
||||
" \"remote\": {",
|
||||
" <specification of the database to connect to>",
|
||||
" }",
|
||||
|
@ -15,7 +15,7 @@
|
||||
" \"name\": <shared network name>",
|
||||
" }",
|
||||
" ],",
|
||||
" \"subnets-action\": \"keep\" | \"delete\",",
|
||||
" \"subnets-action\": <'keep' | 'delete'>,",
|
||||
" \"remote\": {",
|
||||
" <specification of the database to connect to>",
|
||||
" }",
|
||||
|
@ -15,7 +15,7 @@
|
||||
" \"name\": <shared network name>",
|
||||
" }",
|
||||
" ],",
|
||||
" \"subnets-include\": \"full\" | \"no\",",
|
||||
" \"subnets-include\": <'full' | 'no'>,",
|
||||
" \"remote\": {",
|
||||
" <specification of the database to connect to>",
|
||||
" }",
|
||||
|
@ -12,7 +12,7 @@
|
||||
" \"arguments\": {",
|
||||
" \"option-defs\": [ {",
|
||||
" \"code\": <option code>,",
|
||||
" \"space\": <option space",
|
||||
" \"space\": <option space>",
|
||||
" } ],",
|
||||
" \"remote\": {",
|
||||
" <specification of the database to connect to>",
|
||||
|
@ -12,7 +12,7 @@
|
||||
" \"arguments\": {",
|
||||
" \"option-defs\": [ {",
|
||||
" \"code\": <option code>,",
|
||||
" \"space\": <option space",
|
||||
" \"space\": <option space>",
|
||||
" } ],",
|
||||
" \"remote\": {",
|
||||
" <specification of the database to connect to>",
|
||||
|
@ -13,7 +13,7 @@
|
||||
" \"options\": [",
|
||||
" {",
|
||||
" \"code\": <option code>,",
|
||||
" \"space\": <option space>,",
|
||||
" \"space\": <option space>",
|
||||
" }",
|
||||
" ],",
|
||||
" \"remote\": {",
|
||||
|
@ -20,6 +20,7 @@
|
||||
" <specification of the database to connect to>",
|
||||
" },",
|
||||
" \"server-tags\": [ <single server tag as string> ]",
|
||||
" }",
|
||||
"}"
|
||||
],
|
||||
"hook": "cb_cmds",
|
||||
|
@ -13,7 +13,7 @@
|
||||
" \"options\": [",
|
||||
" {",
|
||||
" \"code\": <option code>,",
|
||||
" \"space\": <option space>,",
|
||||
" \"space\": <option space>",
|
||||
" }",
|
||||
" ],",
|
||||
" \"remote\": {",
|
||||
|
@ -20,6 +20,7 @@
|
||||
" <specification of the database to connect to>",
|
||||
" },",
|
||||
" \"server-tags\": [ <single server tag as string> ]",
|
||||
" }"
|
||||
"}"
|
||||
],
|
||||
"hook": "cb_cmds",
|
||||
|
@ -29,7 +29,7 @@
|
||||
"resp-syntax": [
|
||||
"{",
|
||||
" \"result\": 0,",
|
||||
" \"text\": \"DHCP server <server tag> found.\",",
|
||||
" \"text\": \"DHCP server 'server tag' found.\",",
|
||||
" \"arguments\": {",
|
||||
" \"servers\": [",
|
||||
" {",
|
||||
@ -44,4 +44,4 @@
|
||||
"support": [
|
||||
"kea-dhcp4"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -29,7 +29,7 @@
|
||||
"resp-syntax": [
|
||||
"{",
|
||||
" \"result\": 0,",
|
||||
" \"text\": \"DHCP server <server tag> found.\",",
|
||||
" \"text\": \"DHCP server 'server tag' found.\",",
|
||||
" \"arguments\": {",
|
||||
" \"servers\": [",
|
||||
" {",
|
||||
@ -44,4 +44,4 @@
|
||||
"support": [
|
||||
"kea-dhcp6"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,7 @@
|
||||
" \"arguments\": {",
|
||||
" \"reservation\": {",
|
||||
" \"boot-file-name\": <string>,",
|
||||
" \"comment\": <string>",
|
||||
" \"comment\": <string>,",
|
||||
" \"client-id\": <string>,",
|
||||
" \"circuit-id\": <string>,",
|
||||
" \"duid\": <string>,",
|
||||
@ -32,7 +32,7 @@
|
||||
" \"reservation-client-classes\": [ <comma separated strings> ],",
|
||||
" \"server-hostname\": <string>,",
|
||||
" \"subnet-id\": <integer>,",
|
||||
" \"user-context\": <any valid JSON>,",
|
||||
" \"user-context\": <any valid JSON>",
|
||||
" }",
|
||||
" }",
|
||||
"}"
|
||||
|
@ -12,7 +12,7 @@
|
||||
" \"arguments\": {",
|
||||
" \"subnet-id\": <integer>,",
|
||||
" \"ip-address\": <string>,",
|
||||
" \"identifier-type\": <one of \"hw-address\", \"duid\", \"circuit-id\", \"client-id\" and \"flex-id\">,",
|
||||
" \"identifier-type\": <one of 'hw-address', 'duid', 'circuit-id', 'client-id' and 'flex-id'>,",
|
||||
" \"identifier\": <string>",
|
||||
" }",
|
||||
"}"
|
||||
@ -23,4 +23,4 @@
|
||||
"kea-dhcp4",
|
||||
"kea-dhcp6"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
" \"command\": \"reservation-get-all\",",
|
||||
" \"arguments\": {",
|
||||
" \"subnet-id\": <integer>",
|
||||
" }"
|
||||
"}"
|
||||
],
|
||||
"hook": "host_cmds",
|
||||
@ -19,4 +20,4 @@
|
||||
"kea-dhcp4",
|
||||
"kea-dhcp6"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
" \"command\": \"reservation-get\",",
|
||||
" \"arguments\": {",
|
||||
" \"subnet-id\": <integer>,",
|
||||
" \"identifier-type\": <one of \"hw-address\", \"duid\", \"circuit-id\", \"client-id\" and \"flex-id\">,",
|
||||
" \"identifier\": <string>;",
|
||||
" \"identifier-type\": <one of 'hw-address', 'duid', 'circuit-id', 'client-id' and 'flex-id'>,",
|
||||
" \"identifier\": <string>",
|
||||
" }",
|
||||
"}"
|
||||
],
|
||||
|
@ -23,7 +23,7 @@
|
||||
" \"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 ]",
|
||||
" [ 20, 0, 0, 0, 1048, 233 ],",
|
||||
" [ 30, 256, 60, 0, 1048, 15 ]",
|
||||
" ],",
|
||||
" \"timestamp\": \"2018-05-04 15:03:37.000000\"",
|
||||
|
@ -19,19 +19,20 @@
|
||||
" \"result\": 0,",
|
||||
" \"text\": \"2 IPv4 subnets found\",",
|
||||
" \"arguments\": {",
|
||||
" \"subnets\": [",
|
||||
" {",
|
||||
" \"id\": 10,",
|
||||
" \"subnet\": \"10.0.0.0/8\"",
|
||||
" },",
|
||||
" {",
|
||||
" \"id\": 100,",
|
||||
" \"subnet\": \"192.0.2.0/24\"",
|
||||
" }",
|
||||
" ]",
|
||||
" \"subnets\": [",
|
||||
" {",
|
||||
" \"id\": 10,",
|
||||
" \"subnet\": \"10.0.0.0/8\"",
|
||||
" },",
|
||||
" {",
|
||||
" \"id\": 100,",
|
||||
" \"subnet\": \"192.0.2.0/24\"",
|
||||
" }",
|
||||
" ]",
|
||||
" }",
|
||||
"}"
|
||||
],
|
||||
"support": [
|
||||
"kea-dhcp4"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -19,19 +19,20 @@
|
||||
" \"result\": 0,",
|
||||
" \"text\": \"2 IPv6 subnets found\",",
|
||||
" \"arguments\": {",
|
||||
" \"subnets\": [",
|
||||
" {",
|
||||
" \"id\": 11,",
|
||||
" \"subnet\": \"2001:db8:1::/64\"",
|
||||
" },",
|
||||
" {",
|
||||
" \"id\": 233,",
|
||||
" \"subnet\": \"3000::/16\"",
|
||||
" }",
|
||||
" ]",
|
||||
" \"subnets\": [",
|
||||
" {",
|
||||
" \"id\": 11,",
|
||||
" \"subnet\": \"2001:db8:1::/64\"",
|
||||
" },",
|
||||
" {",
|
||||
" \"id\": 233,",
|
||||
" \"subnet\": \"3000::/16\"",
|
||||
" }",
|
||||
" ]",
|
||||
" }",
|
||||
"}"
|
||||
],
|
||||
"support": [
|
||||
"kea-dhcp6"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user