netbox
Daniel Ankers 2024-07-04 15:07:57 +01:00
parent bb7a882a46
commit 1392e221c7
1 changed files with 2 additions and 0 deletions

View File

@ -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;