route-map reducing or increasing local-preference
-
Hello there,
In my evaluation of TNSR, I have been building policies from our existing routers. It seems that TNSR does not cater for any arithmatic when setting local-preference. I would like to achieve the following:
route dynamic route-map lp-pop-change
sequence 10
policy permit
set local-preference -20
exit
exitI took a look at the FRR manual and it does cater for (+ or -) values when setting local-preference. Is this something that would ever be on the roadmap? I assume it would be just changing the yang files?
-
I have created a patch that achieves incrementing and decrementing the local-preference. It is the first time I have worked with yang, but I think I have checked all the boxes.
Hopefully this is useful for others.