Commit e90881e1 authored by Pietsch, Martin's avatar Pietsch, Martin

changing import of backend and ha macros

parent 14364c01
......@@ -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 = [] -%}
......
......@@ -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 = [] -%}
......
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