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

bugfix remove comma

parent 4b16114d
......@@ -17,7 +17,8 @@
"valid-lifetime": {{ dhcp_leasetimes["default"] }},
{%- if kea_ha_mode != "none" -%}
{% include "kea-dhcp-ha.j2" %}
{% import "kea-dhcp-ha.j2" as ha %}
{{ ha.ha("ipv4") }}
{%- endif -%}
{%- set ipv4subnets = [] -%}
......@@ -111,7 +112,7 @@
"output": "/var/log/kea-dhcp4.log"
}
],
"severity": "INFO",
"severity": "INFO"
}
]
}
......
......@@ -11,46 +11,15 @@
"socket-name": "/tmp/kea-dhcp6-ctrl.sock"
},
{% if dhcp_backend == "memfile" %}
"lease-database": {
"type": "memfile",
"name": "/var/db/kea/kea-leases6"
},
{% elif dhcp_backend == "cassandra" %}
"lease-database": {
"type": "cql",
"keyspace": "{{ dhcp_db_dbname }}"
"contact-points": "{{ dhcp_db_host }}"
{% if dhcp_db_port is defined %}
"port": "{{ dhcp_db_port }}"
{% endif %}
},
{% else %}
"lease-database": {
"type": "{{ dhcp_backend }}",
"name": "{{ dhcp_db_dbname }}",
"host": "{{ dhcp_db_host }}",
{% if dhcp_db_port is defined %}
"port": "{{ dhcp_db_port }}"
{% endif %}
"user": "{{ dhcp_db_user }}"
"password": "{{ dhcp_db_password | default("") }}"
},
"hosts-database": {
"type": "{{ dhcp_backend }}",
"name": "{{ dhcp_db_dbname }}",
"host": "{{ dhcp_db_host }}",
{% if dhcp_db_port is defined %}
"port": "{{ dhcp_db_port }}"
{% endif %}
"user": "{{ dhcp_db_user }}"
"password": "{{ dhcp_db_password | default("") }}"
},
{% endif %}
{% include "kea-dhcp-backends.j2" %}
"valid-lifetime": {{ dhcp_leasetimes["default"] }},
{%- if kea_ha_mode != "none" -%}
{% import "kea-dhcp-ha.j2" as ha %}
{{ ha.ha("ipv6") }}
{%- endif -%}
{%- set ipv6subnets = [] -%}
{%- for netclassname, netclass in network.classes.items() if netclass.dhcp is defined -%}
{%- if netclass.dhcp.ipv6 is defined -%}
......@@ -132,7 +101,7 @@
"output": "/var/log/kea-dhcp6.log"
}
],
"severity": "INFO",
"severity": "INFO"
}
]
}
......
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