[PATCH 2/4] Static protocol supports SADR

Ondrej Zajicek santiago at crfreenet.org
Mon May 22 13:57:29 CEST 2017


On Sun, May 21, 2017 at 11:01:35PM +0200, Dean Luga wrote:
> From: dean <dluga93 at gmail.com>
> 
> A new channel, sadr_ip6, is used for SADR both in the kernel
> and static protocols. In the static protocol, routes can be
> inserted with the following syntax:
> 
> route <dst_prefix> from <src_prefix> via "interface"
> route <dst_prefix> from <src_prefix> recursive <ip>

Hi

You should add parsing of SADR networks to conf/confbase.Y together with
other network types in net_ nonterminal symbol. That would add support
of SADR to static procotol automatically.

Also, SADR-based recursive routes seems like a whole new can of worms.
And we are currently rethinking recursive routes internally. Perhaps
you could postpone changes to hostentry and stick with SADR recursive
routes dependent on non-SADR IGP tables, which fits to the current
framework. Note that this was updated in 2.0-pre1 so that for other
network types than IP4/IP6, igp tables are of type IP4/IP6.

-- 
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: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20170522/37ae9623/attachment.asc>


More information about the Bird-users mailing list