[xen-tools] Argo's Host.pm: getRX and getTX values

From: Ward Vandewege <ward_at_pong.be>
Date: Sun, 12 Nov 2006 14:59:03 -0500
Hi Steve,

So; it seems that the values Argo sends back for RX and TX are from the
perspective of the dom0. This is because the getRX and getTX functions 
get their info from /proc/net/dev/ in the dom0.

Now; the problem is that this is not very logical. When the 'info' or 'tx' or
'rx' functions are called, they get the domU's name as a parameter. A user
would expect to get the numbers from the perspective of the domU, because
she's asking for information about the domU, not the dom0.

I suggest we switch the RX and TX values so that they are returned in a more
logical fashion. I'd be happy to submit a patch.

What do you think?

Thanks,
Ward.

-- 
Pong.be         -( "In my opinion M$ is a lot better at making money than  )-
Virtual hosting -(    it is at making good operating systems." -- Linus    )-
http://pong.be  -(                        Torvalds                         )-
GnuPG public key: http://gpg.dtype.org




Received on Sun Nov 12 2006 - 19:59:18 GMT

Mailing list overview.