deb-designate/designate/resources/templates/dnsmasq-zone.jinja2
Kiall Mac Innes ce325c9c04 Introduce RecordSets concept to core, and add initial RRSet API to v2
The v2 RecordSet API is experimental. This commit is intended to only provide
a stable experience with the V1 API.

Change-Id: I168401d8ce3066a19d3538b3ec5cd36338b10b44
2013-12-17 15:16:51 +00:00

11 lines
357 B
Django/Jinja

# Example input:
# {u'mail.example.com.': {u'A': [u'192.0.2.1', u'192.0.2.2']}, u'www.example.com.': {u'A': [u'192.0.2.1', u'192.0.2.2']}}
{% for name in template_data -%}
{% for rdtype in template_data[name] -%}
# RecordSet: {{name}} / {{rdtype}}
{% for record in template_data[name][rdtype] -%}
{{record}} {{name}}
{% endfor %}
{% endfor %}
{%- endfor %}