Send kea-dev mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.isc.org/mailman/listinfo/kea-dev
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of kea-dev digest..."
Today's Topics:
1. Idea: dynamic server tag in configuration backend
configuration (Carsten Strotmann)
----------------------------------------------------------------------
Message: 1
Date: Thu, 22 Oct 2020 15:44:45 +0200
From: Carsten Strotmann <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [kea-dev] Idea: dynamic server tag in configuration backend
configuration
Message-ID: <[email protected]>
Content-Type: text/plain; format=flowed
Hi,
while working on the Kea Webinar chapter, I found that the Kea
DHCP[4|6]
configuration can be the same on all machines using the config
backend,
except for the "server-tag".
Proposal:
Making the "server-tag" dynamic, e.g. fetched from some outside
source
(system hostname, file, IP-Address ...), would allow for a
completely
static configuration file. This would allow Kea DHCP servers to be
created
from a template or cloned.
Example:
"Dhcp6": {
"server-tag": "$HOSTNAME",
"config-control": {
"config-databases": [{
"type": "mysql",
"name": "kea_config_db",
"user": "kea",
"password": "secure-password",
"host": "2001:db8:568::568"
}],
"config-fetch-wait-time": 120
},
[...]
}
Possible dynamic sources for the server tag:
* OS hostname
* OS Type/Version
* network node hostname (uname -n)
* text file containing a single server-tag
* a shell script returning a server-tag to stdout
* IP-Address/MAC-Address on some interface
* asset tag from DMI/SMBios (demidecode)
Would this be useful?
Greetings
Carsten
------------------------------
Subject: Digest Footer
_______________________________________________
kea-dev mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-dev
------------------------------
End of kea-dev Digest, Vol 69, Issue 1
**************************************