Re: [Ryu-devel] netflow

2016-10-25 Thread Mar Ade
--netflow_collector.py--import eventlet import socketfrom ryu.base import app_managerfrom ryu.controller import eventfrom ryu.lib.xflow import netflowfrom ryu.lib import hub NETFLOW_EV_DISPATCHER='netflow'BUFSIZE = 65535  # Should we use flexible length? class EventNetFlow(event.EventBase):    d

Re: [Ryu-devel] netflow

2016-10-24 Thread Iwase Yusuke
Hi, Please make your problem more clear... "netflow_collector" is the module and "netflow_dumper" is the Ryu application you have developed, right? For writing your own Ryu application, please confirm your application inherits app_manager.RyuApp class first. http://ryu.readthedocs.io/en/lates

[Ryu-devel] netflow

2016-10-24 Thread Mar Ade
Hello i have put netflow_collector in xflow file and i am trying to use netflow_dumper but the problem is that when i call ryu-manager with netflow dumper , it is initiating and then it terminates without waiting netflow packets.Any ideas?Thanks in advance,Marinos