Re: [Ryu-devel] [PATCH] dpset: fix KeyError when datapath.id is None

2013-02-18 Thread YAMAMOTO Takashi
hi, just FYI: floodlight internally holds PORT_STATUS messages during handshake and process them later. YAMAMOTO Takashi >> > > Hi. How did you produce it? Is it reproducible? >> >> Thank you. I don't see anything wrong in the procedure for now. >> I'll look into it. > > Thanks in advance. >

Re: [Ryu-devel] [PATCH] dpset: fix KeyError when datapath.id is None

2013-02-18 Thread HIYAMA Manabu
> > > Hi. How did you produce it? Is it reproducible? > > Thank you. I don't see anything wrong in the procedure for now. > I'll look into it. Thanks in advance. Seems to occur in the case when the port status has changed before entering into MAIN_DISPATCHER. I feel that the same problem also e

Re: [Ryu-devel] [PATCH] dpset: fix KeyError when datapath.id is None

2013-02-18 Thread Isaku Yamahata
On Tue, Feb 19, 2013 at 02:20:58PM +0900, HIYAMA Manabu wrote: > > Hi. How did you produce it? Is it reproducible? Thank you. I don't see anything wrong in the procedure for now. I'll look into it. thanks, > > In the following sequence: > (I do not know why that did occur EventOFPPortStatus.) >

Re: [Ryu-devel] [PATCH] dpset: fix KeyError when datapath.id is None

2013-02-18 Thread HIYAMA Manabu
> - ovs: git://openvswitch.org/openvswitch -b of12 Sorry, the above was a mistake. the following is correct. git://github.com/osrg/openvswitch.git -b of12 -- Everyone hates slow websites. So do we. Make your web apps f

Re: [Ryu-devel] [PATCH] dpset: fix KeyError when datapath.id is None

2013-02-18 Thread HIYAMA Manabu
> Hi. How did you produce it? Is it reproducible? In the following sequence: (I do not know why that did occur EventOFPPortStatus.) $ ryu-manager ryu_app(OF1.2 app) $ sudo mn --controller remote 127.0.0.1 $ sudo ovs-vsctl set bridge s1 protocols='[OpenFlow10,OpenFlow12]' connected socket: a

Re: [Ryu-devel] [PATCH] dpset: fix KeyError when datapath.id is None

2013-02-18 Thread Isaku Yamahata
Hi. How did you produce it? Is it reproducible? OFPHandler.switch_features_handler() sets datapath id before entering into MAIN_DISPATCHER state. So I suspect race. Since port status modify event without datapath id doesn't make sense, the cause that datapath.id is None event with MAIN_DISPATCHER

Re: [Ryu-devel] ryu controller and ofsoftswitch13 from cpqd

2013-02-18 Thread FUJITA Tomonori
On Mon, 18 Feb 2013 14:34:50 +0530 Nikhil wrote: > How can i connect ryu controller with ofsoftswitch13 from cpqd? No configuration on Ryu side. Just run ryu-manager. -- Everyone hates slow websites. So do we. Make you

[Ryu-devel] [PATCH] dpset: fix KeyError when datapath.id is None

2013-02-18 Thread HIYAMA Manabu
DPSET: A port was modified.(datapath id = None, port number = 1) Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 390, in run result = self._run(*self.args, **self.kwargs) File "/usr/local/lib/python2.7/dist-packages/ryu-1.6-py2.7.egg/ryu/

Re: [Ryu-devel] ryu controller

2013-02-18 Thread Piotr Niedzwiedz
Hi Nikhil, I am also a beginner in RYU, but from my short experience ryu-manager is definitely able to run as OF controller. I used L2Switch example application from http://osrg.github.com/ryu/doc/writing_ryu_app.html. I copy/pasted this code into main.py and launched it in this way:

[Ryu-devel] ryu controller and ofsoftswitch13 from cpqd

2013-02-18 Thread Nikhil
Hi, How can i connect ryu controller with ofsoftswitch13 from cpqd? Best Regards, Nikhil -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software develo

[Ryu-devel] ryu controller

2013-02-18 Thread Nikhil
Hi, I am trying to use ryu controller with ovs, I can see ryu-manager is used to run application. ryu-manager is just a application launcher or it runs controller as well? How to run just controller? Please clarify. Best Regards, Nikhil --