Re: vhostuser and openvswitch interface statistics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 17, 2016 at 03:34:19PM +0100, Mehdi Abaakouk wrote:
> Hi,
> 
> I'm looking for interface statistics for a vhostuser network interface
> (that uses ovs-dpdk on the other socket side).
> 
> The "virsh domifstat <domain> <ifname>" obviously don't works because it
> looks at "/proc/net/dev" for statistics. When we use vhostuser, we don't
> create network interface on the host but a socket.
> 
> Many tools currently rely on the domainInterfaceStats() API to retrieve
> this kind of information.
> 
> So I would like to known if their is a plan to support ovs as network
> interface statistics source (with something like
> "ovs-vsctl get Interface <ifname> statistics") ?
> 
> I have started to write a PoC code that fallback to OVS in virNetInterfaceStats()
> when we don't found the interface in /proc/net/dev.
> 
> Does this kind of contribution is welcome/match your plan ?

Yes, if there's a way to gather the equivalent data with OVS, patches for
that would be welcome.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]