VM poll cannot handle multiple NICs
|Assignee:||Javi Fontan||% Done:|
|Category:||Drivers - Auth|
|Target version:||Release 3.0|
The "$ONE_LOCATION/lib/remotes/vmm/kvm/poll --kvm" only supports VMs that has a single network interface.
If there are more than one, it does not know how to handle them. For example, it would run the command like
virsh --connect qemu:///system --readonly domifstat one-150 vnet1 vnet2
which does not work with the extra argument.
Also in the accounting design, the NET_TX and NET_RX is associated with VM, meaning you can account only for one network per VM. But in the proper design, this should be associated to the NIC itself so that we can account for multiple NICs per VM.
bug #568: get network consumption from all interfaces (kvm)
(cherry picked from commit 79f6fad41d2b09f97c931ad97baed764de10894c)