]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Fixed server-tag-get docs
authorTomek Mrugalski <tomasz@isc.org>
Mon, 19 Aug 2019 15:00:35 +0000 (17:00 +0200)
committerTomek Mrugalski <tomek@isc.org>
Mon, 19 Aug 2019 18:42:39 +0000 (14:42 -0400)
doc/sphinx/api/server-tag-get.json
doc/sphinx/arm/config-backend.rst

index 54d74a1e80dfcf9ced8a246896206e7620a068fd..c1efc5dd689ae652890c012635570c2e52a3a073 100644 (file)
@@ -1,7 +1,10 @@
 {
     "avail": "1.6.0",
     "brief": [
-        "This command returns the server tag."
+        "This command returns the server tag used by the server. ",
+        "Server tag is essential configuration parameter in the Config Backend configuration.",
+        "This parameter is configured in the local config file.",
+        "This command does not take any parameters."
     ],
     "cmd-syntax": [
         "{",
     ],
     "description": "See <xref linkend=\"command-server-tag-get\"/>",
     "name": "server-tag-get",
+    "resp-syntax": [
+        "{",
+        "    \"result\": 0,",
+        "    \"arguments\": {",
+        "        \"server-tag\": \"office1\"",
+        "    }",
+        "}"
+    ],
+
     "support": [
         "kea-dhcp4",
         "kea-dhcp6"
index 0edbb1fc55bfcfe7d9303448fd41d84d595ded84..b03a4d201c93274664e88b60f81fccd899bd4ca6 100644 (file)
@@ -141,6 +141,8 @@ the list of supported configuration parameters, can be found in
 
 .. _cb-sharing:
 
+.. _command-server-tag-get:
+
 Configuration Sharing and Server Tags
 -------------------------------------
 
@@ -156,7 +158,8 @@ by "server tags". The server tag is an arbitrary string holding the name
 of the Kea server instance. The tags of the DHCPv4 and DHCPv6 servers are
 independent in the database, i.e. the same server tag can be created for
 the DHCPv4 and the DHCPv6 server respectively. The value is configured
-using ``server-tag`` parameter in the Dhcp4 or Dhcp6 scope.
+using ``server-tag`` parameter in the Dhcp4 or Dhcp6 scope. The current
+server-tag can be checked with the ``server-tag-get`` command.
 
 The server definition, which consists of the server tag and the server
 description, must be stored in the configuration database prior to creating