summaryrefslogtreecommitdiffstats
path: root/src/plugins/mactime/mactime.api
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-09-30 13:11:35 +0200
committerNeale Ranns <nranns@cisco.com>2019-09-30 15:31:56 +0000
commit7071952df81122a601ff84cccb7e1a2539a49941 (patch)
treedbd549d5d35be2e04a47a51c8ca6b9287f123f2d /src/plugins/mactime/mactime.api
parentdba00cad1a2e41b4974911793cc76eab81a6e30e (diff)
mactime: remove api boilerplate
Type: refactor Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I034cc6fb2a12d1b43b3470a1ba39cc1fe020386a
Diffstat (limited to 'src/plugins/mactime/mactime.api')
-rw-r--r--src/plugins/mactime/mactime.api2
1 files changed, 2 insertions, 0 deletions
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 = "<intfc> [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 <devname> mac <mac-addr> allow drop allow-range Mon - Fri 9:00 - 17:00";
};
/*