frr: don’t use undefined variable
This commit is contained in:
parent
cf288dde95
commit
24e4f17d0c
|
@ -29,7 +29,7 @@ router bgp {{ asn.asn }}
|
|||
neighbor fabric route-map local out
|
||||
exit-address-family
|
||||
|
||||
{% if cluster.custom_fields and cluster.custom_fields.vlans %}
|
||||
{% if cluster is defined and cluster.custom_fields and cluster.custom_fields.vlans %}
|
||||
address-family l2vpn evpn
|
||||
neighbor fabric activate
|
||||
neighbor fabric route-map local out
|
||||
|
|
Loading…
Reference in a new issue