]> git.proxmox.com Git - mirror_frr.git/commit - ripngd/ripng_zebra.c
ripngd: retrofit the 'redistribute' commands to the new northbound model
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 29 Nov 2018 05:06:38 +0000 (03:06 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 3 Dec 2018 15:47:58 +0000 (13:47 -0200)
commitdb2038c7827f4214059481b0551c98d65178cef5
treea6d4ebba56e94ab17370cbe25decd3b810468b30
parent22e8c7ae642026865234741b9a9bb50df79378bf
ripngd: retrofit the 'redistribute' commands to the new northbound model

Trivial conversion. As usual, combine multiple DEFUNs into a single
DEFPY for simplicity.

As a bonus of the northbound conversion, this commit fixes the
redistribution of certain protocols into ripngd. The 'redist_type'
array used by the "redistribute" commands was terribly outdated,
which was preventing the CLI to parse correctly certain protocols
like isis and babel.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ripngd/ripng_cli.c
ripngd/ripng_cli.h
ripngd/ripng_northbound.c
ripngd/ripng_zebra.c
ripngd/ripngd.c
ripngd/ripngd.h