Skip to content

Commit

Permalink
Update minigraph.py
Browse files Browse the repository at this point in the history
  • Loading branch information
abdosi authored Jul 1, 2023
1 parent 0d8cbf1 commit 2a17bf4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sonic-config-engine/minigraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -1946,7 +1946,8 @@ def parse_xml(filename, platform=None, port_config_file=None, asic_name=None, hw
if static_routes:
# Enable static Route BFD by default for static route in chassis-packet
if switch_type == "chassis-packet":
static_routes['bfd'] = "true"
for pfx, data in static_routes.items():
data.update({"bfd":"true"})
results['STATIC_ROUTE'] = static_routes

for nghbr in list(neighbors.keys()):
Expand Down

0 comments on commit 2a17bf4

Please sign in to comment.