Re: [vpp-dev] LCP plugin - api issue report

2022-03-25 Thread Pim van Pelt
Hoi, I don't know much about the context of your problem, Petr, but I can confirm that -71 is "invalid interface" (see src/vnet/error.h) and the large number there is -1. The call also fails in Python, but there too, is also creates the LCP before failing to return properly to the client. r = vpp

Re: [vpp-dev] LCP plugin - api issue report

2022-03-25 Thread Petr Boltík
ad 2) some news introduction: - lcp_itf_pair_get reply multiple messages - lcp_itf_pair_details - lcp_itf_pair_get_reply (allways reply: &{Retval:0 Cursor:*4294967295*}) reply lcp_itf_pair_add_del_v2_reply return invalid channel (a can rewrite at the govpp and decode message) LCP add del

[vpp-dev] LCP plugin - api issue report

2022-03-23 Thread Petr Boltík
Hi, I have just found 2 issues with lcp plugin in the current MASTER branch 22.06 1. List lcp pair report invalid num, fix https://gerrit.fd.io/r/c/vpp/+/35479 (thanks to Pim). Can be merged to the master? 2. lcp_itf_pair_add_del (lcp_itf_pair_add_del_v2) lcp pair is created succesfully. Api reply