hostname {{ hostname }}
{% for interface in interfaces %}
interface {{ interface.name }}
 description {{ interface.description }}
 ip address {{ interface.ip }} {{ interface.mask }}
 encapsulation dot1Q {{ interface.vlan_id }}
 no shutdown
{% endfor %}
end