On Sun, Dec 7, 2014 at 5:35 AM, Pradip Mukhopadhyay <[email protected]> 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 <[email protected]> > 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 >> <[email protected]> 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 >>> [email protected] >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >>> >> >> >> >> -- >> Duncan Thomas >> >> _______________________________________________ >> OpenStack-dev mailing list >> [email protected] >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> > > > _______________________________________________ > OpenStack-dev mailing list > [email protected] > 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 _______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
