Skip to content

Commit

Permalink
[doc][static-route]: update static route bfd deletion section
Browse files Browse the repository at this point in the history
should no data carried in the event of key deletion
  • Loading branch information
baorliu committed Jan 13, 2023
1 parent 827052b commit c068f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/static-route/SONiC_static_route_bfd_hld.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ When a new static route is added to config_db STATIC_ROUTE_TABLE, the following
1. if the is no prefix in that nexthop entry, delete the corresponding BFD sessions (from redis appl_db and state_db) and delete that nexhop entry

## Deleting static route flow
* 1\. BfdRouteMgr is notified and gets the prefix. Skip this route if there is no "bfd" field or "bfd"="false".
* 1\. BfdRouteMgr is notified and gets the prefix.
* 2\. BfdRouteMgr check TABLE_CONFIG to see if the route is already in this table
* If the route is NOT in the table, done (should not happen)
* If the route is in the table, For each nexthop in the static route entry:
Expand Down

0 comments on commit c068f5f

Please sign in to comment.