Re: IGP Metric to MED

2019-03-22 Thread Corban Johnson
I was a curious about the purpose of ‘igp_metric’ attribute while investigating this. It seems to only be used as a generic container attribute in route.h. Is there a reason that property is not exposed? Maybe ‘igp_cost’? :) > On Mar 22, 2019, at 15:10, Ondrej Zajicek wrote: > > On Fri, Mar

Re: IGP Metric to MED

2019-03-22 Thread Ondrej Zajicek
On Fri, Mar 22, 2019 at 02:56:21PM -0500, Corban Johnson wrote: > > If you want, i can send you patch to fix > > that. > > That would be very helpful, thank you :) Attached (untested). It adds read-only integer property nh_cost to access that. The name of the property is horrible (that is why

Re: IGP Metric to MED

2019-03-22 Thread Corban Johnson
> If you want, i can send you patch to fix > that. That would be very helpful, thank you :) > On Mar 22, 2019, at 14:53, Ondrej Zajicek wrote: > > On Fri, Mar 22, 2019 at 12:54:57PM -0500, Corban Johnson wrote: >> Hello, >> I am trying to set MED on a BGP route using the metric value from

Re: IGP Metric to MED

2019-03-22 Thread Ondrej Zajicek
On Fri, Mar 22, 2019 at 12:54:57PM -0500, Corban Johnson wrote: > Hello, > I am trying to set MED on a BGP route using the metric value from OSPF, but > the attributes of the next-hop route do not seem to be available in filter > evolution. Am I missing something? > > The problem seems to be

IGP Metric to MED

2019-03-22 Thread Corban Johnson
Hello, I am trying to set MED on a BGP route using the metric value from OSPF, but the attributes of the next-hop route do not seem to be available in filter evolution. Am I missing something? Example Bird 2.0 config: protocol bgp test_peer { bfd on; med