router ospf {{ process_id }}
{% if router_id %}
router-id {{ router_id }}
{% endif %}
{% for n in networks|ports %}
network {{ n|network }} {{ n|wildcard }} area {{ area }}
{% endfor %}
exit
{% for i in interfaces|ports %}
interface {{ i }}
ip ospf {{ process_id }} area {{ area }}
exit
{% endfor %}
