I'm using softlayer API for python and i wish to get the bandwidth consumed by each datacenter (if not possible then for each machine) for the current billing cycle.
I tried to use the call method after authenticating successfully but couldn't figure out the correct parameters within the call.
Thanks.
you can use the
http://sldn.softlayer.com/reference/services/SoftLayer_Metric_Tracking_Object/getBandwidthData
or
http://sldn.softlayer.com/reference/services/SoftLayer_Metric_Tracking_Object/getBandwidthGraph
just set the stardDate and endDate to match your billing cycle
here an example