It depends on what you want to charge for. Do you want to charge for VM-to-VM traffic? Or only VM-to-Internet traffic? Some folks use sFlow on their routers and then use this integration with CloudStack: https://cwiki.apache.org/confluence/x/cQj8AQ
From: Wei ZHOU <ustcweiz...@gmail.com<mailto:ustcweiz...@gmail.com>> Reply-To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" <dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>> Date: Tuesday, July 1, 2014 at 2:15 AM To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" <dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>> Subject: Re: Network usage in Basic Zone Nux, I will change and commit it to 4.3 branch in the next days. -Wei 2014-07-01 10:28 GMT+02:00 Nux! <n...@li.nux.ro<mailto:n...@li.nux.ro>>: Thanks Sebastian and Wei, looking forward to having this working. Wei, if you have any patches for 4.3 I'd be more than willing to test. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ----- Original Message ----- > From: "Wei ZHOU" <ustcweiz...@gmail.com<mailto:ustcweiz...@gmail.com>> > To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org> > Sent: Tuesday, 1 July, 2014 9:10:24 AM > Subject: Re: Network usage in Basic Zone > > The network usage for individual vms can be fetched from hypervisor. > I have changed for KVM (only), but not committed yet. > > > > 2014-07-01 9:59 GMT+02:00 sebgoa <run...@gmail.com<mailto:run...@gmail.com>>: > > > Morning, > > > > Nux opened https://issues.apache.org/jira/browse/CLOUDSTACK-6993 > > > > Talking to Fabrice it seems to be expected behavior. In Basic zones, > > traffic does not go through the VR and the network is shared. > > > > Fabrice pointed me to: > > > > https://github.com/apache/cloudstack/blob/master/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java#L910 > > > > Does everyone agree with this ? > > > > How could we record network usage in Basic zones ? > > > > -Sebastien >