]> git.proxmox.com Git - mirror_frr.git/commit
ripd: implement the 'clear-rip-route' YANG RPC
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 9 May 2018 04:35:04 +0000 (01:35 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Sat, 27 Oct 2018 18:16:12 +0000 (16:16 -0200)
commit1137aef48fee571e51a1445e76647359d5701922
tree2f8e98b4d4057f9717fe8e176675ac84d1ef2c4b
parent6270ce38adf705ad07e5d341a8ff049751e365e5
ripd: implement the 'clear-rip-route' YANG RPC

This command deletes all received routes from the RIP routing table.
It should be used with caution as it can create black holes in the
network until RIP reconverges. Very useful to make automated testing
(e.g. ANVL) more predictable, since the internal state of ripd can be
cleared after each test.

Implement the command using a YANG RPC so that it can be executed by
other northbound clients in addition to the CLI.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ripd/rip_cli.c
ripd/rip_northbound.c
ripd/ripd.c
ripd/ripd.h