Fix logic bug
parent
f53e744e32
commit
3809e48b77
|
|
@ -152,7 +152,7 @@ chassis {
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if interface.ip_addresses.count() > 0 %}
|
{% if interface.ip_addresses.count() > 0 %}
|
||||||
unit 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;
|
vlan-id 1;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
family inet {
|
family inet {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue