summaryrefslogtreecommitdiffstats
path: root/doc/examples/kea6
diff options
context:
space:
mode:
authorRazvan Becheriu <razvan@isc.org>2022-07-20 18:45:31 +0200
committerRazvan Becheriu <razvan@isc.org>2022-07-22 10:12:54 +0200
commit8f7c1b15217149451cfb805770dbee5491560d6d (patch)
treee53753fa974d702615cb387a474088b8b1b59655 /doc/examples/kea6
parentfixed pipeline after ChangeLog edit (diff)
downloadkea-8f7c1b15217149451cfb805770dbee5491560d6d.tar.xz
kea-8f7c1b15217149451cfb805770dbee5491560d6d.zip
[#2224] added missing parameters including TLS connection parameters to YANG models
Diffstat (limited to 'doc/examples/kea6')
-rw-r--r--doc/examples/kea6/all-keys-netconf.json53
-rw-r--r--doc/examples/kea6/all-keys.json5
2 files changed, 51 insertions, 7 deletions
diff --git a/doc/examples/kea6/all-keys-netconf.json b/doc/examples/kea6/all-keys-netconf.json
index a2098225ef..6712be2e11 100644
--- a/doc/examples/kea6/all-keys-netconf.json
+++ b/doc/examples/kea6/all-keys-netconf.json
@@ -276,7 +276,20 @@
"user": "kea",
// Read only mode.
- "readonly": false
+ "readonly": false,
+
+ // Next entries are for the OpenSSL support in MySQL.
+ // Trust anchor aka certificate authority file or directory.
+ "trust-anchor": "my-ca",
+
+ // Client certificate file name.
+ "cert-file": "my-cert",
+
+ // Private key file name.
+ "key-file": "my-key",
+
+ // Cipher list (see the OpenSSL ciphers command manual).
+ "cipher-list": "AES"
},
{
// Name of the database to connect to.
@@ -299,8 +312,8 @@
// Connection reconnect wait time.
// This parameter governs how long Kea waits before attempting
- // to reconnect. Expressed in milliseconds. The default is 2000 [ms]
- // for Casandra and 0 (disabled) for MySQL and PostgreSQL.
+ // to reconnect. Expressed in milliseconds. The default is 0
+ // (disabled) for MySQL and PostgreSQL.
"reconnect-wait-time": 3000,
// Connection maximum reconnect tries.
@@ -343,9 +356,34 @@
// be re-detected upon server reconfiguration. The default value
// is true which means that the interfaces are always
// re-detected.
- "re-detect": true
+ "re-detect": true,
+
+ // Kea tries to bind the service sockets during initialization. It may
+ // fail due to a port being already opened or misconfiguration. Kea can
+ // suppress these errors and only logs them. This flag prevents starting
+ // the DHCP server without binding all sockets. If unspecified, it
+ // defaults to false.
+ "service-sockets-require-all": true,
+
+ // Kea tries to bind the service sockets during initialization. This
+ // option specifies how many times binding to interface will be retried.
+ // The default value is 0 which means that the operation will not be
+ // repeated.
+ "service-sockets-max-retries": 5,
+
+ // The time interval in milliseconds to wait before the next attempt to
+ // retry opening a service socket.
+ "service-sockets-retry-wait-time": 5000
},
+ // Boolean parameter which controls whether an early global host
+ // reservations lookup should be performed. This lookup takes place
+ // before subnet selection and when a global reservation is found
+ // with some client classes, it triggers a second phase classification.
+ // It can also be used to drop queries using host reservations as a
+ // decision table indexed by reservation identifiers.
+ "early-global-reservations-lookup": true,
+
// Boolean parameter which controls DHCP server's behavior with respect
// to creating host reservations for the same IP address or delegated
// prefix. By default this flag is set to true in which case the server
@@ -363,6 +401,13 @@
// support this mode.
"ip-reservations-unique": true,
+ /// Boolean parameter which controls whether host reservations lookup
+ /// should be performed before lease lookup. This parameter has effect
+ /// only when multi-threading is disabled. When multi-threading is
+ /// enabled, host reservations lookup is always performed first to avoid
+ /// lease lookup resource locking.
+ "reservations-lookup-first": true,
+
// Specifies credentials to access lease database.
"lease-database": {
// memfile backend specific parameter specifying the interval
diff --git a/doc/examples/kea6/all-keys.json b/doc/examples/kea6/all-keys.json
index 7ddc196ef6..c3437d0424 100644
--- a/doc/examples/kea6/all-keys.json
+++ b/doc/examples/kea6/all-keys.json
@@ -279,7 +279,6 @@
"readonly": false,
// Next entries are for the OpenSSL support in MySQL.
-
// Trust anchor aka certificate authority file or directory.
"trust-anchor": "my-ca",
@@ -326,8 +325,8 @@
// Connection reconnect wait time.
// This parameter governs how long Kea waits before attempting
- // to reconnect. Expressed in milliseconds. The default is 2000 [ms]
- // for Casandra and 0 (disabled) for MySQL and PostgreSQL.
+ // to reconnect. Expressed in milliseconds. The default is 0
+ // (disabled) for MySQL and PostgreSQL.
"reconnect-wait-time": 3000,
// Connection maximum reconnect tries.