[openstack-dev] Create a Volume type using OpenStack

Sean McGinnis sean.mcginnis at gmx.com
Tue May 8 13:19:21 UTC 2018


On Tue, May 08, 2018 at 12:18:36PM +0100, Duncan Thomas wrote:
> If you're using the cinder CLI (aka python-cinderclient) then if you
> run with --debug, then you can see the REST calls used.
> 
> >
> > I need API's to
> > i) list all the Volume types in the OpenStack
> > ii) I need API's to create the Volume types in the OpenStack
> >

Hi Hari,

The volume type API calls our in a different section (Volume types vs Volumes):

https://developer.openstack.org/api-ref/block-storage/v3/index.html#volume-types-types

So I believe you are looking for:

i) https://developer.openstack.org/api-ref/block-storage/v3/index.html#list-all-volume-types

and

ii) https://developer.openstack.org/api-ref/block-storage/v3/index.html#create-a-volume-type

Sean



More information about the OpenStack-dev mailing list