Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Simple Deploy- and Management
package.dhcp.kea
Commits
0b8282e9
Commit
0b8282e9
authored
Apr 26, 2019
by
Pietsch, Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add control agent configuration
parent
e90881e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
templates/kea-control-agent.conf.j2
templates/kea-control-agent.conf.j2
+23
-0
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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