有没有人可以帮我通过python绑定来获取openstack cinder卷的大小?
我有通过调用cinder_client_instance.volumes.list()方法提取的煤渣卷的列表。
现在我想知道体积的大小。如何获取卷大小?
发布于 2014-06-05 13:54:06
在体积对象上使用size参数。
例如:
对于cinder_instance.volume.list()中的卷: print vol.id #提供煤渣卷ID print vol.size #提供煤渣卷大小
https://stackoverflow.com/questions/24036896
复制相似问题