Re: [Ryu-devel] [PATCH v2 3/4] BGPSpeaker: Enhance APIs for operator.show

2016-10-02 Thread Iwase Yusuke
Hi Fujita-San, Thank you for reviewing my patches. On 2016年10月01日 20:18, FUJITA Tomonori wrote: > On Mon, 26 Sep 2016 13:59:53 +0900 > IWASE Yusuke wrote: > >> This patch enhances the APIs of BGPSpeaker class which call >> 'operator.show' APIs. >> >> Note: This patch renames the following argum

[Ryu-devel] EventOFPFlowRemoved

2016-10-02 Thread Garegin Grigoryan
Hi all, I'm working on simple_switch.py file, which uses OpenFlow 1.0 to communicate with OVS switch. I want to subscribe to FlowRemoved event. @set_ev_cls(ofp_event.EventOFPFlowRemoved, MAIN_DISPATCHER) def flow_removal_handler(self, ev): msg = ev.msg match = msg.match

Re: [Ryu-devel] Getting table 'max_entries' from Controller

2016-10-02 Thread Túlio Pascoal
Hello guys, Please disregard my thread. It was a typo error (I used set_ev_cls(ofp_event.EventOFPTableFeaturesStats, MAIN_DISPATCHER) instead of set_ev_cls(ofp_event.EventOFPTableFeaturesStatsReply, MAIN_DISPATCHER) ) Regards, -- Túlio Albuquerque Pascoal

[Ryu-devel] Getting table 'max_entries' from Controller

2016-10-02 Thread Túlio Pascoal
Hello all, I am trying to get the 'max_entries' field from the swtich tables. First I tried by OFPTableStats and EventOFPTableStatsReply, however 'max_entries' is just returned by these request/reply in OpenFlow 1.2 (I am using 1.3). I am just able to get: OFPTableStats(table_id,active_count,lo

Re: [Ryu-devel] [RFC][PATCH] Raise OFPTruncatedMessage exception on truncated messages

2016-10-02 Thread Victor J. Orlikowski
On Sat, Oct 01, 2016, at 05:47 PM, FUJITA Tomonori wrote: >> Signed-off-by: IWAMOTO Toshihiro >> --- >> ryu/exception.py | 13 +++ >> ryu/ofproto/ofproto_v1_3_parser.py | 71 >> +- >> 2 files changed, 67 insertions(+), 17 deletions(-) >