Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi, The process for submitting a driver isn't well documented, I'll fix that this week and write up some docs on how to get started.

Short summary here: First make sure you go through the "how to contribute to openstack found here: [1] From there you'll need to create a blueprint, here's an example of a driver blueprint: [2] Recommendations other than that, get on IRC and join the #openstack-dev channel, there are always devs there that can help answer questions and point you in the right direction. Make a note of the features that have to be implemented, the best way to start typically is look at the base driver (cinder/volume/driver.py), that will give you all of the implemented methods. Then look at cinder/volume/drivers/lvm.py which is the reference implementation and will show how the base driver is over-ridden, the connector is used etc. ** note the blueprint is an old example but is more detailed than some current versions and has a specs page, browse blueprints.launchpad.net/cinder for others.

Hi, The process for submitting a driver isn't well documented, I'll fix that this week and write up some docs on how to get started.

Short summary here: First make sure you go through the "how to contribute to openstack found here: [1] From there you'll need to create a blueprint, here's an example of a driver blueprint: [2] Recommendations other than that, get on IRC and join the #openstack-dev channel, there are always devs there that can help answer questions and point you in the right direction. Make a note of the features that have to be implemented, the best way to start typically is look at the base driver (cinder/volume/driver.py), that will give you all of the implemented methods. Then look at cinder/volume/drivers/lvm.py which is the reference implementation and will show how the base driver is over-ridden, the connector is used etc. ** note the blueprint is an old example but is more detailed than some current versions and has a specs page, browse blueprints.launchpad.net/cinder for others.

update: Added a link to a "how to contribute a driver" to the plugins section of the main Cinder wiki page. https://wiki.openstack.org/wiki/Cinder