summaryrefslogtreecommitdiff
path: root/zebra/zebra_ns.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-02-13 22:38:47 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-02-23 07:08:36 -0500
commitae825b8bf07764dc77248c83249c57a26ba2fd2b (patch)
treee2a3772f8b5f9ed746c35b961235b7dc964e3678 /zebra/zebra_ns.h
parent36064c0d9bb0a123c9a34919e58fa8dfed53b007 (diff)
zebra: Add code to display interesting tables
With the ability of zebra to handle random tables, add code to display those tables via the show <ip|ipv6> route table (1-...) [json] command. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_ns.h')
-rw-r--r--zebra/zebra_ns.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_ns.h b/zebra/zebra_ns.h
index 29905ccad3..765f2c6893 100644
--- a/zebra/zebra_ns.h
+++ b/zebra/zebra_ns.h
@@ -77,6 +77,8 @@ int zebra_ns_init(void);
int zebra_ns_enable(ns_id_t ns_id, void **info);
int zebra_ns_disable(ns_id_t ns_id, void **info);
+extern struct route_table *zebra_ns_find_table(struct zebra_ns *zns,
+ uint32_t tableid, afi_t afi);
extern struct route_table *zebra_ns_get_table(struct zebra_ns *zns,
struct zebra_vrf *zvrf,
uint32_t tableid, afi_t afi);