Re: [Ryu-devel] Can we run ryu controller and GUI application in single command

2014-10-26 Thread Kiran Kumar
Hi Takeshi, Thanks for the mail. Yes, I did noticed that. But now my only concern is topology. Could you tell me why my liner topology appers like a mesh topology when I run with simpleswitch.py ? Or can you please point me the right source to explore it ? Thanks & Regards Kiran Rokkam On Sun, O

Re: [Ryu-devel] Can we run ryu controller and GUI application in single command

2014-10-26 Thread Yi Tseng
Hi Kiran, *./ryu/app/simple_switch_13.py *can store mac-to-port data and add flow entry to switch, when it is not running, the packet can't reach to the host because there is no flow entry in the switch and no packet-in handler (*https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_13.py#

Re: [Ryu-devel] Problem using Ryu REST with the new openvswitch2.3.0

2014-10-26 Thread Minoru TAKAHASHI
Hi, Lucio (2014年10月27日 00:28), Lucio Agostinho Rocha wrote: > Hi, > > I trying to use openvswitch 2.3.0 and Ryu. However, I getting this error > using the Ryu REST API, and my old program in openvswitch1.4.6 is not working > any more :( > Someone could help me? Any help is useful! I trying this

Re: [Ryu-devel] Can we run ryu controller and GUI application in single command

2014-10-26 Thread Kiran Kumar
Hi Takeshi, Thanks for your quick reply. I'm running following command in ubuntu. *sudo mn --topo linear,4 --mac --controller remote --switch ovsk* As suggested when I run the following command, I see a complete mesh topology instead of linear in GUI.But I achieved my purpose, I can ping the host

Re: [Ryu-devel] Ryu, mininet and VLANs

2014-10-26 Thread Yusuke Iwase
Hi, > Hi, I had the same problem as you, but I can't use OpenFlow1.3, I need to > use 1.0 version because my application should work in a physical sw with > OP1.0 support. > I tried to use 'nw_src=ipv4_to_bin(src_ip)' too and obviously throw the same > error, please if someone found a way to solve

Re: [Ryu-devel] Can we run ryu controller and GUI application in single command

2014-10-26 Thread Yi Tseng
Hi Just add your ryu application to argument PYTHONPATH=. ./bin/ryu-manager --observe-links ./ryu/app/gui_topology/gui_topology.py ./ryu/app/simple_switch_13.py Best regards. Takeshi 2014-10-27 9:02 GMT+08:00 Kiran Kumar : > Hi Team, > I'm new to RYU controller. > > I'm trying to run gui_topo

[Ryu-devel] Can we run ryu controller and GUI application in single command

2014-10-26 Thread Kiran Kumar
Hi Team, I'm new to RYU controller. I'm trying to run gui_topology app and ryu controller at the same. To start topology diagram PYTHONPATH=. ./bin/ryu run --observe-links ryu/app/gui_topology/gui_topology.py To start ryu controller PYTHONPATH=. ./bin/ryu-manager ryu/app/simple_switch_13.py

[Ryu-devel] Problem using Ryu REST with the new openvswitch2.3.0

2014-10-26 Thread Lucio Agostinho Rocha
Hi, I trying to use openvswitch 2.3.0 and Ryu. However, I getting this error using the Ryu REST API, and my old program in openvswitch1.4.6 is not working any more :( Someone could help me? Any help is useful! I trying this: # curl -X POST -d '{"dpid": "1","match": {"in_port":"2", "dl_type":"20

Re: [Ryu-devel] Using ryu.base.app_manager - Help

2014-10-26 Thread FUJITA Tomonori
On Thu, 23 Oct 2014 10:58:24 -0400 A G wrote: > Will using the ryu.base.app_manager."My App Name".reply_to_request(*req*, > *rep*) ensure that the application that I've written is still running? Not. Applications are connected with queue. So sending a request means just putting a request message

[Ryu-devel] [PATCH 1/3] fix security problem

2014-10-26 Thread FUJITA Tomonori
From: Takeshi --- ryu/app/rest_router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/app/rest_router.py b/ryu/app/rest_router.py index 3a35923..c57e003 100644 --- a/ryu/app/rest_router.py +++ b/ryu/app/rest_router.py @@ -410,7 +410,7 @@ class RouterController(Controll

Re: [Ryu-devel] [PATCH] add_arp_proxy_13

2014-10-26 Thread FUJITA Tomonori
On Fri, 24 Oct 2014 14:02:56 +0800 "川格" <[email protected]> wrote: > From a776615f17211b660e32b9ab4bc2d7df1fccd629 Mon Sep 17 00:00:00 2001 > From: muzixing <[email protected]> > Date: Fri, 24 Oct 2014 13:54:59 +0800 > Subject: [PATCH] add_arp_proxy_13 > > > arp_proxy_13 is a ryu app: > * Reply

Re: [Ryu-devel] Trouble parsing DHCP packets

2014-10-26 Thread FUJITA Tomonori
On Thu, 23 Oct 2014 14:23:27 -0400 Jeff Rasley wrote: > More specifically I am getting an "error: 'unpack_from requires a buffer of > at least 233 bytes'" error from the unpack call on 185 (my buffer appears > to be 91 bytes long). Which makes me think that the unpack string is not > representati

Re: [Ryu-devel] Issue when incoming LLDP packet is truncated

2014-10-26 Thread FUJITA Tomonori
On Thu, 23 Oct 2014 21:40:04 +0200 Benjamin Eggerstedt wrote: >> Here is a fix. > I can confirm that your fix works fine. Ryu no longer encounters an issue > when the truncated LLDP packet gets in. > Thank you! Applied, thanks for the confirmation. >> The maximu size of a packet that the switch

Re: [Ryu-devel] [PATCH] Bugfix: match_to_str() does not convert nw_tos correctly

2014-10-26 Thread FUJITA Tomonori
On Sat, 25 Oct 2014 14:55:47 +0800 "Charles M.C. Chan" wrote: > The match_to_str() function in ryu/lib/ofctl_v1_0.py does not convert > nw_tos correctly. > As a result, we cannot obtain nw_tos value of any flow entry by invoking > get_flow_stats() > A patch is provided as follows. Applied, thank