diff options
author | Eyal Bari <ebari@cisco.com> | 2017-04-04 04:46:32 +0300 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2017-04-04 19:00:37 +0000 |
commit | fead670ae0a8323d8cd14e2cfad1fb8c25a48a99 (patch) | |
tree | 7e541e98aeee7dee5c7dbd36550ea54896c8a1f6 /src/vnet/l2/l2.api | |
parent | a8ed6bd9ded4cbfff01f49571272e59def9f4010 (diff) |
BD/API:add bridge_domain_set_mac_age api
Change-Id: Ic2d33b31ba88f6d9602a22439865637d98cf4a33
Signed-off-by: Eyal Bari <ebari@cisco.com>
Diffstat (limited to 'src/vnet/l2/l2.api')
-rw-r--r-- | src/vnet/l2/l2.api | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/vnet/l2/l2.api b/src/vnet/l2/l2.api index 061990c0265..81b75858bce 100644 --- a/src/vnet/l2/l2.api +++ b/src/vnet/l2/l2.api @@ -146,6 +146,30 @@ define l2_flags_reply u32 resulting_feature_bitmap; }; +/** \brief L2 bridge domain set mac age + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @param bd_id - the bridge domain to create + @param mac_age - mac aging time in min, 0 for disabled +*/ +define bridge_domain_set_mac_age +{ + u32 client_index; + u32 context; + u32 bd_id; + u8 mac_age; +}; + +/** \brief Set bridge domain response + @param context - sender context, to match reply w/ request + @param retval - return code for the set l2 bits request +*/ +define bridge_domain_set_mac_age_reply +{ + u32 context; + i32 retval; +}; + /** \brief L2 bridge domain add or delete request @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request |