From 6bb77dec7074e6b7b27d6bc94238bcddda375a66 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Fri, 21 May 2021 09:47:08 +0000 Subject: linux-cp: A V2 variant of pair create API that returns the host interface created Type: improvement Signed-off-by: Neale Ranns Change-Id: I31a83cd50513078895078bae3ae11372d351ddcd --- src/plugins/linux-cp/lcp.api | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/plugins/linux-cp/lcp.api') diff --git a/src/plugins/linux-cp/lcp.api b/src/plugins/linux-cp/lcp.api index 5bde88082df..319dd3e6483 100644 --- a/src/plugins/linux-cp/lcp.api +++ b/src/plugins/linux-cp/lcp.api @@ -79,6 +79,22 @@ autoreply autoendian define lcp_itf_pair_add_del vl_api_lcp_itf_host_type_t host_if_type; string namespace[32]; /* LCP_NS_LEN */ }; +autoendian define lcp_itf_pair_add_del_v2 +{ + u32 client_index; + u32 context; + bool is_add; + vl_api_interface_index_t sw_if_index; + string host_if_name[16]; /* IFNAMSIZ */ + vl_api_lcp_itf_host_type_t host_if_type; + string namespace[32]; /* LCP_NS_LEN */ +}; +define lcp_itf_pair_add_del_v2_reply +{ + u32 context; + i32 retval; + vl_api_interface_index_t host_sw_if_index; +}; /** \brief Dump Linux Control Plane interface pair data @param client_index - opaque cookie to identify the sender -- cgit 1.2.3-korg