Hi, I have two problems regarding flows : 1) Is it that flow expiration information code is not complete in NOX ? I am unable to find a way to get flow statistics, once the flow is deleted/ ends.
I am using monitor.py as my reference to collect the statistics.(src/nox/coreapps/ examples) I am attaching a handler to my module, using the function, register_for_flow_expired(self, handler) , defined in core.py. The arguments of "handler" are not specified in the NOX documentation. i thought it would be asynchronous and called by itself when a flow ends If some one can tell me, how to call this function. 2) When i run monitor.py, and look for aggregrate flow stats,there are 0 flows count, 0 packets Aggregate stats in from datapath 00:23:20:f5:d8:bd {'packet_count': 0L, 'byte_count': 0L, 'flow_count': 0L} displayed on the screen, though I am having a ping (icmp) flow and a tcp connection in the network. dpctl shows the entries though ./dpctl dump-flows displays the following output : stats_reply (xid=0x667f0ad8): flags=none type=1(flow) duration=1s, table_id=0, priority=65535, n_packets=1095, n_bytes=453330, idle_timeout=5,hard_timeout=0,icmp,in_port=0,dl_vlan=0xffff,dl_src=50:54:00:00:00:06,dl_dst=50:54:00:00:00:09,nw_src=192.168.0.2,nw_dst=192.168.0.4,icmp_type=0,icmp_code=0,actions=outserial8250: too much work for irq4 put:3
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org