Re: [Netstack] V2 IP Address Allocations

2012-06-21 Thread Salvatore Orlando
Joining Dan in the late-night fun of doing emails :) Replies inline. Salvatore On 21 June 2012 23:59, Dan Wendlandt wrote: > > > On Thu, Jun 21, 2012 at 5:34 PM, Jason Kölker > wrote: >> >> On Thu, 2012-06-21 at 14:56 +0300, Gary Kotton wrote: >> > > However, I would probably use a slightly dif

Re: [Netstack] V2 IP Address Allocations

2012-06-21 Thread Dan Wendlandt
On Thu, Jun 21, 2012 at 5:34 PM, Jason Kölker wrote: > On Thu, 2012-06-21 at 14:56 +0300, Gary Kotton wrote: > > > However, I would probably use a slightly different syntax for > associating IPs: > > > > > > POST /v2.0/ips > > > > > > { > > >"subnet_id": "", > > >"port_id": "", > > >"i

Re: [Netstack] V2 IP Address Allocations

2012-06-21 Thread Jason Kölker
On Thu, 2012-06-21 at 14:56 +0300, Gary Kotton wrote: > > However, I would probably use a slightly different syntax for associating > > IPs: > > > > POST /v2.0/ips > > > > { > >"subnet_id": "", > >"port_id": "", > >"ip": "<{ipv4 | ipv6}>", > > } > > This entails that a port will have

Re: [Netstack] V2 IP Address Allocations

2012-06-21 Thread Jason Kölker
On Thu, 2012-06-21 at 10:27 +0100, Salvatore Orlando wrote: > > > We could do a query that specified filter network_id=ABC, but it was > > > already a bit wonky to do something like fixed_ips=10.0.0.2 because > > > fixed_ip was really a list, not a string. Were you envisioning a > > > model where

Re: [Netstack] V2 IP Address Allocations

2012-06-21 Thread Salvatore Orlando
Replies inline! Have a good day, Salvatore On 21 June 2012 12:56, Gary Kotton wrote: > On 06/21/2012 12:27 PM, Salvatore Orlando wrote: >> >> Hi, >> >> I am not entirely sure I've got this thread right - so I apologize in >> advance for any non sense. >> It seems it started with Gary asking whet

Re: [Netstack] V2 IP Address Allocations

2012-06-21 Thread Gary Kotton
On 06/21/2012 12:27 PM, Salvatore Orlando wrote: Hi, I am not entirely sure I've got this thread right - so I apologize in advance for any non sense. It seems it started with Gary asking whether we could restructure the request format for POST /v2/ports, but then it seems the discussion is now f

Re: [Netstack] V2 IP Address Allocations

2012-06-21 Thread Salvatore Orlando
Hi, I am not entirely sure I've got this thread right - so I apologize in advance for any non sense. It seems it started with Gary asking whether we could restructure the request format for POST /v2/ports, but then it seems the discussion is now focused on how we should search for IPs. I understan

[Netstack] IP Address Allocation

2012-06-21 Thread Gary Kotton
Hi, I have committed a first patch for the IP address allocations. Please note that I still need to address the port update. This will at least enable other to make use of the IP address allocations (for example for nova integration). Please note that http://wiki.openstack.org/QuantumV2APIIntr