2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-02 23:15:20 +00:00

[#2434] document socket status in status-get

This commit is contained in:
Andrei Pavel
2022-07-21 13:09:12 +03:00
parent be66340902
commit a8033a9a5a
2 changed files with 12 additions and 3 deletions

View File

@@ -2081,7 +2081,7 @@ available.
The following is an example response to the ``status-get`` command, including The following is an example response to the ``status-get`` command, including
the HA status of two ``load-balancing`` servers: the HA status of two ``load-balancing`` servers:
:: .. code-block:: json
{ {
"result": 0, "result": 0,
@@ -2117,7 +2117,10 @@ the HA status of two ``load-balancing`` servers:
"multi-threading-enabled": true, "multi-threading-enabled": true,
"thread-pool-size": 4, "thread-pool-size": 4,
"packet-queue-size": 64, "packet-queue-size": 64,
"packet-queue-statistics": [ 0.2, 0.1, 0.1 ] "packet-queue-statistics": [ 0.2, 0.1, 0.1 ],
"sockets": {
"status": "ready"
}
} }
} }

View File

@@ -44,7 +44,13 @@
" \"multi-threading-enabled\": true,", " \"multi-threading-enabled\": true,",
" \"thread-pool-size\": 4,", " \"thread-pool-size\": 4,",
" \"packet-queue-size\": 64,", " \"packet-queue-size\": 64,",
" \"packet-queue-statistics\": [ 1.2, 2.3, 3.4 ]", " \"packet-queue-statistics\": [ 1.2, 2.3, 3.4 ],",
" \"sockets\": {",
" \"errors\": [",
" <error received during the last attempt to open all sockets>",
" ]",
" \"status\": <ready, retrying, or failed>",
" }",
" }", " }",
"}" "}"
], ],