[pve-devel] Count monthly traffic

Dietmar Maurer dietmar at proxmox.com
Thu Apr 18 06:32:25 CEST 2013


> Then let's go this way. It's much simpler than adding RRD.
> 
> So the question is should this be a completely new call 

Yes, I think this should be a new call:

GET /nodes/<nodename>/netstat

[
{vmid => 100, dev => net0, in => XXX, out => YYY},
{vmid => 100, dev => net1, in => XXX, out => YYY},
{vmid => 200, dev => net0, in => XXX, out => YYY},
]

So that we can get all data with one API call.









More information about the pve-devel mailing list