When I pull out network stats...it just gives me a tuple.  Is there any documentation on what this is actually displaying so I can format accordingly?<br><br><div class="gmail_quote">On Wed, Apr 9, 2008 at 12:12 AM, Richard W.M. Jones <<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Tue, Apr 08, 2008 at 03:47:05PM -0600, Spencer Parker wrote:<br>
> Since I am kind of an idiot and don't know what I am doing...I am having<br>
> trouble with getting network stats to work in Python.  I have everything<br>
> correct...but I am just not sure exactly what it is looking for.  I get this<br>
> error:<br>
><br>
> libvir: Xen error : invalid argument in xenHypervisorDomainInterfaceStats:<br>
> invalid path, should be vif<domid>.<n>.<br>
><br>
> I guess I just need some kind of example to work from on this.<br>
<br>
</div>As described in the error message, try setting the path to something<br>
like "vif1.0" where 1 is the domain ID and 0 is the interface number.<br>
You can enumerate interfaces available by dumping the domain XML.<br>
<br>
Rich.<br>
<font color="#888888"><br>
--<br>
Richard Jones, Emerging Technologies, Red Hat  <a href="http://et.redhat.com/%7Erjonesvirt-p2v" target="_blank">http://et.redhat.com/~rjones<br>
virt-p2v</a> converts physical machines to virtual machines.  Boot with a<br>
live CD or over the network (PXE) and turn machines into Xen guests.<br>
<a href="http://et.redhat.com/%7Erjones/virt-p2v" target="_blank">http://et.redhat.com/~rjones/virt-p2v</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Spencer Parker<br>_______________________________________________________<br><br>"if you can't go to heaven, may you at least die in Ireland."<br><br>
_______________________________________________________