<div dir="ltr"><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:Arial,sans-serif;color:rgb(75,75,75)">I am trying to write a volume driver for a new/unique storage type uncovered by the existing ones.</p>
<p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:Arial,sans-serif;color:rgb(75,75,75)">I have a Cinder driver working fine - but I am now working on adding the nova/libvirt component of it (for Nova clients to connect into).</p>
<p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:Arial,sans-serif;color:rgb(75,75,75)">It appears that (unlike in Cinder) - ALL of the drivers are in a single file "volume.py" and the libvirt_volume_drivers list options all call the classes from it.</p>
<p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:Arial,sans-serif;color:rgb(75,75,75)">Any attempt I have made to call a driver in another file results in the libvirt.driver module itself to fail to load.</p>
<p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:Arial,sans-serif;color:rgb(75,75,75)">Is there some (odd) reason why all the drivers are placed in a single file? Will it continue to be mandated to do it this why? Is there a way around this that I am missing?</p>
<p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:Arial,sans-serif;color:rgb(75,75,75)">This seems broken and wrong for so many different reasons...</p></div>