[Babel-users] Install and table keywords in filters (Was: automating route injection)

Baptiste Jonglez baptiste at bitsofnetworks.org
Sun Jan 15 23:31:23 UTC 2017


On Mon, Jan 09, 2017 at 10:34:40PM -0800, Dave Taht wrote:
> On Mon, Jan 9, 2017 at 5:54 AM, Baptiste Jonglez <baptiste at bitsofnetworks.org> wrote:
> > Hi Dave,
> >
> > On Fri, Jan 06, 2017 at 11:32:40AM -0800, Dave Taht wrote:
> >> The recent babel 1.8 commit into lede does not include support for the
> >> install or table keywords in filters. I can fix that....
> >
> > I seem to have missed this change, when was it introduced?
> 
> 1.8.
> 
> table, type, install are new keywords.

So, I just checked, and the init script already supports the new filter
keywords.  You can use something like:

    config filter
        option type 'install'
        option ip '10.0.0.0/8'
        option action 'table 10'

and this will be translated into babeld configuration:

    install ip 10.0.0.0/8 table 10

Baptiste
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/babel-users/attachments/20170116/ffe1e1e6/attachment.sig>


More information about the Babel-users mailing list