Fix device role

netbox
Dan Ankers 2024-06-29 13:52:57 +01:00
parent e2f58ebd8f
commit 7f54dc2961
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ chassis {
storm-control default; storm-control default;
} }
} }
{% elif device.role.name in ['Provider Core'] %} {% elif interface.device.role.name in ['Provider Core'] %}
{% if interface.tags.filter(name__in=['vpls-edge']).count() %} {% if interface.tags.filter(name__in=['vpls-edge']).count() %}
{% for vlan in interface.tagged_vlans %} {% for vlan in interface.tagged_vlans %}
unit {{ vlan.vid }} { unit {{ vlan.vid }} {