Re: [openstack-dev] [nova] os-virtual-interfaces isn't deprecated in 2.36

2016-08-03 Thread Matt Riedemann
On 8/3/2016 1:44 AM, Alex Xu wrote: 2016-08-03 14:40 GMT+08:00 Alex Xu >: 2016-08-02 22:09 GMT+08:00 Matt Riedemann >: On 8/2/2016 2:41 AM, Alex Xu wrote:

Re: [openstack-dev] [nova] os-virtual-interfaces isn't deprecated in 2.36

2016-08-03 Thread Alex Xu
2016-08-03 14:40 GMT+08:00 Alex Xu : > > > 2016-08-02 22:09 GMT+08:00 Matt Riedemann : > >> On 8/2/2016 2:41 AM, Alex Xu wrote: >> >>> A little strange we have two API endpoints, one is >>> '/servers/{uuid}/os-interfaces', another one is >>>

Re: [openstack-dev] [nova] os-virtual-interfaces isn't deprecated in 2.36

2016-08-03 Thread Alex Xu
2016-08-02 22:09 GMT+08:00 Matt Riedemann : > On 8/2/2016 2:41 AM, Alex Xu wrote: > >> A little strange we have two API endpoints, one is >> '/servers/{uuid}/os-interfaces', another one is >> '/servers/{uuid}/os-virtual-interfaces'. >> >> I prefer to keep

Re: [openstack-dev] [nova] os-virtual-interfaces isn't deprecated in 2.36

2016-08-02 Thread Matt Riedemann
On 8/2/2016 9:09 AM, Matt Riedemann wrote: On 8/2/2016 2:41 AM, Alex Xu wrote: A little strange we have two API endpoints, one is '/servers/{uuid}/os-interfaces', another one is '/servers/{uuid}/os-virtual-interfaces'. I prefer to keep os-attach-interface. Due to I think we should deprecate

Re: [openstack-dev] [nova] os-virtual-interfaces isn't deprecated in 2.36

2016-08-02 Thread Matt Riedemann
On 8/2/2016 2:41 AM, Alex Xu wrote: A little strange we have two API endpoints, one is '/servers/{uuid}/os-interfaces', another one is '/servers/{uuid}/os-virtual-interfaces'. I prefer to keep os-attach-interface. Due to I think we should deprecate the nova-network also. Actually we deprecate

Re: [openstack-dev] [nova] os-virtual-interfaces isn't deprecated in 2.36

2016-08-02 Thread Alex Xu
2016-08-02 4:13 GMT+08:00 Matt Riedemann : > On 8/1/2016 1:39 PM, Ken'ichi Ohmichi wrote: > >> 2016-07-29 10:32 GMT-07:00 Sean Dague : >> >>> On 07/28/2016 05:38 PM, Matt Riedemann wrote: >>> On 7/28/2016 3:55 PM, Matt Riedemann wrote: >

Re: [openstack-dev] [nova] os-virtual-interfaces isn't deprecated in 2.36

2016-08-01 Thread Matt Riedemann
On 8/1/2016 1:39 PM, Ken'ichi Ohmichi wrote: 2016-07-29 10:32 GMT-07:00 Sean Dague : On 07/28/2016 05:38 PM, Matt Riedemann wrote: On 7/28/2016 3:55 PM, Matt Riedemann wrote: For os-attach-interfaces, we need that to attach/detach interfaces to a server, so those actions don't

Re: [openstack-dev] [nova] os-virtual-interfaces isn't deprecated in 2.36

2016-08-01 Thread Ken'ichi Ohmichi
2016-07-29 10:32 GMT-07:00 Sean Dague : > On 07/28/2016 05:38 PM, Matt Riedemann wrote: >> On 7/28/2016 3:55 PM, Matt Riedemann wrote: >>> For os-attach-interfaces, we need that to attach/detach interfaces to a >>> server, so those actions don't go away with 2.36. We can also list

Re: [openstack-dev] [nova] os-virtual-interfaces isn't deprecated in 2.36

2016-07-29 Thread Matt Riedemann
On 7/29/2016 12:32 PM, Sean Dague wrote: On 07/28/2016 05:38 PM, Matt Riedemann wrote: On 7/28/2016 3:55 PM, Matt Riedemann wrote: For os-attach-interfaces, we need that to attach/detach interfaces to a server, so those actions don't go away with 2.36. We can also list and show interfaces

Re: [openstack-dev] [nova] os-virtual-interfaces isn't deprecated in 2.36

2016-07-29 Thread Sean Dague
On 07/28/2016 05:38 PM, Matt Riedemann wrote: > On 7/28/2016 3:55 PM, Matt Riedemann wrote: >> For os-attach-interfaces, we need that to attach/detach interfaces to a >> server, so those actions don't go away with 2.36. We can also list and >> show interfaces (ports) which is a proxy to neutron,

Re: [openstack-dev] [nova] os-virtual-interfaces isn't deprecated in 2.36

2016-07-28 Thread Matt Riedemann
On 7/28/2016 3:55 PM, Matt Riedemann wrote: For os-attach-interfaces, we need that to attach/detach interfaces to a server, so those actions don't go away with 2.36. We can also list and show interfaces (ports) which is a proxy to neutron, but in this case it seems a tad bit necessary, else to

Re: [openstack-dev] [nova] os-virtual-interfaces isn't deprecated in 2.36

2016-07-28 Thread Matt Riedemann
On 7/28/2016 3:55 PM, Matt Riedemann wrote: So I think we're OK with os-attach-interfaces (even though it does some proxying right now), but I'm thinking we should be deprecating os-virtual-interfaces. Or if we don't deprecate os-virtual-interfaces, we should implement it for neutron too

[openstack-dev] [nova] os-virtual-interfaces isn't deprecated in 2.36

2016-07-28 Thread Matt Riedemann
I'm not sure if we thought about this before, but the os-virtual-interfaces API isn't deprecated with the 2.36 microversion: https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/virtual_interfaces.py Neither is os-attach-interfaces: