Skip to content

Commit

Permalink
Enable graceful restart feature for ToR router (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-shirshov authored Mar 31, 2017
1 parent fed908f commit 823bc36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dockers/docker-fpm/bgpd.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ log facility local4
router bgp {{ minigraph_bgp_asn }}
bgp log-neighbor-changes
bgp bestpath as-path multipath-relax
{# Advertise graceful restart capability for ToR #}
{% if minigraph_devices[inventory_hostname]['type'] == 'ToRRouter' %}
bgp graceful-restart
{% endif %}
{# TODO: use lo[0] for backward compatibility, will revisit the case with multiple lo interfaces #}
bgp router-id {{ minigraph_lo_interfaces[0]['addr'] }}
{# advertise loopback #}
Expand Down

0 comments on commit 823bc36

Please sign in to comment.