Skip to content

Commit

Permalink
[docker-fpm]: T0 devices receive routes containing one occurrence of …
Browse files Browse the repository at this point in the history
…their own ASN (#271)
  • Loading branch information
jleveque authored and Shuotian Cheng committed Feb 7, 2017
1 parent 8901112 commit 522585a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dockers/docker-fpm/bgpd.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ router bgp {{ minigraph_bgp_asn }}
{% if bgp_session['asn'] != 0 %}
neighbor {{ bgp_session['addr'] }} remote-as {{ bgp_session['asn'] }}
neighbor {{ bgp_session['addr'] }} description {{ bgp_session['name'] }}
{% if minigraph_devices[inventory_hostname]['type'] == 'ToRRouter' %}
neighbor {{ bgp_session['addr'] }} allowas-in 1
{% endif %}
{% if bgp_session['addr'] | ipv6 %}
address-family ipv6
neighbor {{ bgp_session['addr'] }} activate
Expand Down

0 comments on commit 522585a

Please sign in to comment.