[openstack-dev] [Cinder] Listing of backends

John Griffith john.griffith8 at gmail.com
Mon Dec 8 22:22:13 UTC 2014


On Sun, Dec 7, 2014 at 5:35 AM, Pradip Mukhopadhyay
<pradip.interra at gmail.com> wrote:
> Thanks!
>
> One more question.
>
> Is there any equivalent API to add keys to the volume-type? I understand we
> have APIs for creating volume-type? But how about adding key-value pair (say
> I want to add-key to the volume-type as backend-name="my_iscsi_backend" ?
>
>
> Thanks,
> Pradip
>
>
> On Sun, Dec 7, 2014 at 4:25 PM, Duncan Thomas <duncan.thomas at gmail.com>
> wrote:
>>
>> See https://review.openstack.org/#/c/119938/ - now merged. I don't believe
>> the python-cinderclient side work has been done yet, nor anything in
>> Horizon, but the API itself is now there.
>>
>> On 7 December 2014 at 09:53, Pradip Mukhopadhyay
>> <pradip.interra at gmail.com> wrote:
>>>
>>> Hi,
>>>
>>>
>>> Is there a way to find out/list down the backends discovered for Cinder?
>>>
>>>
>>> There is, I guess, no API for get the list of backends.
>>>
>>>
>>>
>>> Thanks,
>>> Pradip
>>>
>>> _______________________________________________
>>> OpenStack-dev mailing list
>>> OpenStack-dev at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>
>>
>>
>> --
>> Duncan Thomas
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
Please try not to double post if you could...

Again in answer to your first question, you can do "cinder
service-list" to show the backends that are in use and their status.

Extra-Specs are added with the "type-key" command, so say you have
volume-type = foo:
   cinder type-key foo set key=value



More information about the OpenStack-dev mailing list