From 7071952df81122a601ff84cccb7e1a2539a49941 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Mon, 30 Sep 2019 13:11:35 +0200 Subject: mactime: remove api boilerplate Type: refactor Signed-off-by: Ole Troan Change-Id: I034cc6fb2a12d1b43b3470a1ba39cc1fe020386a --- src/plugins/mactime/mactime.api | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/mactime/mactime.api') diff --git a/src/plugins/mactime/mactime.api b/src/plugins/mactime/mactime.api index 5d5731bc75b..edad2c48362 100644 --- a/src/plugins/mactime/mactime.api +++ b/src/plugins/mactime/mactime.api @@ -28,6 +28,7 @@ autoreply define mactime_enable_disable u32 context; /**< application context */ u8 enable_disable; /**< enable=1, disable=0 */ u32 sw_if_index; /**< the interface handle */ + option vat_help = " [disable]"; }; /** \brief a time range structure @@ -82,6 +83,7 @@ autoreply define mactime_add_del_range u32 count; /**< number of time ranges to follow */ /** time ranges, in seconds since Sunday began */ vl_api_time_range_t ranges[count]; + option vat_help = "name mac allow drop allow-range Mon - Fri 9:00 - 17:00"; }; /* -- cgit 1.2.3-korg