summaryrefslogtreecommitdiffstats
path: root/ripd/ripd.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2018-05-09 06:35:04 +0200
committerRenato Westphal <renato@opensourcerouting.org>2018-10-27 20:16:12 +0200
commit1137aef48fee571e51a1445e76647359d5701922 (patch)
tree2f8e98b4d4057f9717fe8e176675ac84d1ef2c4b /ripd/ripd.h
parentripd: implement northbound callbacks to fetch route information (diff)
downloadfrr-1137aef48fee571e51a1445e76647359d5701922.tar.xz
frr-1137aef48fee571e51a1445e76647359d5701922.zip
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>
Diffstat (limited to 'ripd/ripd.h')
-rw-r--r--ripd/ripd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ripd/ripd.h b/ripd/ripd.h
index 81e97f842..367b1d5bf 100644
--- a/ripd/ripd.h
+++ b/ripd/ripd.h
@@ -437,6 +437,7 @@ extern void rip_distance_free(struct rip_distance *rdistance);
extern uint8_t rip_distance_apply(struct rip_info *);
extern void rip_redistribute_clean(void);
+extern int rip_route_rte(struct rip_info *rinfo);
extern struct rip_info *rip_ecmp_add(struct rip_info *);
extern struct rip_info *rip_ecmp_replace(struct rip_info *);
extern struct rip_info *rip_ecmp_delete(struct rip_info *);