[openstack-dev] [nova][novaclient]novaclient backward compatible changes

Sean Dague sean at dague.net
Tue Mar 15 14:10:19 UTC 2016


On 03/15/2016 10:02 AM, Chen CH Ji wrote:
> From [1], some questions raised is whether and how we will guarantee the
> return value of novaclient? e.g some tools
> such as openstackclient utilize novaclient return value , we don't have
> microversion mechanism (and seems not helpful
> and too heavy) to do those kind of changes... so novaclient should make
> every changes backward compatible?
> 
> BTW: [1] seems not mandatory(better to have), so the question is related
> to the patch, just for general idea..
> 
> [1] https://review.openstack.org/#/c/291915/1

Yes, this is a library. Changing the return value on existing functions
isn't a thing you can do. If you want a different return, introduce a
new method which does that, and we can deprecate the old one out over time.

	-Sean

-- 
Sean Dague
http://dague.net



More information about the OpenStack-dev mailing list