mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[#3049] kea-dhcp4 parsing and UTs
Fully functional in kea-dhcp4 (excluding doc update and CB support) /doc/examples/kea4/all-keys.json Added entries to a pool /src/bin/dhcp4/dhcp4_lexer.ll /src/bin/dhcp4/dhcp4_parser.yy Added parameters to pools /src/bin/dhcp4/dhcp4_srv.cc Added comment /src/bin/dhcp4/tests/config_parser_unittest.cc TEST_F(Dhcp4ParserTest, poolDdnsParameters) - new test /src/bin/dhcp4/tests/fqdn_unittest.cc TEST_F(NameDhcpv4SrvTest, poolDdnsParametersTest) - new test /src/bin/dhcp4/tests/get_config_unittest.cc Updated /src/lib/dhcpsrv/parsers/base_network_parser.* Moved DDNS parameter parsing to a function template to allow use by any class type /src/lib/dhcpsrv/parsers/dhcp_parsers.cc Added DDNS parameter parsing to PoolParser /src/lib/dhcpsrv/parsers/simple_parser4.cc Added paramters to pool /src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc TEST_F(DhcpParserTest, validDdnsParmatersPool4) - new test
This commit is contained in:
@@ -1153,7 +1153,51 @@
|
||||
|
||||
// List of client classes which must be evaluated when this pool
|
||||
// is selected for client assignments.
|
||||
"evaluate-additional-classes": [ "late" ]
|
||||
"evaluate-additional-classes": [ "late" ],
|
||||
|
||||
// Pool-level value. See description at the global level.
|
||||
"ddns-generated-prefix": "mypool",
|
||||
|
||||
// Pool-level value. See description at the global level.
|
||||
"ddns-override-client-update": false,
|
||||
|
||||
// Pool-level value. See description at the global level.
|
||||
"ddns-override-no-update": false,
|
||||
|
||||
// Pool-level value. See description at the global level.
|
||||
"ddns-qualifying-suffix": "pool.example.com.",
|
||||
|
||||
// Pool-level value. See description at the global level.
|
||||
"ddns-replace-client-name": "always",
|
||||
|
||||
// Pool-level value. See description at the global level.
|
||||
"ddns-send-updates": true,
|
||||
|
||||
// Pool-level value. See description at the global level.
|
||||
"ddns-update-on-renew": false,
|
||||
|
||||
// Pool-level value. See description at the global level.
|
||||
"ddns-conflict-resolution-mode": "check-with-dhcid",
|
||||
|
||||
// Pool-level value. See description at the global level.
|
||||
"ddns-ttl-percent": 0.55,
|
||||
|
||||
// Pool-level value. See description at the global level.
|
||||
// You cannot specify both ddns-ttl and any of ddns-ttl-percent,
|
||||
// ddns-ttl-min, or ddns-ttl-max. They are mutually exclusive.
|
||||
// "ddns-ttl": 500,
|
||||
|
||||
// Pool-evel value. See description at the global level.
|
||||
"ddns-ttl-min": 10000,
|
||||
|
||||
// Pool-level value. See description at the global level.
|
||||
"ddns-ttl-max": 20000,
|
||||
|
||||
// Pool-level value. See description at the global level.
|
||||
"hostname-char-replacement": "x",
|
||||
|
||||
// Pool-level value. See description at the global level.
|
||||
"hostname-char-set": "[^A-Za-z0-9.-]"
|
||||
},
|
||||
{
|
||||
// Restricts this pool to allow only clients
|
||||
|
Reference in New Issue
Block a user