aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/l2.api
diff options
context:
space:
mode:
authorEyal Bari <ebari@cisco.com>2017-04-27 14:07:55 +0300
committerJohn Lo <loj@cisco.com>2017-05-08 12:33:17 +0000
commit7537e717d1ca6de0e33478bc50b9f7125f04c808 (patch)
tree43006c833fe8caa85231160db94866d348a52cca /src/vnet/l2/l2.api
parent57d7dbc8bf8a49ee2421fe97bd3ed7099d2384bf (diff)
L2FIB:CLI/API to flush all non-static entries
added CLI l2fib flush-mac all added API l2fib_flush_all flushes all non static l2fib entries on all valid BDs Change-Id: Ic963c88f4bed56308c03ab43106033132a0e87be Signed-off-by: Eyal Bari <ebari@cisco.com>
Diffstat (limited to 'src/vnet/l2/l2.api')
-rw-r--r--src/vnet/l2/l2.api10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/vnet/l2/l2.api b/src/vnet/l2/l2.api
index db42d635174..e9a1f36187d 100644
--- a/src/vnet/l2/l2.api
+++ b/src/vnet/l2/l2.api
@@ -76,6 +76,16 @@ autoreply define l2_fib_clear_table
u32 context;
};
+/** \brief L2 FIB flush all entries
+ @param client_index - opaque cookie to identify the sender
+ @param context - sender context, to match reply w/ request
+*/
+autoreply define l2fib_flush_all
+{
+ u32 client_index;
+ u32 context;
+};
+
/** \brief L2 FIB flush bridge domain entries
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request