Gabriel, > I am looking at the get_node_graph() api function, for use in python. > It returns a u64 reply_in_shmem value which points to the shared memory and > must then be processed by vlib_node_unserialize() (as is done in vat) but I > only saw such a function in C. > Is there any way to do this in python ? (other languages should have the same > issue). > > Also, I had a look at the the cli api function (which works the same way) and > saw that it had an cli_inband version which apparently was designed to > replace the cli api function because it was using shared memory > (https://gerrit.fd.io/r/#/c/2575/) > Should the get_node_graph api function also get an *_inband version ?
Yes. That's also a prerequisite for alternate transports like the socket API. I think Chris is working on it. Cheers, Ole
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev