8457248d01
Now it's possible to add and remove peers based on ConfigDB - What I did Fixed functionality for dynamically adding/removing static bgp peers. - How I did it Split the bgp default template on bgp part and bgp peer part Changed bgpcfgd to use 1. - How to verify it Build an image and run on your DUT
19 lines
452 B
Django/Jinja
19 lines
452 B
Django/Jinja
!
|
|
{% block banner %}
|
|
! =========== Managed by sonic-cfggen DO NOT edit manually! ====================
|
|
! generated by templates/quagga/bgpd.conf.j2 with config DB data
|
|
! file: bgpd.conf
|
|
!
|
|
{% endblock banner %}
|
|
!
|
|
{% include "daemons.common.conf.j2" %}
|
|
!
|
|
agentx
|
|
!
|
|
{% if DEVICE_METADATA['localhost']['type'] == "SpineChassisFrontendRouter" %}
|
|
{% include "bgpd.conf.spine_chassis_frontend_router.j2" %}
|
|
{% endif %}
|
|
!
|
|
{% include "bgpd.conf.default.j2" %}
|
|
!
|