linux-cp: add add_del_v3 and get_v2 methods 56/40456/2
authorAnton Nikolaev <anikolaev@netgate.com>
Tue, 30 Jan 2024 11:54:00 +0000 (11:54 +0000)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Mon, 11 Mar 2024 20:18:24 +0000 (20:18 +0000)
commit1200c799d0b346f28deb76daa8f643e771976da7
tree3c954f21407286d0828a8e490bba58cc7737f47e
parent4991354309cd71dee8f9e8c2964e6c7f117d5119
linux-cp: add add_del_v3 and get_v2 methods

Added vl_api_lcp_itf_pair_add_del_v3_t_handler method, it can return
vif_index in reply. Also added vl_api_lcp_itf_pair_get_v2_t_handler
methods, this method is able to dump only one lcp pair or dump all
lcp pairs via stream_msg.

Type: improvement
Change-Id: I1d25344ee57f8fac8b857bb3a9a03116230b4d2c
Signed-off-by: Anton Nikolaev <anikolaev@netgate.com>
(cherry picked from commit 83ad79d69a09f504ba6ce3325fc165648eb55daa)
src/plugins/linux-cp/lcp.api
src/plugins/linux-cp/lcp_api.c