From ef3c11ca93b651611af33ab3e5d64217504d221d Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Mon, 14 Oct 2019 11:26:15 -0400 Subject: mactime: add the "mactime.json" builtin URL If the http static server plugin is enabled, register the name "mactime.json" with the server. Visiting /mactime.json produces a json brain-dump of the mactime table. Type: feature Signed-off-by: Dave Barach Change-Id: Ie39b0c776675864a85251b8c07fbf719d399f6de --- src/plugins/mactime/mactime.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/mactime/mactime.h') diff --git a/src/plugins/mactime/mactime.h b/src/plugins/mactime/mactime.h index 2ce1cf97c72..61160f87fd0 100644 --- a/src/plugins/mactime/mactime.h +++ b/src/plugins/mactime/mactime.h @@ -89,6 +89,7 @@ extern vlib_node_registration_t mactime_node; extern vlib_node_registration_t mactime_tx_node; void mactime_send_create_entry_message (u8 * mac_address); +void mactime_url_init (vlib_main_t * vm); /* Periodic function events */ #define MACTIME_EVENT1 1 -- cgit 1.2.3-korg