Re: [Ryu-devel] [PATCH 1/2] '__div__' is renamed to '__truediv__' in Python 3

2015-04-12 Thread Satoshi KOBAYASHI
Oops, I found careless miss. I'll retransmit. 2015-04-13 12:41 GMT+09:00 Satoshi Kobayashi : > --- > ryu/lib/packet/packet.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/ryu/lib/packet/packet.py b/ryu/lib/packet/packet.py > index 2042dd7..65ad781 100644 > --- a/ryu/lib/packet/packet

Re: [Ryu-devel] Increasing timeouts

2015-04-12 Thread Yusuke Iwase
Hi Govind, Did you get any error messages from ryu-manager? If not, first, please check OpenFlow version of your swtich. ("simple_switch.py" is OpenFlow 1.0 App.) And, by capturing packet with Wireshark, you can get the helpful information for debug. (e.g. whether Controller sends FlowMod messag

Re: [Ryu-devel] Increasing timeouts

2015-04-12 Thread Govind Prasad
Hi Yusuke, Thanks for the suggestion, I tried the following code in "simple_switch.py" however when I send TCP packets from h1 to h2 using iperf in mininet, the packets are getting transmitted but the flows are not getting written in the switch table: @set_ev_cls(ofp_event.EventOFPPacketIn, MAIN_

[Ryu-devel] [PATCH 2/2] 'range' returns iterator like object in Python 3

2015-04-12 Thread Satoshi Kobayashi
--- ryu/contrib/_eventlet/websocket.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ryu/contrib/_eventlet/websocket.py b/ryu/contrib/_eventlet/websocket.py index 4a07c8d..b18df66 100644 --- a/ryu/contrib/_eventlet/websocket.py +++ b/ryu/contrib/_eventlet/websocket.p

[Ryu-devel] [PATCH 1/2] '__div__' is renamed to '__truediv__' in Python 3

2015-04-12 Thread Satoshi Kobayashi
--- ryu/lib/packet/packet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ryu/lib/packet/packet.py b/ryu/lib/packet/packet.py index 2042dd7..65ad781 100644 --- a/ryu/lib/packet/packet.py +++ b/ryu/lib/packet/packet.py @@ -143,3 +143,4 @@ def _PacketBase__div__(self, trailer): return pk

[Ryu-devel] ?????? ?????? ?????? sdn

2015-04-12 Thread ??????
Hi, Thank you for your reply!I run as you say,but the result is still 404 error.I consider whether the reason is about version. mininet:2.1.1(ryubook:2.0.0) ryu:3.11(ryubook:3.2) OpenFlow:2.1.1(ryubook:1.11.0) Thanks! -- -- ??: "Minoru TAKAHASHI";

Re: [Ryu-devel] ryu per-flow qos not working

2015-04-12 Thread Minoru TAKAHASHI
Hi, On 2015年04月10日 21:32, kkxue wrote: > Hi,Minoru > Thank you for your reply! > yes,you are right, the flows i added is unnecessary. > > i find out that v350 should go to multi_table profile to support table0 and > table1. > so now i ryu can add controller flow normally, > -

Re: [Ryu-devel] get all flows from a switch and delete certain flows by matching codition

2015-04-12 Thread Yusuke Iwase
Hi Sakib, You can get all the flows by using OFPFlowStatsRequest and OFPFlowStatsReply message. http://ryu.readthedocs.org/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPFlowStatsRequest http://ryu.readthedocs.org/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_pa

Re: [Ryu-devel] ?????? ?????? sdn

2015-04-12 Thread Minoru TAKAHASHI
Hi, Please don't drop the mailing list. On 2015??04??10?? 11:44, ?? wrote: > hi, > I do like you said ,but still the 404 error > I do not know if ther any error in my operation > > > Thanks! Hmm ,,,it looks to not seem wrong. Are you running the same procedure as RYU-BOOK? Error does not

Re: [Ryu-devel] Increasing timeouts

2015-04-12 Thread Yusuke Iwase
Hi Govind, > 4. If port numbe is greater than 5000, idle timeout is 100 seconds. You can parse the Packet-In data and get the port number by using packet library. e.g.) @set_ev_cls(ofp_event.EventOFPPacketIn, MAIN_DISPATCHER) def _packet_in_handler(self, ev): msg = ev.msg

Re: [Ryu-devel] Question about the VM you suggest for Tutorial

2015-04-12 Thread Yusuke Iwase
Hi Andrea, As you say, VM image on "OpenFlow Tutorial" uses old Ubuntu version, but you can use Docker instead. How about using this? To get Ryu Docker image, please refer the following announcement. (http://sourceforge.net/p/ryu/mailman/message/32659541/) Thanks, Iwase On 2015年04月13日 05:11, A

Re: [Ryu-devel] download a previous version of Ryu controller

2015-04-12 Thread Satoshi KOBAYASHI
Hi Juan, You can download from the followings. https://github.com/osrg/ryu/releases https://github.com/osrg/ryu/archive/v3.17.tar.gz https://pypi.python.org/simple/ryu/ https://pypi.python.org/packages/source/r/ryu/ryu-3.17.tar.gz And there is also a method using pip. # pip install ryu==3.17

Re: [Ryu-devel] Add flow entry to specific switch

2015-04-12 Thread Yusuke Iwase
Hi mehran, What do you exactly mean "specify the switch"? What you want to do is to get all dpid connecting to the controller, and to install a flow into the specified switch, right? Ryu provides APIs to get all Datapath instance connecting to Ryu. How about using this APIs? (http://ryu.readthedo

Re: [Ryu-devel] Stp on Openvswitch

2015-04-12 Thread Yusuke Iwase
Hi Vardhan, Thank you for sending the log. It seemed that dpid is not matching. > EVENT ofp_event->stplib EventOFPStateChange > [STP][INFO] dpid=0004: Join as stp bridge. > [STP][INFO] dpid=0002: Join as stp bridge. > [STP][INFO] dpid=0001: Join as stp bridge.

Re: [Ryu-devel] Increasing timeouts

2015-04-12 Thread Govind Prasad
Hi yusuke, Thanks fir the info however can you please specify how to implement the following scenario: 1. Iperf client send the tcp message on port 8000 2. Iperf server receives the tcp port through ovs 3. Ryu asks the ovs to write the flow with default values 4. If port numbe is greater than 5

[Ryu-devel] get all flows from a switch and delete certain flows by matching codition

2015-04-12 Thread MD.Badruzzaman Shakib
Hi, I want to get all the flows from a switch in my application(not using Curl). I already have flows in my switches for destination ip match. After extracting all the flows I want to find the flows for certain destination ip and delete it. Can anyone please give me an idea how can I do it? it w

[Ryu-devel] Question about the VM you suggest for Tutorial

2015-04-12 Thread Andrea Gussoni
Hi, I'm Andrea, a computer science student at Politecnico di Milano. In our course of "Piattaforme software per la rete" that translated sounds like "Software platforms for the network" we are using for practicing with SDN technologies (especially ryu) the VM you suggest in your "OpenFlow Tutorial

Re: [Ryu-devel] [PATCH] app_manager: Clean up apps harder

2015-04-12 Thread YAMAMOTO Takashi
> Necessary for neutron functional tests so that a test won't > interfere the next test in a run. fwiw, the tests in question are: https://review.openstack.org/#/c/172344/ failure logs: http://logs.openstack.org/44/172344/2/check/check-neutron-dsvm-functional/184f03c/testr_results.html

[Ryu-devel] download a previous version of Ryu controller

2015-04-12 Thread Juan Pedro Muñoz Gea
Hello, My name is Juan Pedro Muñoz, and I work as an assistant professor at the Technical University of Cartagena, in Spain. I am interested in downloading the version 3.17 of Ryu. Is it possible? Thanks a lot for your help. Regards, Juan Pedro -

Re: [Ryu-devel] Why Register Delaware

2015-04-12 Thread 启亚集团-apple
���澶�濂藉��澶╃��骞茬伯���涓��灏辫��瀛���ㄥ�讹��寰���╁�版�挎��璧�浜锛�缁х画浠瀛�涔濂跺ザ��逛㈡涓��藉��涔��肩��瀵灏�����ワ�涓哄�堕��杩�绛��寸��锛���甯�璁茬��姣�涓�棰璁板��涓��澶�绗���ㄧ焊涓�婊���ㄧ��澹伴�炽�浣浠�浠�涓���ラ�澶���ㄥ��浠���涓��瑰�寮���