Re: [nox-dev] Doubt about len parameter in packet in event

2011-06-10 Thread Srini Seetharaman
Hi Luciano
I guess you're using the ofp_packet_in-total_len value? That is
indeed the length of the packet that came into the port which
generated the pkt_in.

If you're looking to compute the overall traffic sent from a server,
you can also use the flow_exp message and sum it for all the flows
sent by that server.

On Wed, May 25, 2011 at 11:05 PM,  lignac...@inf.ufrgs.br wrote:
 Hello,

 I have developed a script to distribute flows among three servers using
 mininet + FlowVisor + Nox. I tested the scripts with Iperf and Wireshark and
 apparently it is working well. My only question is related to the len
 parameter in packet_in event. I am using this parameter to calculate the
 traffic sent for each server. Can I really use this parameter? Does it
 represent the length of the packet?

 PS. I just sum the len´s value when the switch receives a IP_TYPE packet.

 Thank you.

 My best regards.

 Luciano Ignaczak

 
 This message was sent using IMP, the Internet Messaging Program.


 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


[nox-dev] Doubt about len parameter in packet in event

2011-05-26 Thread lignaczak

Hello,

I have developed a script to distribute flows among three servers  
using mininet + FlowVisor + Nox. I tested the scripts with Iperf and  
Wireshark and apparently it is working well. My only question is  
related to the len parameter in packet_in event. I am using this  
parameter to calculate the traffic sent for each server. Can I really  
use this parameter? Does it represent the length of the packet?


PS. I just sum the len´s value when the switch receives a IP_TYPE packet.

Thank you.

My best regards.

Luciano Ignaczak


This message was sent using IMP, the Internet Messaging Program.


___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev