X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fpolicer%2Fpolicer.api;h=f4bf9384f104e10df2ec91ff076252bee5a5b344;hb=e5a3ae017;hp=a664ab0be76b6463e8935ea36a418293a17035f0;hpb=0ec1c6dc68570b8b824ff55205b4b133bffbf9e4;p=vpp.git diff --git a/src/vnet/policer/policer.api b/src/vnet/policer/policer.api index a664ab0be76..f4bf9384f10 100644 --- a/src/vnet/policer/policer.api +++ b/src/vnet/policer/policer.api @@ -52,6 +52,23 @@ autoreply define policer_input bool apply; }; +/** \brief policer output: Apply policer as an output feature. + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @param name - policer name + @param sw_if_index - interface to apply the policer + @param apply - Apply/remove +*/ +autoreply define policer_output +{ + u32 client_index; + u32 context; + + string name[64]; + vl_api_interface_index_t sw_if_index; + bool apply; +}; + /** \brief Add/del policer @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request