Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simple Deploy- and Management
package.dhcp.kea
Commits
0b8282e9
Commit
0b8282e9
authored
Apr 26, 2019
by
Pietsch, Martin
Browse files
add control agent configuration
parent
e90881e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/kea-control-agent.conf.j2
0 → 100644
View file @
0b8282e9
{
"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"
}
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment