I might also tender a suggestion of a NotSupported error as well. I think you have two states to deal with. There is the case where someone hasn't had time to implement the feature in the driver or event review the implementation, NotImplemented. Then there is a case where the system you're building a driver for simply doesn't support a feature, NotSupported.<div>
<br></div><div><br><br><div class="gmail_quote">On Fri, Sep 9, 2011 at 11:37 AM, Soren Hansen <span dir="ltr"><<a href="mailto:soren@linux2go.dk">soren@linux2go.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2011/9/9 Brian Lamar <<a href="mailto:brian.lamar@rackspace.com">brian.lamar@rackspace.com</a>>:<br>
<div class="im">> Yeah, I've had the same issues you seem to be struggling with. Long story short when you're doing what this project is doing and attempting to be flexible with several different diverse implementations you're going to encounter areas where some drivers just don't support things. I feel like this should just go away and then NotImplementedError would be raised as it's not implemented. This was also pointed out by Kei.<br>
<br>
</div>This is what I'm doing as I'm going through the virt layer cleaning<br>
things up. I have a test that calls all the methods and records when<br>
something raises NotImplementedError. I'll use this data to<br>
automatically compile a matrix of supported features in the individual<br>
drivers, but it'll be a while before this actually happens (I need to<br>
actually call all the various drivers from this test first).<br>
<font color="#888888"><br>
--<br>
Soren Hansen | <a href="http://linux2go.dk/" target="_blank">http://linux2go.dk/</a><br>
Ubuntu Developer | <a href="http://www.ubuntu.com/" target="_blank">http://www.ubuntu.com/</a><br>
OpenStack Developer | <a href="http://www.openstack.org/" target="_blank">http://www.openstack.org/</a><br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></div></blockquote></div><br></div>