" \"arguments\": {",
" \"hw-address\": \"01:02:03:04:05:06\"",
" }"
+ "}"
],
"hook": "host_cache",
"name": "cache-get-by-id",
"resp-syntax": [
"{",
- " \"result\": 0",
- " \"text\": \"2 entries returned.\"",
+ " \"result\": 0,",
+ " \"text\": \"2 entries returned.\",",
" \"arguments\": <list of host reservations>",
"}"
],
"kea-dhcp4",
"kea-dhcp6"
]
-}
\ No newline at end of file
+}
"name": "cache-get",
"resp-syntax": [
"{",
- " \"result\": 0",
- " \"text\": \"123 entries returned.\"",
+ " \"result\": 0,",
+ " \"text\": \"123 entries returned.\",",
" \"arguments\": <list of host reservations>",
"}"
],
"kea-dhcp4",
"kea-dhcp6"
]
-}
\ No newline at end of file
+}
"kea-dhcp4",
"kea-dhcp6"
]
-}
\ No newline at end of file
+}
"name": "cache-size",
"resp-syntax": [
"{",
- " \"result\": 0",
- " \"text\": \"123 entries.\"",
+ " \"result\": 0,",
+ " \"text\": \"123 entries.\",",
" \"arguments\": { \"size\": 123 }",
"}"
],
"kea-dhcp4",
"kea-dhcp6"
]
-}
\ No newline at end of file
+}
"resp-syntax": [
"{",
" \"result\": 0,",
- " \"text\": \"Class '<class-name>' added.\",",
+ " \"text\": \"Class '<class-name>' added.\"",
"}"
],
"support": [
"resp-syntax": [
"{",
" \"result\": 0,",
- " \"text\": \"<number of> classes found\",",
+ " \"text\": \"'<number of>' classes found\",",
" \"arguments\": {",
" \"client-classes\": [",
" {",
"resp-syntax": [
"{",
" \"result\": 0,",
- " \"text\": \"Class '<class-name>' updated.\",",
+ " \"text\": \"Class '<class-name>' updated.\"",
"}"
],
"support": [
"{",
" \"result\": <integer>,",
" \"arguments\": {",
- " <JSON configuration here, starting with Dhcp4, Dhcp6, or Control-agent object>",
+ " <Dhcp4, Dhcp6, or Control-agent object>: <JSON configuration here> ",
" }",
"}"
],
"The config-set command instructs the server to replace its current configuration with the new configuration supplied in the command's arguments."
],
"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": [
"{",
" \"command\": \"config-set\",",
" \"arguments\": {",
- " \"<server>\": {",
+ " \"'<server>'\": {",
" }",
" }",
"}"
"description": "See <xref linkend=\"command-config-set\"/>",
"name": "config-set",
"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": [
"kea-dhcp4",
"{",
" \"command\": \"config-test\",",
" \"arguments\": {",
- " \"<server>\": {",
+ " \"'<server>'\": {",
" }",
" }",
"}"
"resp-syntax": [
"{ \"result\": 0, \"text\": \"Configuration seems sane...\" }",
"",
- " or",
+ "or",
"",
"{ \"result\": 1, \"text\": \"unsupported parameter: BOGUS (<string>:16:26)\" }"
],
],
"cmd-syntax": [
"{",
- " \"command\": \"ha-heartbeat\",",
+ " \"command\": \"ha-heartbeat\"",
" }"
],
"description": "See <xref linkend=\"ha-server-states\"/>",
"cmd-syntax": [
"{",
" \"command\": \"ha-scopes\",",
- " \"service\": [ <service, typically \"dhcp4\" or \"dhcp6\"> ],",
+ " \"service\": [ <service, typically 'dhcp4' or 'dhcp6'> ],",
" \"arguments\": {",
" \"scopes\": [ \"HA_server1\", \"HA_server2\" ]",
" }"
+ "}"
],
"description": "See <xref linkend=\"command-ha-scopes\"/>",
"hook": "high_availability",
"kea-dhcp4",
"kea-dhcp6"
]
-}
\ No newline at end of file
+}
"cmd-syntax": [
"{",
" \"command\": \"ha-sync\",",
- " \"service\": [ <service affected: \"dhcp4\" or \"dhcp6\" ],",
+ " \"service\": [ <service affected: 'dhcp4' or 'dhcp6'> ],",
" \"arguments\": {",
" \"server-name\": <name of the partner server>,",
" \"max-period\": <integer, in seconds>",
"support": [
"kea-dhcp4"
]
-}
\ No newline at end of file
+}
],
"cmd-syntax": [
"{",
- " \"command\": \"lease4-get-all\"",
+ " \"command\": \"lease4-get-all\",",
" \"arguments\": \"subnets\"",
"}"
],
"support": [
"kea-dhcp4"
]
-}
\ No newline at end of file
+}
"name": "lease6-add",
"resp-syntax": [
"{ \"result\": 0, \"text\": \"Lease added.\" }",
- " or ",
+ "or",
"{ \"result\": 1, \"text\": \"missing parameter 'ip-address' (<string>:3:19)\" }"
],
"support": [
" {",
" {",
" \"result\": 0,",
- " \"text\": IPv6 leases bulk apply completed.",
+ " \"text\": \"IPv6 leases bulk apply completed.\",",
" \"arguments\": {",
" \"failed-deleted-leases\": [",
" {",
" {",
" \"ip-address\": \"2001:db8:cafe::\",",
" \"type\": \"IA_PD\",",
- " \"result\" <control result>,",
+ " \"result\": <control result>,",
" \"error-message\": <error message>",
" }",
" ]",
" // many other subnet specific details here",
" },",
" {",
- " \"id\": 6,",
" \"subnet\": \"192.0.3.0/31\",",
+ " \"id\": 6,",
" // many other subnet specific details here",
" }",
" ],",
"support": [
"kea-dhcp4"
]
-}
\ No newline at end of file
+}
" // many other subnet specific details here",
" },",
" {",
- " \"id\": 6,",
" \"subnet\": \"192.0.3.0/31\",",
+ " \"id\": 6,",
" // many other subnet specific details here",
" }",
" ],",
"support": [
"kea-dhcp6"
]
-}
\ No newline at end of file
+}
],
"cmd-syntax": [
"{",
- " \"command\": \"remote-global-parameter4-set\"",
+ " \"command\": \"remote-global-parameter4-set\",",
" \"arguments\": {",
" \"parameters\": {",
" <first parameter name>: <first parameter value>,",
" \"name\": <shared network name>",
" }",
" ],",
- " \"subnets-action\": \"keep\" | \"delete\",",
+ " \"subnets-action\": '<'keep' | 'delete'>',",
" \"remote\": {",
" <specification of the database to connect to>",
" }",