Re: [Netstack] V2 IP Address Allocations

2012-06-20 Thread Gary Kotton
On 06/20/2012 09:42 PM, Dan Wendlandt wrote: On Wed, Jun 20, 2012 at 9:05 AM, Gary Kotton > wrote: Hi, In the API (http://wiki.openstack.org/QuantumV2APIIntro#Port), the user is able to pass /*fixed_ips_v4*/ and /*fixed_ips_v6*/. If possible can we p

Re: [Netstack] V2 IP Address Allocations

2012-06-20 Thread Jason Kölker
On Wed, 2012-06-20 at 12:02 -0700, Dan Wendlandt wrote: > > For example, if port was just: > > > { 'id' : XYZ, > 'network_id': "ABC" > 'fixed_ips': [ "10.0.0.2" ] > } > > > We could do a query that specified filter network_id=ABC, but it was > already a bit wonky to do something like fi

Re: [Netstack] V2 IP Address Allocations

2012-06-20 Thread Jason Kölker
On Wed, 2012-06-20 at 20:27 +0300, Gary Kotton wrote: > >> > >> Please let me know if you have any comments. > > The only issue is then we can't search by ip unless we invent a schema > > for nested resource searching. One of the reasons I was an advocate of a > > top level /ips resource. > I am no

Re: [Netstack] V2 IP Address Allocations

2012-06-20 Thread Dan Wendlandt
On Wed, Jun 20, 2012 at 9:39 AM, Jason Kölker wrote: > On Wed, 2012-06-20 at 19:05 +0300, Gary Kotton wrote: > > Hi, > > In the API (http://wiki.openstack.org/QuantumV2APIIntro#Port), the user > > is able to pass /*fixed_ips_v4*/ and /*fixed_ips_v6*/. If possible can > > we please change this to /

Re: [Netstack] V2 IP Address Allocations

2012-06-20 Thread Dan Wendlandt
On Wed, Jun 20, 2012 at 9:05 AM, Gary Kotton wrote: > ** > Hi, > In the API (http://wiki.openstack.org/QuantumV2APIIntro#Port), the user > is able to pass *fixed_ips_v4* and *fixed_ips_v6*. If possible can we > please change this to *fixed_ips**,* where the *fixed_ips* is a list of > dictionary's

Re: [Netstack] V2 IP Address Allocations

2012-06-20 Thread Gary Kotton
On 06/20/2012 07:39 PM, Jason Kölker wrote: On Wed, 2012-06-20 at 19:05 +0300, Gary Kotton wrote: Hi, In the API (http://wiki.openstack.org/QuantumV2APIIntro#Port), the user is able to pass /*fixed_ips_v4*/ and /*fixed_ips_v6*/. If possible can we please change this to /*fixed_ips*/_,_ where the

Re: [Netstack] V2 IP Address Allocations

2012-06-20 Thread Jason Kölker
On Wed, 2012-06-20 at 19:05 +0300, Gary Kotton wrote: > Hi, > In the API (http://wiki.openstack.org/QuantumV2APIIntro#Port), the user > is able to pass /*fixed_ips_v4*/ and /*fixed_ips_v6*/. If possible can > we please change this to /*fixed_ips*/_,_ where the /*fixed_ips*/ is a > list of dictio

[Netstack] V2 IP Address Allocations

2012-06-20 Thread Gary Kotton
Hi, In the API (http://wiki.openstack.org/QuantumV2APIIntro#Port), the user is able to pass /*fixed_ips_v4*/ and /*fixed_ips_v6*/. If possible can we please change this to /*fixed_ips*/_,_ where the /*fixed_ips*/ is a list of dictionary's. The dictionary has the following key value pairs: