[Openstack] Getting size of volume_type using API

Sekhar Vajjhala sekharv01 at gmail.com
Tue Aug 5 20:01:57 UTC 2014


Is there a way to get the size of a volume_type using an API.
According to the docs
http://developer.openstack.org/api-ref-compute-v2-ext.html ,
GET /v1.1/​{tenant_id}​/os-volume-types/​{volume_type_id}​
returns the following ( but not the size ).

{
    "volume_type": {
        "id": "289da7f8-6440-407c-9fb4-7db01ec49164",
        "name": "vol-type-001",
        "extra_specs": {
            "capabilities": "gpu"
        }
    }
}


Sekhar Vajjhala
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140805/f950c053/attachment.html>


More information about the Openstack mailing list