SowjanyaPatha commented on issue #2257: CLOUDSTACK-10060:ListUsage API always 
displays the Virtual size as '0' for Usage type=9 (snapshot)
URL: https://github.com/apache/cloudstack/pull/2257#issuecomment-327395154
 
 
   LGTM for Testing.
   Created an instance. 
   Took a snapshot of root volume.
   Executed the API command 
http://localhost:8080/client/api?command=listUsageRecords&startdate=2017-09-06&enddate=2017-09-06&type=9
 it is showing Physical size when 'usage.snapshot.virtualsize.select' is false.
   Changed the 'usage.snapshot.virtualsize.select' to true and took another 
snapshot and executed the API Command 
http://localhost:8080/client/api?command=listUsageRecords&startdate=2017-09-06&enddate=2017-09-06&type=9
 it is showing the virtual size. 
   
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to