IGP Metric to MED

Ondrej Zajicek santiago at crfreenet.org
Fri Mar 22 21:10:34 CET 2019


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 the patch is not
commited), i would be glad for a better idea. Unfortunately, 'igp_metric'
cannot be used (as it represent the original property of OSPF routes,
which is technically a different property with a different access
code).

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: igp_metric.patch
Type: text/x-diff
Size: 1674 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20190322/b5f50387/attachment.bin>


More information about the Bird-users mailing list