linux-cp: add add_del_v3 and get_v2 methods 77/40277/2
authorAnton Nikolaev <anikolaev@netgate.com>
Tue, 30 Jan 2024 11:54:00 +0000 (11:54 +0000)
committerAnton Nikolaev <anikolaev@netgate.com>
Tue, 30 Jan 2024 12:07:12 +0000 (12:07 +0000)
commit83ad79d69a09f504ba6ce3325fc165648eb55daa
tree9ba39948d45130fdf2fedb3309fa00039e8dbcb7
parentac0babd412e3b5282136a5c5c5be2c4cc4be6895
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>
src/plugins/linux-cp/lcp.api
src/plugins/linux-cp/lcp_api.c