[P4-dev] Connecting Ryu openflow controller with P4 switch target

Pierce McEntagart pierce.mcentagart at barefootnetworks.com
Fri Sep 23 18:04:05 EDT 2016


Hi there,

Sorry for the late reply. This was caused by a bug in p4factory which is
now fixed.

Thanks,

Pierce

On Tue, Sep 20, 2016 at 12:36 AM, Sandaruwan Jayaweera <
sandaruwangayantha at gmail.com> wrote:

> Hi all,
>
> I'm trying to connect the switch target in the p4factory with the ryu
> openflow controller.
>
> I generated the behavioral-model in p4factory/targets/switch using
>
> *make bm-p4ofagent PLUGIN_OPENFLOW=1*
>
> I started ryu app using *ryu-manager ryu/app/simple_switch_13.py*
>
> But when I execute *sudo python **openflow_l2.py –**controller-ip
> 127.0.0.1* the 2 hosts are unable to ping.
>
> I checked the packet-dumps and the controller is receiving packet-ins and
> sending the packet-outs to the ARP packets when I use *h1 ping h2*. But
> the switch is not doing any further action. Can anyone give any hints? What
> should be the flow when running an openflow enabled target?
>
> Sandaruwan
>
>
>
> _______________________________________________
> 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/20160923/bdfbfe2c/attachment-0002.html>


More information about the P4-dev mailing list