Fix device role

netbox
Dan Ankers 2024-06-29 13:49:20 +01:00
parent d771421e93
commit e2f58ebd8f
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ chassis {
}
}
{% endif %}
{% if device.role.name in ['Leaf','Spine'] %}
{% if interface.device.role.name in ['Leaf','Spine'] %}
{% if interface.mode != '' %}
unit 0 {
family ethernet-switching {