From 3d76d8f1a065b4865d1c2c5f9465c75a645e54ae Mon Sep 17 00:00:00 2001 From: Marcin Siodelski Date: Fri, 13 Dec 2019 16:03:05 +0100 Subject: [PATCH] [#1041] Updated docs about status-get Added new HA specific section too. --- doc/sphinx/api/status-get.json | 26 ++++++++++---- doc/sphinx/arm/ctrl-channel.rst | 21 +++++++----- doc/sphinx/arm/hooks-ha.rst | 60 +++++++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+), 15 deletions(-) diff --git a/doc/sphinx/api/status-get.json b/doc/sphinx/api/status-get.json index 2e7ffff8aa..c0dab8e717 100644 --- a/doc/sphinx/api/status-get.json +++ b/doc/sphinx/api/status-get.json @@ -1,7 +1,7 @@ { "avail": "1.7.3", "brief": [ - "This command returns server runtime information.", + "This command returns server's runtime information.", "It takes no arguments." ], "cmd-syntax": [ @@ -12,16 +12,28 @@ "description": "See ", "name": "status-get", "resp-comment": [ - "If the HA hook is loaded it adds HA servers info to the response." + "If the libdhcp_ha (High Availability) hooks library is loaded by the DHCP server receiving this command the response also includes the HA specific status information of the server receiving the command and its partner's status." ], "resp-syntax": [ "{", - " \"result\": 0,", + " \"result\": ,", " \"arguments\": {", - " \"pid\": 1234,", - " \"uptime\": 59,", - " \"reload\": 10,", - " ...", + " \"pid\": ,", + " \"uptime\": ,", + " \"reload\":