X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fmpls%2Fmpls.api;h=5d775dafdfc7f26c01b27805e470294b4299352f;hb=8d61c59c3;hp=4c164bb2bf22dc1e4b7bc222d79701ccfd4baec3;hpb=7e43005d4daea3614a216b582fa0870b3a91feb5;p=vpp.git diff --git a/src/vnet/mpls/mpls.api b/src/vnet/mpls/mpls.api index 4c164bb2bf2..5d775dafdfc 100644 --- a/src/vnet/mpls/mpls.api +++ b/src/vnet/mpls/mpls.api @@ -92,6 +92,26 @@ define mpls_tunnel_details vl_api_mpls_tunnel_t mt_tunnel; }; +/** \brief Dump mpls enabled interface(s) + @param client_index - opaque cookie to identify the sender + @param sw_if_index - sw_if_index of a specific interface, or -1 (default) + to return all MPLS enabled interfaces +*/ +define mpls_interface_dump +{ + u32 client_index; + u32 context; + vl_api_interface_index_t sw_if_index [default=0xffffffff]; +}; + +/** \brief mpls enabled interface details +*/ +define mpls_interface_details +{ + u32 context; + vl_api_interface_index_t sw_if_index; +}; + /** \brief MPLS Route Add / del route @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request