← Back to team overview

openstack team mailing list archive

Re: Multiple Versions in Openstack API

 

On Fri, Mar 4, 2011 at 12:28 PM, Brian Lamar <brian.lamar@xxxxxxxxxxxxx> wrote:
> Unfortunately v1.0 -> v1.1 is not a minor version increase (despite the names).

Ah, ok.

>> then if the v1.1 servers/ endpoint only *extends* the 1.0 version
>> /servers endpoint and doesn't break it, then you could have:
>
> This works for minor versions, but not major versions which have different object formattings, a set of different top-level objects, and tons of other inconsistencies.
>
> IMO your method works fine for minor versions, but not between major/breaking versions. We can still do v10 and v11 modules, but I would steer away from thinking there is any sort of link between them except for some supporting libraries.

Could you elaborate on an example of this inconsistency between 1.0
and 1.1?  That way, I'd have more to go on in thinking how to break
the versioning into separate modules.

Thanks Brian!
jay



Follow ups

References