mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 06:25:34 +00:00
committed by
Tomek Mrugalski
parent
2703677d8a
commit
8ffc32fbb2
@@ -9,13 +9,14 @@
|
|||||||
" \"arguments\": {",
|
" \"arguments\": {",
|
||||||
" \"hw-address\": \"01:02:03:04:05:06\"",
|
" \"hw-address\": \"01:02:03:04:05:06\"",
|
||||||
" }"
|
" }"
|
||||||
|
"}"
|
||||||
],
|
],
|
||||||
"hook": "host_cache",
|
"hook": "host_cache",
|
||||||
"name": "cache-get-by-id",
|
"name": "cache-get-by-id",
|
||||||
"resp-syntax": [
|
"resp-syntax": [
|
||||||
"{",
|
"{",
|
||||||
" \"result\": 0",
|
" \"result\": 0,",
|
||||||
" \"text\": \"2 entries returned.\"",
|
" \"text\": \"2 entries returned.\",",
|
||||||
" \"arguments\": <list of host reservations>",
|
" \"arguments\": <list of host reservations>",
|
||||||
"}"
|
"}"
|
||||||
],
|
],
|
||||||
@@ -23,4 +24,4 @@
|
|||||||
"kea-dhcp4",
|
"kea-dhcp4",
|
||||||
"kea-dhcp6"
|
"kea-dhcp6"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -7,8 +7,8 @@
|
|||||||
"name": "cache-get",
|
"name": "cache-get",
|
||||||
"resp-syntax": [
|
"resp-syntax": [
|
||||||
"{",
|
"{",
|
||||||
" \"result\": 0",
|
" \"result\": 0,",
|
||||||
" \"text\": \"123 entries returned.\"",
|
" \"text\": \"123 entries returned.\",",
|
||||||
" \"arguments\": <list of host reservations>",
|
" \"arguments\": <list of host reservations>",
|
||||||
"}"
|
"}"
|
||||||
],
|
],
|
||||||
@@ -16,4 +16,4 @@
|
|||||||
"kea-dhcp4",
|
"kea-dhcp4",
|
||||||
"kea-dhcp6"
|
"kea-dhcp6"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -49,4 +49,4 @@
|
|||||||
"kea-dhcp4",
|
"kea-dhcp4",
|
||||||
"kea-dhcp6"
|
"kea-dhcp6"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -7,8 +7,8 @@
|
|||||||
"name": "cache-size",
|
"name": "cache-size",
|
||||||
"resp-syntax": [
|
"resp-syntax": [
|
||||||
"{",
|
"{",
|
||||||
" \"result\": 0",
|
" \"result\": 0,",
|
||||||
" \"text\": \"123 entries.\"",
|
" \"text\": \"123 entries.\",",
|
||||||
" \"arguments\": { \"size\": 123 }",
|
" \"arguments\": { \"size\": 123 }",
|
||||||
"}"
|
"}"
|
||||||
],
|
],
|
||||||
@@ -16,4 +16,4 @@
|
|||||||
"kea-dhcp4",
|
"kea-dhcp4",
|
||||||
"kea-dhcp6"
|
"kea-dhcp6"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
"resp-syntax": [
|
"resp-syntax": [
|
||||||
"{",
|
"{",
|
||||||
" \"result\": 0,",
|
" \"result\": 0,",
|
||||||
" \"text\": \"Class '<class-name>' added.\",",
|
" \"text\": \"Class '<class-name>' added.\"",
|
||||||
"}"
|
"}"
|
||||||
],
|
],
|
||||||
"support": [
|
"support": [
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
"resp-syntax": [
|
"resp-syntax": [
|
||||||
"{",
|
"{",
|
||||||
" \"result\": 0,",
|
" \"result\": 0,",
|
||||||
" \"text\": \"<number of> classes found\",",
|
" \"text\": \"'<number of>' classes found\",",
|
||||||
" \"arguments\": {",
|
" \"arguments\": {",
|
||||||
" \"client-classes\": [",
|
" \"client-classes\": [",
|
||||||
" {",
|
" {",
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
"resp-syntax": [
|
"resp-syntax": [
|
||||||
"{",
|
"{",
|
||||||
" \"result\": 0,",
|
" \"result\": 0,",
|
||||||
" \"text\": \"Class '<class-name>' updated.\",",
|
" \"text\": \"Class '<class-name>' updated.\"",
|
||||||
"}"
|
"}"
|
||||||
],
|
],
|
||||||
"support": [
|
"support": [
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
"{",
|
"{",
|
||||||
" \"result\": <integer>,",
|
" \"result\": <integer>,",
|
||||||
" \"arguments\": {",
|
" \"arguments\": {",
|
||||||
" <JSON configuration here, starting with Dhcp4, Dhcp6, or Control-agent object>",
|
" <Dhcp4, Dhcp6, or Control-agent object>: <JSON configuration here> ",
|
||||||
" }",
|
" }",
|
||||||
"}"
|
"}"
|
||||||
],
|
],
|
||||||
|
@@ -4,13 +4,13 @@
|
|||||||
"The config-set command instructs the server to replace its current configuration with the new configuration supplied in the command's arguments."
|
"The config-set command instructs the server to replace its current configuration with the new configuration supplied in the command's arguments."
|
||||||
],
|
],
|
||||||
"cmd-comment": [
|
"cmd-comment": [
|
||||||
"where `<server>` is the configuration element name for a given server such as \"Dhcp4\" or \"Dhcp6\""
|
"where '<server>' is the configuration element name for a given server such as \"Dhcp4\" or \"Dhcp6\""
|
||||||
],
|
],
|
||||||
"cmd-syntax": [
|
"cmd-syntax": [
|
||||||
"{",
|
"{",
|
||||||
" \"command\": \"config-set\",",
|
" \"command\": \"config-set\",",
|
||||||
" \"arguments\": {",
|
" \"arguments\": {",
|
||||||
" \"<server>\": {",
|
" \"'<server>'\": {",
|
||||||
" }",
|
" }",
|
||||||
" }",
|
" }",
|
||||||
"}"
|
"}"
|
||||||
@@ -18,11 +18,11 @@
|
|||||||
"description": "See <xref linkend=\"command-config-set\"/>",
|
"description": "See <xref linkend=\"command-config-set\"/>",
|
||||||
"name": "config-set",
|
"name": "config-set",
|
||||||
"resp-syntax": [
|
"resp-syntax": [
|
||||||
" {\"result\": 0, \"text\": \"Configuration successful.\" }",
|
"{\"result\": 0, \"text\": \"Configuration successful.\" }",
|
||||||
"",
|
"",
|
||||||
" or",
|
"or",
|
||||||
"",
|
"",
|
||||||
" {\"result\": 1, \"text\": \"unsupported parameter: BOGUS (<string>:16:26)\" }"
|
"{\"result\": 1, \"text\": \"unsupported parameter: BOGUS (<string>:16:26)\" }"
|
||||||
],
|
],
|
||||||
"support": [
|
"support": [
|
||||||
"kea-dhcp4",
|
"kea-dhcp4",
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
"{",
|
"{",
|
||||||
" \"command\": \"config-test\",",
|
" \"command\": \"config-test\",",
|
||||||
" \"arguments\": {",
|
" \"arguments\": {",
|
||||||
" \"<server>\": {",
|
" \"'<server>'\": {",
|
||||||
" }",
|
" }",
|
||||||
" }",
|
" }",
|
||||||
"}"
|
"}"
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
"resp-syntax": [
|
"resp-syntax": [
|
||||||
"{ \"result\": 0, \"text\": \"Configuration seems sane...\" }",
|
"{ \"result\": 0, \"text\": \"Configuration seems sane...\" }",
|
||||||
"",
|
"",
|
||||||
" or",
|
"or",
|
||||||
"",
|
"",
|
||||||
"{ \"result\": 1, \"text\": \"unsupported parameter: BOGUS (<string>:16:26)\" }"
|
"{ \"result\": 1, \"text\": \"unsupported parameter: BOGUS (<string>:16:26)\" }"
|
||||||
],
|
],
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
],
|
],
|
||||||
"cmd-syntax": [
|
"cmd-syntax": [
|
||||||
"{",
|
"{",
|
||||||
" \"command\": \"ha-heartbeat\",",
|
" \"command\": \"ha-heartbeat\"",
|
||||||
" }"
|
" }"
|
||||||
],
|
],
|
||||||
"description": "See <xref linkend=\"ha-server-states\"/>",
|
"description": "See <xref linkend=\"ha-server-states\"/>",
|
||||||
|
@@ -9,10 +9,11 @@
|
|||||||
"cmd-syntax": [
|
"cmd-syntax": [
|
||||||
"{",
|
"{",
|
||||||
" \"command\": \"ha-scopes\",",
|
" \"command\": \"ha-scopes\",",
|
||||||
" \"service\": [ <service, typically \"dhcp4\" or \"dhcp6\"> ],",
|
" \"service\": [ <service, typically 'dhcp4' or 'dhcp6'> ],",
|
||||||
" \"arguments\": {",
|
" \"arguments\": {",
|
||||||
" \"scopes\": [ \"HA_server1\", \"HA_server2\" ]",
|
" \"scopes\": [ \"HA_server1\", \"HA_server2\" ]",
|
||||||
" }"
|
" }"
|
||||||
|
"}"
|
||||||
],
|
],
|
||||||
"description": "See <xref linkend=\"command-ha-scopes\"/>",
|
"description": "See <xref linkend=\"command-ha-scopes\"/>",
|
||||||
"hook": "high_availability",
|
"hook": "high_availability",
|
||||||
@@ -21,4 +22,4 @@
|
|||||||
"kea-dhcp4",
|
"kea-dhcp4",
|
||||||
"kea-dhcp6"
|
"kea-dhcp6"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
"cmd-syntax": [
|
"cmd-syntax": [
|
||||||
"{",
|
"{",
|
||||||
" \"command\": \"ha-sync\",",
|
" \"command\": \"ha-sync\",",
|
||||||
" \"service\": [ <service affected: \"dhcp4\" or \"dhcp6\" ],",
|
" \"service\": [ <service affected: 'dhcp4' or 'dhcp6'> ],",
|
||||||
" \"arguments\": {",
|
" \"arguments\": {",
|
||||||
" \"server-name\": <name of the partner server>,",
|
" \"server-name\": <name of the partner server>,",
|
||||||
" \"max-period\": <integer, in seconds>",
|
" \"max-period\": <integer, in seconds>",
|
||||||
|
@@ -21,4 +21,4 @@
|
|||||||
"support": [
|
"support": [
|
||||||
"kea-dhcp4"
|
"kea-dhcp4"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
],
|
],
|
||||||
"cmd-syntax": [
|
"cmd-syntax": [
|
||||||
"{",
|
"{",
|
||||||
" \"command\": \"lease4-get-all\"",
|
" \"command\": \"lease4-get-all\",",
|
||||||
" \"arguments\": \"subnets\"",
|
" \"arguments\": \"subnets\"",
|
||||||
"}"
|
"}"
|
||||||
],
|
],
|
||||||
@@ -18,4 +18,4 @@
|
|||||||
"support": [
|
"support": [
|
||||||
"kea-dhcp4"
|
"kea-dhcp4"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
"name": "lease6-add",
|
"name": "lease6-add",
|
||||||
"resp-syntax": [
|
"resp-syntax": [
|
||||||
"{ \"result\": 0, \"text\": \"Lease added.\" }",
|
"{ \"result\": 0, \"text\": \"Lease added.\" }",
|
||||||
" or ",
|
"or",
|
||||||
"{ \"result\": 1, \"text\": \"missing parameter 'ip-address' (<string>:3:19)\" }"
|
"{ \"result\": 1, \"text\": \"missing parameter 'ip-address' (<string>:3:19)\" }"
|
||||||
],
|
],
|
||||||
"support": [
|
"support": [
|
||||||
|
@@ -48,7 +48,7 @@
|
|||||||
" {",
|
" {",
|
||||||
" {",
|
" {",
|
||||||
" \"result\": 0,",
|
" \"result\": 0,",
|
||||||
" \"text\": IPv6 leases bulk apply completed.",
|
" \"text\": \"IPv6 leases bulk apply completed.\",",
|
||||||
" \"arguments\": {",
|
" \"arguments\": {",
|
||||||
" \"failed-deleted-leases\": [",
|
" \"failed-deleted-leases\": [",
|
||||||
" {",
|
" {",
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
" {",
|
" {",
|
||||||
" \"ip-address\": \"2001:db8:cafe::\",",
|
" \"ip-address\": \"2001:db8:cafe::\",",
|
||||||
" \"type\": \"IA_PD\",",
|
" \"type\": \"IA_PD\",",
|
||||||
" \"result\" <control result>,",
|
" \"result\": <control result>,",
|
||||||
" \"error-message\": <error message>",
|
" \"error-message\": <error message>",
|
||||||
" }",
|
" }",
|
||||||
" ]",
|
" ]",
|
||||||
|
@@ -40,8 +40,8 @@
|
|||||||
" // many other subnet specific details here",
|
" // many other subnet specific details here",
|
||||||
" },",
|
" },",
|
||||||
" {",
|
" {",
|
||||||
" \"id\": 6,",
|
|
||||||
" \"subnet\": \"192.0.3.0/31\",",
|
" \"subnet\": \"192.0.3.0/31\",",
|
||||||
|
" \"id\": 6,",
|
||||||
" // many other subnet specific details here",
|
" // many other subnet specific details here",
|
||||||
" }",
|
" }",
|
||||||
" ],",
|
" ],",
|
||||||
@@ -54,4 +54,4 @@
|
|||||||
"support": [
|
"support": [
|
||||||
"kea-dhcp4"
|
"kea-dhcp4"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -40,8 +40,8 @@
|
|||||||
" // many other subnet specific details here",
|
" // many other subnet specific details here",
|
||||||
" },",
|
" },",
|
||||||
" {",
|
" {",
|
||||||
" \"id\": 6,",
|
|
||||||
" \"subnet\": \"192.0.3.0/31\",",
|
" \"subnet\": \"192.0.3.0/31\",",
|
||||||
|
" \"id\": 6,",
|
||||||
" // many other subnet specific details here",
|
" // many other subnet specific details here",
|
||||||
" }",
|
" }",
|
||||||
" ],",
|
" ],",
|
||||||
@@ -54,4 +54,4 @@
|
|||||||
"support": [
|
"support": [
|
||||||
"kea-dhcp6"
|
"kea-dhcp6"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
],
|
],
|
||||||
"cmd-syntax": [
|
"cmd-syntax": [
|
||||||
"{",
|
"{",
|
||||||
" \"command\": \"remote-global-parameter4-set\"",
|
" \"command\": \"remote-global-parameter4-set\",",
|
||||||
" \"arguments\": {",
|
" \"arguments\": {",
|
||||||
" \"parameters\": {",
|
" \"parameters\": {",
|
||||||
" <first parameter name>: <first parameter value>,",
|
" <first parameter name>: <first parameter value>,",
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
" \"name\": <shared network name>",
|
" \"name\": <shared network name>",
|
||||||
" }",
|
" }",
|
||||||
" ],",
|
" ],",
|
||||||
" \"subnets-action\": \"keep\" | \"delete\",",
|
" \"subnets-action\": '<'keep' | 'delete'>',",
|
||||||
" \"remote\": {",
|
" \"remote\": {",
|
||||||
" <specification of the database to connect to>",
|
" <specification of the database to connect to>",
|
||||||
" }",
|
" }",
|
||||||
|
Reference in New Issue
Block a user