← Back to team overview

openstack team mailing list archive

Re: Multiple Versions in Openstack API

 

As Brian is temporarily out of the office, I'll answer for him. Here are a few (major-version) differences I see in the 1.1 spec:
 
1) marker keyword replaces offset for pagination (functionally different, not just a different name)
2) server addresses container structured differently
3) all containers structured differently, now with links
3) shared ip groups is removed
 
Waldon
 
-----Original Message-----
From: "Jay Pipes" <jaypipes@xxxxxxxxx>
Sent: Friday, March 4, 2011 1:20pm
To: "Brian Lamar" <brian.lamar@xxxxxxxxxxxxx>
Cc: "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Openstack] 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

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Follow ups

References