Hi,

> I think it has openvswitch its openwrt os. Is that what you mean? 

Yes.

Hmm, simple_switch_13.py works correctly in my environment.
(I used the URL below as reference.
 http://osrg.github.io/ryu-book/en/html/switching_hub.html)

My environment is as following.

$ ryu-manager --version
ryu-manager 3.22

$ ovs-ofctl --version
ovs-ofctl (Open vSwitch) 2.3.90
Compiled Apr 15 2015 14:45:13
OpenFlow versions 0x1:0x4

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"

thanks,

On 2015年06月23日 01:22, Ardalan Pouyabahar wrote:
> I think it has openvswitch its openwrt os. Is that what you mean? 
> What can I do to solve that error?
> 
> Thanks for your answer.
> 
> On Mon, Jun 22, 2015 at 10:46 AM, Minoru TAKAHASHI 
> <takahashi.mino...@gmail.com <mailto:takahashi.mino...@gmail.com>> wrote:
> 
>     Hi,
> 
>     On 2015年06月21日 19:12, Ardalan Pouyabahar wrote:
>     > Hello everyone,
>     >
>     > I run Ryu simple_switch_13.py app (without any changes) to control an 
> Openflow switch which runs openwrt (barrier breaker version). It connects 
> successfully but when I connect two devices and manually give them IPs and 
> try to ping them it gives this error:
>     >
>     > error msg ev version: 0x4 msg_type 0x1 xid 0xd8ec19b9 
> OFPErrorMsg(code=4,data='\x04\x0e\x00`\xd8\xec\x19\xb9\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x06\xb6\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x16\x80\x00\x00\x04\x03\x00\x00\x00\x80\x00\x06\x06\xe8P\x8b1\x7fP\x00\x00\x00\x04\x00\x18\x00\x00\x00\x00\x00\x00\x00\x10\x03\x00\x00\x00\xff\xe5\x00\x00\x00\x00\x00\x00',type=2)
>  type 0x2 code 0x4 0x4 0xe 0x0 0x60 0xd8 0xec 0x19 0xb9 0x0 0x0 0x0 0x0 0x0 
> 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x1 
> 0x0 0x0 0x6 0xb6 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x1 0x0 
> 0x16 0x80 0x0 0x0 0x4 0x3 0x0 0x0 0x0 0x80 0x0 0x6 0x6 0xe8 0x50 0x8b 0x31 
> 0x7f 0x50 0x0 0x0 0x0 0x4 0x0 0x18 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x10 0x3 0x0 
> 0x0 0x0 0xff 0xe5 0x0 0x0 0x0 0x0 0x0 0x0
>     >
>     > I once tried to the simple monitor app too for network monitoring and 
> got the same error in the same scenario.
>     > What is the problem here? My device is Linksys e3000 with Openwrt 
> (barrier breaker version) which is Openflow 1.3 enabled.
> 
>     > error msg ev version: 0x4 msg_type 0x1
> 
>     This error means the following.
> 
>      OFPBAC_BAD_OUT_PORT = 4, /* Problem validating output port. */
> 
>     What switch do you use on your device?
>     ex. openvswitch, cpqd, Linc,,,
> 
>     thanks,
> 
>     >
>     > Thanks in advance,
>     > Ardalan
>     >
>     >
>     > 
> ------------------------------------------------------------------------------
>     >
>     >
>     >
>     > _______________________________________________
>     > Ryu-devel mailing list
>     > Ryu-devel@lists.sourceforge.net <mailto:Ryu-devel@lists.sourceforge.net>
>     > https://lists.sourceforge.net/lists/listinfo/ryu-devel
>     >
> 
> 

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to