From: Tomek Mrugalski Date: Tue, 24 Jul 2018 18:42:58 +0000 (+0200) Subject: [5682] Example configs added. X-Git-Tag: ha_phase2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8f2472a836b38413d633fc8a791ce8cf65cad4a;p=thirdparty%2Fkea.git [5682] Example configs added. --- diff --git a/doc/examples/kea4/advanced.json b/doc/examples/kea4/advanced.json index 608a154d2f..94b2bfc8e5 100644 --- a/doc/examples/kea4/advanced.json +++ b/doc/examples/kea4/advanced.json @@ -44,6 +44,21 @@ "re-detect": true }, + "sanity-checks": { + // This parameter determines what to do when a new lease appears in the + // system (i.e. either is read from disk during memfile startup or is + // added via lease commands). There are five modes supported: + // none - do nothing, accept them as is + // warn - if subnet-id problems are detected, print a warning, but + // otherwise load the lease as is. This is the default value. + // fix - attempt to fix the lease by finding appropriate subnet-id value. + // if there is no suitable subnet, the lease is loaded as is. + // fix-del - attempt to fix the lease by findind appropriate subnet-id + // value. If there is no suitable subnet, the lease is deleted. + // del - delete leases that have incorrect subnet-id values. + "lease-checks": "fix-del" + }, + // Option 43 last resort definition can make well-formed messages // to be rejected because they use not compatible "raw" value, // and different vendors may define different sub-options. diff --git a/doc/examples/kea6/advanced.json b/doc/examples/kea6/advanced.json index 2d324b1a9d..f64572a3f6 100644 --- a/doc/examples/kea6/advanced.json +++ b/doc/examples/kea6/advanced.json @@ -32,6 +32,21 @@ "lfc-interval": 3600 }, + "sanity-checks": { + // This parameter determines what to do when a new lease appears in the + // system (i.e. either is read from disk during memfile startup or is + // added via lease commands). There are five modes supported: + // none - do nothing, accept them as is + // warn - if subnet-id problems are detected, print a warning, but + // otherwise load the lease as is. This is the default value. + // fix - attempt to fix the lease by finding appropriate subnet-id value. + // if there is no suitable subnet, the lease is loaded as is. + // fix-del - attempt to fix the lease by findind appropriate subnet-id + // value. If there is no suitable subnet, the lease is deleted. + // del - delete leases that have incorrect subnet-id values. + "lease-checks": "fix-del" + }, + // Kea 0.9.1 introduced MAC/hardware addresses support in DHCPv6. There is // no single reliable method of getting MAC address information in DHCPv6. // Kea supports several methods. Depending on your network set up, some