Hi,

There is no such mechanism.
Maybe call fib_table_entry_path_remove() on each prefix for which you 
previously added such a path. I’m assuming you added it, it’s not polite to 
remove some-one else’s path.

FIB already reacts to certain changes, like interface down or BFD down and 
adjust forwarding accordingly. If your path is temporaily down, you might 
consider a backwalk from it in a similar manner.

/neale


From: <[email protected]> on behalf of "abbas ali chezgi via Lists.Fd.Io" 
<[email protected]>
Reply to: "[email protected]" <[email protected]>
Date: Monday 11 November 2019 at 08:59
To: Vpp-dev <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: [vpp-dev] how to remove all route paths with specific condition

hello,

i want to remove route path entries based on some conditions and i found that i 
can use  fib_path_list_walk for this purpose.
but fib_path_list.h is not public header and i cant use it.

is there any way to find and remove all path entries in fib based on some path 
criteria.

thanks.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14555): https://lists.fd.io/g/vpp-dev/message/14555
Mute This Topic: https://lists.fd.io/mt/52400061/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to