2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

Fixed server-tag-get docs

This commit is contained in:
Tomek Mrugalski
2019-08-19 17:00:35 +02:00
committed by Tomek Mrugalski
parent 84f005cac7
commit cf18a81f46
2 changed files with 17 additions and 2 deletions

View 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": [
"{",
@@ -10,6 +13,15 @@
],
"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"

View 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