Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to get capacity in use for Volume #1

Open
skuda opened this issue May 26, 2017 · 0 comments
Open

Trying to get capacity in use for Volume #1

skuda opened this issue May 26, 2017 · 0 comments

Comments

@skuda
Copy link

skuda commented May 26, 2017

Hi,

Your api is pretty nice, thanks for opensourcing it, I am trying to get Volume used size, not only Volume size, I don't easily find this information using the api, I didn't find it in pyscaleio neither.

I found a way using the REST endpoint api/instances/VTree::{id}/relationships/Statistics, I don't use snapshots so this would work for me but pyscaleio doesn't expose statistics, no?

It's not the best flow in the world anyway because I need to get the VTreeId querying the volume and later load the VTree statistics to get the used space, I find strange there is not a better way.

Do you know a better way to get that information? Thanks!

Miguel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant