Return evpn configuration into bgp templates (#3693)
This commit is contained in:
parent
8dbe13c4cc
commit
6cc1f99975
@ -24,6 +24,14 @@
|
||||
{% endif %}
|
||||
{% if bgp_session['nhopself'] | int != 0 %}
|
||||
neighbor {{ neighbor_addr }} next-hop-self
|
||||
{% endif %}
|
||||
{% if bgp_session["asn"] == DEVICE_METADATA['localhost']['bgp_asn']
|
||||
and DEVICE_METADATA['localhost']['type'] == "SpineChassisFrontendRouter"
|
||||
and (not bgp_session.has_key("local_addr") or bgp_session["local_addr"] not in interfaces_in_vnets) %}
|
||||
address-family l2vpn evpn
|
||||
neighbor {{ neighbor_addr }} activate
|
||||
advertise-all-vni
|
||||
exit-address-family
|
||||
{% endif %}
|
||||
neighbor {{ neighbor_addr }} activate
|
||||
exit-address-family
|
||||
|
Loading…
Reference in New Issue
Block a user