Commit 0b8282e9 authored by Pietsch, Martin's avatar Pietsch, Martin

add control agent configuration

parent e90881e1
{
"Control-agent": {
{%- if network.devices is defined -%}
{%- for ifname, ifdata in network.devices.items() if ifdata.services is defined and ("dhcp-ha" in (ifdata.services | default([]))) -%}
"http-host": "{{ ifdata.ipv4 | default(ifdata.ipv6 | default('127.0.0.1')) }}",
"http-port": {{ kea_control_agent_port }},
{%- endfor -%}
{%- endif -%}
"control-sockets": {
"dhcp4": {
"socket-type": "unix",
"socket-name": "/tmp/kea-dhcp4-ctrl.sock"
},
"dhcp6": {
"socket-type": "unix",
"socket-name": "/tmp/kea-dhcp6-ctrl.sock"
}
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment