Skip to content

Commit f7498e2

Browse files
committed
[#3663] FIx all-keys.json files
Correct invalid configurations in all-keys.json files doc/examples/kea4/all-keys.json doc/examples/kea6/all-keys.json
1 parent 1e6f4b4 commit f7498e2

File tree

2 files changed

+25
-13
lines changed

2 files changed

+25
-13
lines changed

doc/examples/kea4/all-keys.json

+12-6
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,9 @@
345345
"ddns-ttl-percent": 0.75,
346346

347347
// When greater than 0 it will be used as the DNS TTL. Specified in seconds.
348-
"ddns-ttl": 0,
348+
// You cannot specify both ddns-ttl and any of ddns-ttl-percent, ddns-ttl-min, or
349+
// ddns-ttl-max. They are mutually exclusive.
350+
//"ddns-ttl": 500,
349351

350352
// When greater than 0 it used as the lower boundary for calculated DNS TTL values.
351353
// Specified in seconds.
@@ -907,7 +909,9 @@
907909
"ddns-ttl-percent": 0.65,
908910

909911
// Shared-network level value. See description at the global level.
910-
"ddns-ttl": 0,
912+
// You cannot specify both ddns-ttl and any of ddns-ttl-percent, ddns-ttl-min, or
913+
// ddns-ttl-max. They are mutually exclusive.
914+
// "ddns-ttl": 500,
911915

912916
// Shared-network level value. See description at the global level.
913917
"ddns-ttl-min": 10000,
@@ -1053,16 +1057,18 @@
10531057
"ddns-conflict-resolution-mode": "check-with-dhcid",
10541058

10551059
// Subnet-level value. See description at the global level.
1056-
"ddns-ttl-percent": 0.55,
1060+
// "ddns-ttl-percent": 0.55,
10571061

10581062
// Subnet-level value. See description at the global level.
1059-
"ddns-ttl": 0,
1063+
// You cannot specify both ddns-ttl and any of ddns-ttl-percent, ddns-ttl-min, or
1064+
// ddns-ttl-max. They are mutually exclusive.
1065+
"ddns-ttl": 500,
10601066

10611067
// Subnet-evel value. See description at the global level.
1062-
"ddns-ttl-min": 10000,
1068+
// "ddns-ttl-min": 10000,
10631069

10641070
// Subnet-level value. See description at the global level.
1065-
"ddns-ttl-max": 20000,
1071+
// "ddns-ttl-max": 20000,
10661072

10671073
// Subnet-level value. See description at the global level.
10681074
"hostname-char-replacement": "x",

doc/examples/kea6/all-keys.json

+13-7
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,9 @@
296296
"ddns-ttl-percent": 0.75,
297297

298298
// When greater than 0 it will be used as the DNS TTL. Specified in seconds.
299-
"ddns-ttl": 0,
299+
// Cannot specify both ddns-ttl and any of ddns-ttl-percent, ddns-ttl-min or
300+
// ddns-ttl-max. They are mutually exclusive.
301+
// "ddns-ttl": 500,
300302

301303
// When greater than 0 it used as the lower boundary for calculated DNS TTL values.
302304
// Specified in seconds.
@@ -850,7 +852,9 @@
850852
"ddns-ttl-percent": 0.65,
851853

852854
// Shared-network level value. See description at the global level.
853-
"ddns-ttl": 0,
855+
// Cannot specify both ddns-ttl and any of ddns-ttl-percent, ddns-ttl-min or
856+
// ddns-ttl-max. They are mutually exclusive.
857+
// "ddns-ttl": 500,
854858

855859
// Shared-network level value. See description at the global level.
856860
"ddns-ttl-min": 10000,
@@ -988,16 +992,18 @@
988992
"ddns-conflict-resolution-mode": "check-with-dhcid",
989993

990994
// Subnet-level value. See description at the global level.
991-
"ddns-ttl-percent": 0.55,
995+
// "ddns-ttl-percent": 0.55,
992996

993-
// Subnet-level value. See description at the global level.
994-
"ddns-ttl": 0,
997+
// "ddns-ttl": 0,
998+
// Cannot specify both ddns-ttl and any of ddns-ttl-percent, ddns-ttl-min or
999+
// ddns-ttl-max. They are mutually exclusive.
1000+
"ddns-ttl": 500,
9951001

9961002
// Subnet-evel value. See description at the global level.
997-
"ddns-ttl-min": 10000,
1003+
// "ddns-ttl-min": 10000,
9981004

9991005
// Subnet-level value. See description at the global level.
1000-
"ddns-ttl-max": 20000,
1006+
// "ddns-ttl-max": 20000,
10011007

10021008
// Subnet-level value. See description at the global level.
10031009
"hostname-char-replacement": "x",

0 commit comments

Comments
 (0)