Re: [Ryu-devel] How to get the data from mySQL database in Ryu SDN controller application?

2017-10-04 Thread Matthew Hayes
Hi, Another database option that works well with Python is MongoDB, although it is NoSQL rather than SQL type. For an example of the use of MongoDB with Python and Ryu, check out the nmeta reactive SDN project at https://github.com/mattjhayes/nmeta I suspect however that the answer that Arslan

[Ryu-devel] Ryu appears unaware of status change of powered-off switch

2017-08-09 Thread Matthew Hayes
Hi all, I've found that Ryu does not detect the disconnection of a switch when TCP does not signal the event with a FIN or RST (examples: switch powered off or backhaul cable disconnected). This appears to be because the TCP session remains in half-open established state in the controller oper

Re: [Ryu-devel] Event receive timestamps

2017-07-30 Thread Matthew Hayes
manager: Option to enable timestamp This patch introduces a new option "--with-timestamp" which enable to get timestamp when Ryu received the OpenFlow message. Suggested-by: Matthew Hayes Signed-off-by: IWASE Yusuke ...(snip)... # Then, reinstall Ryu $ pip uninstall

Re: [Ryu-devel] Event receive timestamps

2017-07-27 Thread Matthew Hayes
. From: Iwase Yusuke Sent: Tuesday, 25 July 2017 1:38 a.m. To: matthew_john_ha...@hotmail.com Cc: ryu-devel@lists.sourceforge.net Subject: Re: [Ryu-devel] Event receive timestamps Hi Matt, Sorry for the delay. On 2017年07月20日 17:36, Matthew Hayes wrote: > Hi Iw

Re: [Ryu-devel] Event receive timestamps

2017-07-11 Thread Matthew Hayes
ev = ofp_event.ofp_msg_to_ev(msg) +ev.timestamp = _received_time self.ofp_brick.send_event_to_observers(ev, self.state) dispatchers = lambda x: x.callers[ev.__class__].dispatchers Thanks, Iwase On 2017年07月10日 19:3

[Ryu-devel] Event receive timestamps

2017-07-10 Thread Matthew Hayes
Hi all, Can Ryu present timestamps to applications detailing when it received particular OpenFlow events (example: timestamp for when a Packet-In event was received by Ryu)? I have a reactive SDN project built on Ryu (see: https://nmeta.readthedocs.io ), and telemetry built into the app record

[Ryu-devel] FW: Get video resolution(height & width)

2015-04-30 Thread Matthew Hayes
Hi Yang-Ming Hsu, An interesting use case, I am curious to know more about what you will use the video resolution information for? One method is to do payload inspection of media and/or control streams. This would only work if the transport stream is not encrypted. Another method would be to d

Re: [Ryu-devel] Parsing DNS packets with Ryu?

2015-04-15 Thread Matthew Hayes
p://mattjhayes.github.io/nmeta/ I have some observations on how the LLDP module could be improved, but will send as a separate email. Thanks, Matt From: linton...@gmail.com Date: Mon, 16 Mar 2015 14:09:18 +0800 To: ryu-devel@lists.sourceforge.net Subject: Re: [Ryu-devel] Parsing DNS packets

Re: [Ryu-devel] Parsing DNS packets with Ryu?

2015-04-13 Thread Matthew Hayes
some observations on how the LLDP module could be improved, but will send as a separate email. Thanks, Matt From: linton...@gmail.com Date: Mon, 16 Mar 2015 14:09:18 +0800 To: ryu-devel@lists.sourceforge.net Subject: Re: [Ryu-devel] Parsing DNS packets with Ryu? Hi, Matthew Hayes There is no DNS p

[Ryu-devel] Parsing DNS packets with Ryu?

2015-03-15 Thread Matthew Hayes
Hi, Does anyone know a way to parse data from DNS requests / replies with Ryu? I can't find a dns.py in the packet library? Thanks in advance, Matt -- Dive into the World of