Skip to content

Commit

Permalink
Added comment to FRR conf template
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhenhong Zhao committed Jan 13, 2021
1 parent da9a9a1 commit e5874c1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
! template: bgpd/bgpd.conf.db.j2
!
! BGP configuration using config DB BGP instance tables
!
{# ------------------------------------------------------------------------------------ #}
{% include "bgpd.conf.db.pref_list.j2" %}
{# ------------------------------------------------------------------------------------ #}
Expand Down
4 changes: 4 additions & 0 deletions src/sonic-frr-mgmt-framework/templates/ospfd/ospfd.conf.j2
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
! template: ospfd/ospfd.conf.j2
!
! OSPF configuration using config DB OSPF instance tables
!
{% include "ospfd.conf.db.comm_list.j2" %}
{% include "ospfd.conf.db.interface.j2" %}
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
! template: staticd/staticd.db.conf.j2
!
! Static Route configuration using config DB static route table
!
{% macro iproute(ip_prefix, nh_blackhole, nh_ip, nh_intf, nh_dist, nh_tag, nh_vrf) %}
{%- set ns = namespace(str = None) %}
{%- set ip_addr = ip_prefix.split('/')[0] %}
Expand Down

0 comments on commit e5874c1

Please sign in to comment.