diff --git a/juniper-macros.j2 b/juniper-macros.j2 index e29e881..196fdbd 100644 --- a/juniper-macros.j2 +++ b/juniper-macros.j2 @@ -152,7 +152,7 @@ chassis { {% endif %} {% if interface.ip_addresses.count() > 0 %} unit 0 { -{% if (interface.link_peers) and (interface.link_peers[0].device.role.name = 'Provider Core') %} +{% if (interface.link_peers) and (interface.link_peers[0].device.role.name == 'Provider Core') %} vlan-id 1; {% endif %} family inet {