Fix bug
parent
bb7a882a46
commit
1392e221c7
|
|
@ -30,12 +30,14 @@ policy-options {
|
|||
}
|
||||
{{ junos.routingoptionssection(device, overlay_as, gateway) }}
|
||||
protocols {
|
||||
{% if device.role.name in ['Leaf','Spine'] %}
|
||||
{{ junos.bgpsection(device,dcim.Device.objects.filter(tenant=device.tenant,role__name='Spine')) }}
|
||||
{% if device.role.name == 'Leaf' %}
|
||||
evpn {
|
||||
encapsulation vxlan;
|
||||
extended-vni-list all;
|
||||
}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
lldp {
|
||||
interface all;
|
||||
|
|
|
|||
Loading…
Reference in New Issue