From: Francis Dupont Date: Thu, 27 Dec 2018 23:15:30 +0000 (+0100) Subject: [30-implement-control-socket-for-ddns-2] Updated keactrl X-Git-Tag: 208-move-logging-from-global-objects-to-global-params_base~13 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=23200e6a354755e0e54d0804e635dd339b2fc055;p=thirdparty%2Fkea.git [30-implement-control-socket-for-ddns-2] Updated keactrl --- diff --git a/src/bin/keactrl/kea-ctrl-agent.conf.pre b/src/bin/keactrl/kea-ctrl-agent.conf.pre index 0619408b96..94177a7068 100644 --- a/src/bin/keactrl/kea-ctrl-agent.conf.pre +++ b/src/bin/keactrl/kea-ctrl-agent.conf.pre @@ -21,8 +21,8 @@ "http-port": 8080, // Specify location of the files to which the Control Agent - // should connect to forward commands to the DHCPv4 and DHCPv6 - // server via unix domain socket. + // should connect to forward commands to the DHCPv4, DHCPv6 + // and D2 servers via unix domain sockets. "control-sockets": { "dhcp4": { "socket-type": "unix", @@ -31,6 +31,10 @@ "dhcp6": { "socket-type": "unix", "socket-name": "/tmp/kea-dhcp6-ctrl.sock" + }, + "d2": { + "socket-type": "unix", + "socket-name": "/tmp/kea-dhcp-ddns-ctrl.sock" } }, diff --git a/src/bin/keactrl/kea-dhcp-ddns.conf.pre b/src/bin/keactrl/kea-dhcp-ddns.conf.pre index b1910974d9..cec180d9ba 100644 --- a/src/bin/keactrl/kea-dhcp-ddns.conf.pre +++ b/src/bin/keactrl/kea-dhcp-ddns.conf.pre @@ -21,9 +21,13 @@ { "ip-address": "127.0.0.1", "port": 53001, + "control-socket": { + "socket-type": "unix", + "socket-name": "/tmp/kea-dhcp-ddns-ctrl.sock" + }, "tsig-keys": [], "forward-ddns" : {}, - "reverse-ddns" : {} + "reverse-ddns" : {}, }, // Logging configuration starts here. Kea uses different loggers to log various