X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Flisp-cp%2Fone.api;h=14f6d47fd1535535f8640adaed2e65fafd207342;hb=974cdc6faacc49ef393eeea6e4c9643f767d2792;hp=38937a3eda9c3d7d5058aecde8b35dea665969ca;hpb=04f8d3fe25ab8f7088d6817350903197915e7669;p=vpp.git diff --git a/src/vnet/lisp-cp/one.api b/src/vnet/lisp-cp/one.api index 38937a3eda9..14f6d47fd15 100644 --- a/src/vnet/lisp-cp/one.api +++ b/src/vnet/lisp-cp/one.api @@ -13,6 +13,13 @@ * limitations under the License. */ +typeonly manual_print manual_endian define one_local_locator +{ + u32 sw_if_index; + u8 priority; + u8 weight; +}; + /** \brief add or delete locator_set @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @@ -28,7 +35,7 @@ manual_endian manual_print define one_add_del_locator_set u8 is_add; u8 locator_set_name[64]; u32 locator_num; - vl_api_local_locator_t locators[locator_num]; + vl_api_one_local_locator_t locators[locator_num]; }; /** \brief Reply for locator_set add/del @@ -398,6 +405,14 @@ define show_one_map_request_mode_reply u8 mode; }; +typeonly manual_endian manual_print define one_remote_locator +{ + u8 is_ip4; + u8 priority; + u8 weight; + u8 addr[16]; +}; + /** \brief add or delete remote static mapping @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @@ -430,7 +445,7 @@ manual_print manual_endian define one_add_del_remote_mapping u8 seid[16]; u8 seid_len; u32 rloc_num; - vl_api_remote_locator_t rlocs[rloc_num]; + vl_api_one_remote_locator_t rlocs[rloc_num]; }; /** \brief Reply for one_add_del_remote_mapping