summaryrefslogtreecommitdiffstats
path: root/doc/examples/kea6
diff options
context:
space:
mode:
authorRazvan Becheriu <razvan@isc.org>2022-08-27 23:16:24 +0200
committerRazvan Becheriu <razvan@isc.org>2022-08-29 08:50:26 +0200
commit6ab5f516618f9bdbb7a361f7c830345c7309876e (patch)
treefb7c4d00488a133372f2584ea861614dfd0a83db /doc/examples/kea6
parent[#2441] added HA+MT and HA+MT+TLS examples (diff)
downloadkea-6ab5f516618f9bdbb7a361f7c830345c7309876e.tar.xz
kea-6ab5f516618f9bdbb7a361f7c830345c7309876e.zip
[#2441] fixed comments in examples
Diffstat (limited to 'doc/examples/kea6')
-rw-r--r--doc/examples/kea6/ha-hot-standby-server1-with-tls.json27
-rw-r--r--doc/examples/kea6/ha-hot-standby-server2.json11
2 files changed, 21 insertions, 17 deletions
diff --git a/doc/examples/kea6/ha-hot-standby-server1-with-tls.json b/doc/examples/kea6/ha-hot-standby-server1-with-tls.json
index ac5c63eb74..bd57d06365 100644
--- a/doc/examples/kea6/ha-hot-standby-server1-with-tls.json
+++ b/doc/examples/kea6/ha-hot-standby-server1-with-tls.json
@@ -84,27 +84,30 @@
"cert-file": "/usr/lib/kea/server_cert.pem",
// Private key file name.
"key-file": "/usr/lib/kea/server_key.pem",
+ // Client certificates are required and verified.
+ "require-client-certs": true,
"peers": [
- // This is the configuration of our HA peer.
+ // This is the configuration of this server instance.
{
"name": "server1",
- // Specifies the URL on which the partner's control
- // channel can be reached. The Control Agent is required
- // to run on the partner's machine with "http-host" and
- // "http-port" values set to the corresponding values.
+ // This specifies the URL of this server instance. The
+ // Control Agent must run along with this DHCPv6 server
+ // instance and the "http-host" and "http-port" must be
+ // set to the corresponding values.
"url": "http://192.168.56.33:8000/",
- // The partner is primary. Our is standby.
+ // This server is primary. The other one must be
+ // standby.
"role": "primary"
},
- // This is the configuration of this server instance.
+ // This is the configuration of the HA peer.
{
"name": "server2",
- // This specifies the URL of our server instance. The
- // Control Agent must run along with our DHCPv6 server
- // instance and the "http-host" and "http-port" must be
- // set to the corresponding values.
+ // Specifies the URL on which the partner's control
+ // channel can be reached. The Control Agent is required
+ // to run on the partner's machine with "http-host" and
+ // "http-port" values set to the corresponding values.
"url": "http://192.168.56.66:8000/",
- // Out server is standby. The partner is primary.
+ // The partner is standby. This server is primary.
"role": "standby"
}
]
diff --git a/doc/examples/kea6/ha-hot-standby-server2.json b/doc/examples/kea6/ha-hot-standby-server2.json
index 1b9d3dde00..cd9de933ff 100644
--- a/doc/examples/kea6/ha-hot-standby-server2.json
+++ b/doc/examples/kea6/ha-hot-standby-server2.json
@@ -78,7 +78,7 @@
// the partner but appear to not receive any response.
"max-unacked-clients": 5,
"peers": [
- // This is the configuration of our HA peer.
+ // This is the configuration of the HA peer.
{
"name": "server1",
// Specifies the URL on which the partner's control
@@ -86,18 +86,19 @@
// to run on the partner's machine with "http-host" and
// "http-port" values set to the corresponding values.
"url": "http://192.168.56.33:8000/",
- // The partner is primary. Our is standby.
+ // The partner is primary. This server is standby.
"role": "primary"
},
// This is the configuration of this server instance.
{
"name": "server2",
- // This specifies the URL of our server instance. The
- // Control Agent must run along with our DHCPv6 server
+ // This specifies the URL of this server instance. The
+ // Control Agent must run along with this DHCPv6 server
// instance and the "http-host" and "http-port" must be
// set to the corresponding values.
"url": "http://192.168.56.66:8000/",
- // Out server is standby. The partner is primary.
+ // This server is standby. The other one must be
+ // primary.
"role": "standby"
}
]