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
e90881e1
Commit
e90881e1
authored
Apr 26, 2019
by
Pietsch, Martin
Browse files
changing import of backend and ha macros
parent
14364c01
Changes
2
Hide whitespace changes
Inline
Side-by-side
templates/kea-dhcp4.conf.j2
View file @
e90881e1
...
...
@@ -12,13 +12,14 @@
"socket-name": "/tmp/kea-dhcp4-ctrl.sock"
},
{% include "kea-dhcp-backends.j2" %}
{% from "kea-dhcp-backends.j2" import backends with context %}
{{ backends("ipv4") }}
"valid-lifetime": {{ dhcp_leasetimes["default"] }},
{%- if kea_ha_mode != "none" -%}
{%
import
"kea-dhcp-ha.j2"
as ha
%}
{{
ha.
ha("ipv4") }}
{%
from
"kea-dhcp-ha.j2"
import ha with context
%}
{{ ha("ipv4") }}
{%- endif -%}
{%- set ipv4subnets = [] -%}
...
...
templates/kea-dhcp6.conf.j2
View file @
e90881e1
...
...
@@ -11,13 +11,14 @@
"socket-name": "/tmp/kea-dhcp6-ctrl.sock"
},
{% include "kea-dhcp-backends.j2" %}
{% from "kea-dhcp-backends.j2" import backends with context %}
{{ backends("ipv6") }}
"valid-lifetime": {{ dhcp_leasetimes["default"] }},
{%- if kea_ha_mode != "none" -%}
{%
import
"kea-dhcp-ha.j2"
as ha
%}
{{
ha.
ha("ipv6") }}
{%
from
"kea-dhcp-ha.j2"
import ha with context
%}
{{ ha("ipv6") }}
{%- endif -%}
{%- set ipv6subnets = [] -%}
...
...
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