summaryrefslogtreecommitdiffstats
path: root/src/plugins/mactime/mactime.api
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-06-08 12:33:13 -0400
committerFlorin Coras <florin.coras@gmail.com>2019-06-08 19:39:57 +0000
commit7681b1c469eda79003eef550fda460f48e5a08d7 (patch)
treea7bc4e892fd2b60efc2b39775487f51c524c10f0 /src/plugins/mactime/mactime.api
parent8875248f5e0602f4b4872ea12e542826df3df1f8 (diff)
mactime: add per-mac allow-with-quota feature
Specify a data limit during specified time ranges. Outside of the specified time ranges, data will be allowed. Clean up "show mactime" output. Type: feature Change-Id: Iddd6678e7ded1d0f9cb88d69c656de8d87d5694c Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/plugins/mactime/mactime.api')
-rw-r--r--src/plugins/mactime/mactime.api3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/mactime/mactime.api b/src/plugins/mactime/mactime.api
index d9049d8dbd1..3ba6464ec43 100644
--- a/src/plugins/mactime/mactime.api
+++ b/src/plugins/mactime/mactime.api
@@ -16,7 +16,7 @@
/** \file
This file defines vpp mactime control-plane API messages
*/
-option version = "1.1.0";
+option version = "1.1.1";
/** \brief api to enable or disable the time-based src mac filter on
an interface
@@ -74,6 +74,7 @@ autoreply define mactime_add_del_range
u8 is_add; /**< add=1, del=0 */
u8 drop; /**< drop flag */
u8 allow; /**< allow flag */
+ u8 allow_quota; /**< allow subject to quota */
u8 no_udp_10001; /**< drop udp to port 10001 */
u64 data_quota; /**< max bytes this device */
u8 mac_address[6]; /**< src mac address */