<div dir="ltr">Is there a way to get the size of a volume_type using an API. <div>According to the docs <a href="http://developer.openstack.org/api-ref-compute-v2-ext.html">http://developer.openstack.org/api-ref-compute-v2-ext.html</a> ,<div>
<div>GET <span style="color:rgb(83,83,83);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:20px">/v1.1/{tenant_id}/os-volume-types/{volume_type_id} </span></div><div><font color="#535353" face="Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px;line-height:20px">returns the following ( but not the size ).</span></font></div>
<div><font color="#535353" face="Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px;line-height:20px"><br></span></font></div><div><pre style="font-family:Menlo,Monaco,Consolas,'Courier New',monospace;font-size:13px;white-space:pre-wrap;padding:9.5px;margin-top:0px;margin-bottom:10px;line-height:1.428571429;color:rgb(51,51,51);word-break:break-all;word-wrap:break-word;border:1px solid rgb(204,204,204);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;background-color:rgb(245,245,245)">
{
"volume_type": {
"id": "289da7f8-6440-407c-9fb4-7db01ec49164",
"name": "vol-type-001",
"extra_specs": {
"capabilities": "gpu"
}
}
}</pre></div><div><br></div><div>Sekhar Vajjhala</div></div></div></div>