]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[804-cb-doc-never-says-clearly-how-to-configure-server-tag-on-a-server] First attempt...
authorFrancis Dupont <fdupont@isc.org>
Wed, 7 Aug 2019 14:53:04 +0000 (16:53 +0200)
committerFrancis Dupont <fdupont@isc.org>
Mon, 12 Aug 2019 13:30:45 +0000 (09:30 -0400)
doc/examples/kea4/config-backend.json
doc/examples/kea6/config-backend.json
doc/sphinx/arm/config-backend.rst
doc/sphinx/arm/dhcp4-srv.rst
doc/sphinx/arm/dhcp6-srv.rst

index 637ad8433e1254087f8d7bf1fae36503153cdd2b..8ea41f499004135d0d1215d26416eec5074abc36 100644 (file)
@@ -6,6 +6,9 @@
 { "Dhcp4":
 
 {
+    // Set the server tag for the configuration backend.
+    "server-tag": "my DHCPv4 server",
+
     // Kea is told to listen on ethX interface only.
     "interfaces-config": {
         "interfaces": [ "ethX" ]
index 8956462d3f01bd4c20186c3e692f1a649de6f587..082013e2b7f32d8943c3c67732ceb530bd66bc1d 100644 (file)
@@ -6,6 +6,9 @@
 { "Dhcp6":
 
 {
+    // Set the server tag for the configuration        backend.
+    "server-tag": "my DHCPv6 server",
+
     // Kea is told to listen on ethX interface only.
     "interfaces-config": {
         "interfaces": [ "ethX" ]
index a689194fa22ffae701505cb572d3a1ba885d7144..0783f490a4f8f4a920c71a6d70a1d9bd1b3fd97b 100644 (file)
@@ -29,6 +29,7 @@ network grows, the usefulness of the CB becomes obvious.
 A good example of a use case for the CB is a pair of Kea DHCP servers which can be configured
 to support High Availability as described in
 :ref:`high-availability-library`. The configurations of both servers
+(as known as the server tag: the value of the "server-tag" parameter)
 are almost exactly the same. They may differ by the server identifier
 and designation of the server as a primary or standby (or secondary).
 They may also differ by the interfaces configuration. Typically, the
index 95a0c0f8bf35fb1eea0a0ca80c11da759c876ab6..07b96eb8e915ef96284dd3d9636baede849b0de6 100644 (file)
@@ -5681,6 +5681,7 @@ Consider the following configuration snippet:
 ::
 
    "Dhcp4": {
+       "server-tag": "my DHCPv4 server",
        "config-control": {
            "config-databases": [{
                "type": "mysql",
index 8a013a152067e84412038d382f0fe324903d5065..72479f286f96412ed59b882e34d71e7b1ac840f3 100644 (file)
@@ -5731,6 +5731,7 @@ Configuration Backend for the DHCPv6 server:
 
    {
        "Dhcp6": {
+       "server-tag": "my DHCPv6 server",
            "config-control": {
                "config-databases": [
                    {