[P4-dev] Reg: P4 integration with RYU Controller

Carmelo Cascone carmelo at onlab.us
Wed Mar 30 12:17:00 EDT 2016


Hi Rishi,

As Yi mentioned, at ONLab we are currently working on the implementation of a P4 southbound driver for ONOS to control the BMv2 softswitch.

If you want to extend Ryu to control the BMv2 you can have a look at the runtime_CLI (https://github.com/p4lang/behavioral-model/blob/master/tools/runtime_CLI.py).
It is written in Python (as Ryu) and it uses Apache Thrift APIs to add/remove table entries, get port informations and other operations.

Best,
Carmelo

—
Carmelo Cascone
Research Scholar Intern, ON.Lab



> On Mar 30, 2016, at 8:44 AM, Rishi Sahay <basusahay at gmail.com> wrote:
> 
> Hello,
> 
>  I would like to know, currently which controller support the P4 language. 
> 
> On Wed, Mar 30, 2016 at 10:28 AM, Yi Tseng <a86487817 at gmail.com <mailto:a86487817 at gmail.com>> wrote:
> Hi.
> 
> Currently, Ryu does not support P4 switch.
> 
> You need to add P4 southbound driver to ryu.
> 
> 2016-03-30 16:21 GMT+08:00 Rishi Sahay <basusahay at gmail.com <mailto:basusahay at gmail.com>>:
> Hello,
> 
>  I am new to P4 language. I am working with RYU controller. I would like to know how I can integrate P4 language with RYU controller, what packages I need to install to work with P4 language in RYU controller. Thank in advance.
> 
> -- 
> Best regards
>   Rishikesh Sahay
>   Researcher
>   University of Pierre and Marie Curie
>   https://sites.google.com/site/basusahay/ <https://sites.google.com/site/basusahay/>
> _______________________________________________
> P4-dev mailing list
> P4-dev at lists.p4.org <mailto:P4-dev at lists.p4.org>
> http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org <http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org>
> 
> 
> 
> -- 
> Yi Tseng (a.k.a Takeshi)
> Taiwan National Chiao Tung University
> Department of Computer Science
> W2CNLab
> 
> http://takeshi.tw <http://takeshi.tw/>
> 
> 
> 
> -- 
> Best regards
>   Rishikesh Sahay
>   Researcher
>   University of Pierre and Marie Curie
>   https://sites.google.com/site/basusahay/ <https://sites.google.com/site/basusahay/>_______________________________________________
> 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/20160330/a3130c25/attachment-0002.html>


More information about the P4-dev mailing list