[openstack-dev] [Nova] Putting nova-network support into the V3 API

Alex Xu xuhj at linux.vnet.ibm.com
Tue Feb 4 14:13:52 UTC 2014


On 2014年02月04日 19:36, Christopher Yeoh wrote:
> On Tue, 04 Feb 2014 11:37:29 +0100
> Thierry Carrez <thierry at openstack.org> wrote:
>
>> Christopher Yeoh wrote:
>>> On Tue, Feb 4, 2014 at 12:03 PM, Joe Gordon <joe.gordon0 at gmail.com
>>> <mailto:joe.gordon0 at gmail.com>> wrote:
>>>> John and I discussed a third possibility:
>>>>
>>>> nova-network v3 should be an extension, so the idea was to: Make
>>>> nova-network API a subset of neturon (instead of them adopting our
>>>> API we adopt theirs). And we could release v3 without nova network
>>>> in Icehouse and add the nova-network extension in Juno.
>>> This would actually be my preferred approach if we can get consensus
>>> around this. It takes a lot of pressure off this late in the cycle
>>> and there's less risk around having to live with a nova-network API
>>> in V3 that still has some rough edges around it. I imagine it will
>>> be quite a while before we can deprecate the V2 API so IMO going
>>> one cycle without nova-network support is not a big thing.
>> So user story would be, in icehouse release (nothing deprecated yet):
>> v2 + nova-net: supported
>> v2 + neutron: supported
>> v3 + nova-net: n/a
>> v3 + neutron: supported
>>
>> And for juno:
>> v2 + nova-net: works, v2 could be deprecated
>> v2 + neutron: works, v2 could be deprecated
>> v3 + nova-net: works through extension, nova-net could be deprecated
> So to be clear the idea I think is that nova-net of "v3 + nova-net"
> would look like the neutron api. Eg nova-net API from v2 would look
> quite different to 'nova-net' API from v3. To minimise the transition
> pain for users on V3 moving to a neutron based cloud. Though those
> moving from v2 + nova-net to v3 + nova-net would have to cope with more changes.

I have another idea is: move all nova-net API from v2 to v3 as 
sub-resources of 'os-nova-network' (maybe other name: os-legacy-network?)
So nova-net v3 api will look like as: 
'/v3/os-nova-network/os-floating-ips', '/v3/os-nova-network/os-networks'....
Except prefix 'os-nova-network', nova-net v3 is same with nova-net v2. 
Then user needn't cope with a lot of changes,
and we needn't redesign an extension for nova-net v3. Also if we can 
move all those nova-net v3 extensions into a
sub-directory 'nova/api/openstack/compute/plugins/v3/os-nova-network/' 
that will be great.

>
>> v3 + neutron: supported (encouraged future-proof combo)
>>
>> That doesn't sound too bad to me. Lets us finalize v3 core in icehouse
>> and keeps a lot of simplification / deprecation options open for Juno,
>> depending on how the nova-net vs. neutron story pans out then.
>>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>




More information about the OpenStack-dev mailing list