[FROG] route-map set metric

Joe Maimon jmaimon at jmaimon.com
Sun Feb 28 18:04:37 UTC 2021



Chriztoffer Hansen wrote:
> Specifically, what are you trying to do?

I am trying to run a cloud VM for targetted BGP route optimization with 
nhrp gre tunnels running OSPF for an igp and BGP to hopefully carry full 
tables.

I have gotten pretty far along on this project, but a couple sticking 
points remain.

- BGP full tables loading/kernel-route syncing can easily lock up the 
processes to the point where they dont respond properly, and more 
problematic, watchfrr kills them. Rinse, repeat.

In other words, it may not be enough to log SLOW THREAD: task 
zserv_process_messages (55f1e2bb0750) ran for 7819ms (cpu time 253ms) 
but actually implement some sort of time based thread yielding right in 
middle of large batch operations, such as loading 800000 routes or so.

- zebra protocol import route-map is strangely one sided. It would be 
ever so much more powerful to control both what protocols export to 
zebra and what they import from zebra, as well as allowing protocols to 
distinguish the source of the route from zebra.






More information about the frog mailing list