11 lines
425 B
Django/Jinja
11 lines
425 B
Django/Jinja
{# Node specific interfaces #}
|
|
{% for interface in interfaces %}
|
|
ifindex={{ interface.index }} ifname={{ interface.name }} direction=in
|
|
ifindex={{ interface.index }} ifname={{ interface.name }} direction=out
|
|
{% endfor %}
|
|
|
|
{% for router in routers if not router == shortname %}
|
|
ifindex={{ interface.index }} ifname=int-{{ router }} direction=in
|
|
ifindex={{ interface.index }} ifname=int-{{ router }} direction=out
|
|
{% endfor %}
|