SoftLayer Api: How to get the currently consume of bandwidth packet traffic data?
<p>I have a sl-vm which pay mode is monthly. I have buy it a bandwidth packet 250G. The sl website shows this vm's bandwidth usage is 34.18MB, as shown in flowing Fig:
 <a href="http://i.stack.imgur.com/p43t3.png" rel="nofollow"><img src="http://i.stack.imgur.com/p43t3.png" alt="enter image description here"></a></p>

<p>While, I use Softlayer_Virtual_Guest:getBandwidthTotal to get this vm's bandwith and get the result 45500302 which is not equals to  34.18MB.  </p>

<p>Q1: Which bandwidth usage data is the real comsumption?
Q2: If the api I used is not correct, please show me the connect one.
Regard~ </p>

<p>Please use the âIEEE notation: kilobyte = 1000 bytesâ, it means that you need to do the following: <code>45500302/1000/1000 =45.5</code>.  There are some variations between UI and API values.</p>

<p>You can use this online tool:</p>

<p><a href="http://www.matisse.net/bitcalc/?input_amount=45500302&amp;input_units=bytes&amp;notation=ieee" rel="nofollow">http://www.matisse.net/bitcalc/?input_amount=45500302&amp;input_units=bytes&amp;notation=ieee</a></p>

<h3>References:</h3>

<p><a href="http://stackoverflow.com/questions/39286157/projected-data-for-bandwidth-in-softlayer">Projected Data for Bandwidth in Softlayer</a></p>

<p><a href="http://stackoverflow.com/questions/36308040/bandwidth-summary-per-server">Bandwidth summary per server</a></p>

<p><a href="http://stackoverflow.com/questions/36014415/softlayer-rest-api-get-bandwidth-data-by-date">SoftLayer REST API get Bandwidth Data By Date</a></p>

<p><a href="http://stackoverflow.com/questions/36308040/bandwidth-summary-per-server">Bandwidth summary per server</a></p>

<p>I hope this information help you.</p>

python api softlayer