Re: Handling Public network traffic in a plugin

2013-09-16 Thread Daan Hoogland
Yes Dave, And maybe more generic: plugin installation procedures would be yet another level of api permission. They would be allowed to do even more then admins. Like add our system network offerings. regards, Daan On Mon, Sep 16, 2013 at 3:19 PM, Dave Cahill wrote: > That looks perfectly fine

Re: Handling Public network traffic in a plugin

2013-09-16 Thread Dave Cahill
That looks perfectly fine. I was just saying it would be nice if it were also possible to create network offerings for traffic types other than Guest - it would, for example, provide a mechanism for network plugins to handle other traffic types. Thanks, Dave. On Mon, Sep 16, 2013 at 6:07 PM, Da

Re: Handling Public network traffic in a plugin

2013-09-16 Thread Daan Hoogland
Dave, As I suspected I used guest type for this offering: def createPrivateGatewayNetworkOffering(self, conn): offers = self.listNetworkOfferings(conn, name="NiciraNvpPrivateGatewayNetwork") if offers != None: return offers[0].id # else create it cno = createNe

Re: Handling Public network traffic in a plugin

2013-09-06 Thread Daan Hoogland
H Dave, I actually didn't give 'guest' to much thought. I had to change the vpcvirtualrouter. It calls the right guru based on the netoffer. I feel I am not answering your question. Are you in Amsterdam the 22th of november? A hackathon on this seems appropriate. mobile biligual spell checker use

Re: Handling Public network traffic in a plugin

2013-09-04 Thread Dave Cahill
Hi, The creste neroffer api accepts system=true. The creation should be part of > the plugin install, though. Ah, sounds interesting! Does it also accept creating networkofferings for Traffic types other than Guest? Looking at 4.2, createNetworkOffering does a check to restrict to Guest traffic

Re: Handling Public network traffic in a plugin

2013-09-04 Thread Daan Hoogland
H Dave, Sorry about the white space. The creste neroffer api accepts system=true. The creation should be part of the plugin install, though. I will have to write more doc and any specific questions would help. mobile biligual spell checker used Op 4 sep. 2013 11:45 schreef "Dave Cahill" het vo

Re: Handling Public network traffic in a plugin

2013-09-04 Thread Dave Cahill
Hi Daan, My take on things is to add a network offering for vpc private gateways. I > extend the api > call with the optional netoffer. I read the wiki page on that feature [1] and the most recent code review, but I don't fully understand it yet - is there any other documentation / code around?

Re: Handling Public network traffic in a plugin

2013-09-03 Thread Daan Hoogland
H Dave, It seems we are working on similar things, David. My take on things is to add a network offering for vpc private gateways. I extend the api call with the optional netoffer. It sounds like you are doing something slightly different but we are bound to break each others code as well, even wh

Handling Public network traffic in a plugin

2013-09-03 Thread Dave Cahill
Hi, A few months back I mailed the list to explain how (and why) the MidoNet plugin handles Public traffic as well as Guest traffic - see [1] for details. Essentially, we plug the System VMs into the virtual network the same way we plug in guest VMs, and the virtual network takes care of all routi