[Ryu-devel] ?????? How to register observes for self-defined event?

2015-07-31 Thread muzixing.com
I have solved this problem by use @set_ev_cls instead of @set_cls_handler. But new question is that why ofp_handler use @set_ev_handler can handle the event, and other app have to use @set_ev_clst? The different of these two decorator is about ev.soource. If use @set_ev_handelr, the ev.source

Re: [Ryu-devel] How to register observes for self-defined event?

2015-07-31 Thread 杨haixiang
If you add your Event in your _EVENTS list of your RyuApp that calls send_event_to_observers, it would to be OK. Best Regards, Haixiang YANG From: 15116983...@qq.com To: ryu-devel@lists.sourceforge.net Date: Sat, 1 Aug 2015 11:42:17 +0800 Subject: [Ryu-devel] How to register observes for

[Ryu-devel] How to register observes for self-defined event?

2015-07-31 Thread muzixing.com
To whom it may concern, I try to generate a self-defined event in Ryu. What I have done shows below, 1. define a xxx_event.py and define a Event in this file. 2. In a Ryu app, import xxx_event. Call the self.send_event_to_observers(ev, self.state) 3. In another Ryu

Re: [Ryu-devel] Python 3 / Ryu 3.23.2: Broken modules (Python 2/3 incompatibilities)

2015-07-31 Thread Fadi Moukayed
Hello, I took a closer look at the issue and I think I might have a fix. The attached patchset fixes the computation of app dependencies under Python 3.x. The first patch modifies require_app to handle the case where inspect.getmodule returns None under Python 3.x; None values are filtered in ord

Re: [Ryu-devel] [PATCH 00/10] Related to 'B.18.8 (EXT-350)' in OpenFlow 1.5

2015-07-31 Thread FUJITA Tomonori
On Fri, 31 Jul 2015 10:28:19 +0900 Yusuke Iwase wrote: > This patches are related to the updates of 'B.18.8 Group command > for selective bucket operation' in OpenFlow 1.5. > > IWASE Yusuke (10): > ofproto_v1_5: Fix a typo > ofproto_v1_5_parser: Add OFPGroupBucketProp support > ofproto_v1_