[P4-dev] runtime_CLI.py in C/C++

Antonin Bas antonin at barefootnetworks.com
Mon May 22 13:26:59 EDT 2017


I am not aware of a C++ equivalent of the runtime_CLI. The bmv2 Thrift API
is not meant to be portable and is not available on other P4 targets, so
you should probably keep that in mind.
There is an example of a small C++ client implementing a control-plane for
L2 switching here:
It is only meant to be used with l2_switch.p4 but can be adapted for other
P4 programs.



On Mon, May 22, 2017 at 10:12 AM, Andreas Pantelopoulos <
padelopoulos at gmail.com> wrote:

> Hello,
> I am wondering if you have developed any other thrift client for the
> behavioral model in C or C++. It might as well be not fully functional or
> just a draft.
> Thanks a lot,
> Andreas
> _______________________________________________
> P4-dev mailing list
> P4-dev at lists.p4.org
> http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20170522/8312fded/attachment-0002.html>

More information about the P4-dev mailing list