aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/l2_bd.h
diff options
context:
space:
mode:
authorChoonho Son <choonho.son@gmail.com>2017-03-29 20:07:45 +0900
committerJohn Lo <loj@cisco.com>2017-04-01 18:01:17 +0000
commit054807960a92e477563321720cf8750909d72d7e (patch)
tree51cbfb0477b07eb365f4d7e829cafffc5e25e3d7 /src/vnet/l2/l2_bd.h
parentf9f4065354d665c9b23931afbc23106549cf1d16 (diff)
CLI: create/delete bridge-domain
Added new CLI command - create bridge-domain <bridge-domain-id> - create bridge-domain <bridge-domain-id> del Change-Id: I1a7d632c7daa3c37b7f424a184e8fabd489518e9 Signed-off-by: Choonho Son <choonho.son@gmail.com>
Diffstat (limited to 'src/vnet/l2/l2_bd.h')
-rw-r--r--src/vnet/l2/l2_bd.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vnet/l2/l2_bd.h b/src/vnet/l2/l2_bd.h
index 5c2502d9f9b..83733411a42 100644
--- a/src/vnet/l2/l2_bd.h
+++ b/src/vnet/l2/l2_bd.h
@@ -91,6 +91,18 @@ typedef struct
} l2_bridge_domain_t;
+typedef struct
+{
+ u32 bd_id;
+ u8 flood;
+ u8 uu_flood;
+ u8 forward;
+ u8 learn;
+ u8 arp_term;
+ u8 mac_age;
+ u8 is_add;
+} l2_bridge_domain_add_del_args_t;
+
/* Return 1 if bridge domain has been initialized */
always_inline u32
bd_is_valid (l2_bridge_domain_t * bd_config)