Re: Hooking into the SecurityGroups

2016-04-07 Thread Nux!
how to get out of this elegantly? -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - > From: "Nux!" > To: dev@cloudstack.apache.org > Sent: Tuesday, 5 April, 2016 08:29:30 > Subject: Re: Hooking into the SecurityGroups > T

Re: Hooking into the SecurityGroups

2016-04-05 Thread Nux!
--- Original Message - > From: "Jayapal Uradi" > To: dev@cloudstack.apache.org > Sent: Tuesday, 5 April, 2016 06:00:19 > Subject: Re: Hooking into the SecurityGroups > Hi Nux, > > I think ipset ‘myipset’ changes might be there in other commits. If you do not > have s

Re: Hooking into the SecurityGroups

2016-04-04 Thread Jayapal Uradi
chnology! > > Nux! > www.nux.ro > > - Original Message - >> From: "Nux!" >> To: "dev" >> Sent: Friday, 1 April, 2016 11:42:10 >> Subject: Hooking into the SecurityGroups > >> Hi, >> >> I want to hook into the SGs and ad

Re: Hooking into the SecurityGroups

2016-04-04 Thread Nux!
ssage - > From: "Nux!" > To: "dev" > Sent: Friday, 1 April, 2016 11:42:10 > Subject: Hooking into the SecurityGroups > Hi, > > I want to hook into the SGs and add a few iptables rules every time a VM is > spawned and delete them when the VM is

Re: Hooking into the SecurityGroups

2016-04-04 Thread Nux!
Borg technology! Nux! www.nux.ro - Original Message - > From: "Nux!" > To: dev@cloudstack.apache.org > Sent: Friday, 1 April, 2016 13:12:55 > Subject: Re: Hooking into the SecurityGroups > Thanks a lot Jayapal! > > Will, that sounds nice but I have n

Re: Hooking into the SecurityGroups

2016-04-01 Thread Will Stevens
gt; > - Original Message - > > From: "Will Stevens" > > To: dev@cloudstack.apache.org > > Cc: "Pierre-Luc Dion" > > Sent: Friday, 1 April, 2016 15:38:19 > > Subject: Re: Hooking into the SecurityGroups > > > Patrick, did you

Re: Hooking into the SecurityGroups

2016-04-01 Thread Nux!
onetheless. Thanks -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - > From: "Will Stevens" > To: dev@cloudstack.apache.org > Cc: "Pierre-Luc Dion" > Sent: Friday, 1 April, 2016 15:38:19 > Subject: Re: Hooking int

Re: Hooking into the SecurityGroups

2016-04-01 Thread Patrick Dube
. > > > > > > Lucian > > > > > > -- > > > Sent from the Delta quadrant using Borg technology! > > > > > > Nux! > > > www.nux.ro > > > > > > - Original Message - > > > > From: "Will St

Re: Hooking into the SecurityGroups

2016-04-01 Thread Will Stevens
a level lower than what you're proposing. > > > > Lucian > > > > -- > > Sent from the Delta quadrant using Borg technology! > > > > Nux! > > www.nux.ro > > > > - Original Message - > > > From: "Will Steven

Re: Hooking into the SecurityGroups

2016-04-01 Thread Patrick Dube
ns" > > To: dev@cloudstack.apache.org > > Sent: Friday, 1 April, 2016 12:50:16 > > Subject: Re: Hooking into the SecurityGroups > > > Slightly off topic, but relevant. Ideally we could easily hook into the > > event logging and build added logic by simply tying

Re: Hooking into the SecurityGroups

2016-04-01 Thread Will Stevens
, 2016 12:50:16 > Subject: Re: Hooking into the SecurityGroups > Slightly off topic, but relevant. Ideally we could easily hook into the > event logging and build added logic by simply tying them to specific > events. This would limit the hackery and would provide a system that others >

Re: Hooking into the SecurityGroups

2016-04-01 Thread Nux!
plore, though it sounds like a level lower than what you're proposing. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - > From: "Will Stevens" > To: dev@cloudstack.apache.org > Sent: Friday, 1 April, 2016 12:50:1

Re: Hooking into the SecurityGroups

2016-04-01 Thread Will Stevens
Slightly off topic, but relevant. Ideally we could easily hook into the event logging and build added logic by simply tying them to specific events. This would limit the hackery and would provide a system that others could use without having to change the core. Has anyone done something like this?

Re: Hooking into the SecurityGroups

2016-04-01 Thread Jayapal Uradi
Hi Nux, You need to look at the vmops file for xenserver and security_group.py for the kvm. Look at the below methods in these file. destroy_network_rules_for_vm, default_network_rules. Thanks, jayapal On 01-Apr-2016, at 4:12 pm, Nux! mailto:n...@li.nux.ro>> wrote: Hi, I want to hook into

Hooking into the SecurityGroups

2016-04-01 Thread Nux!
Hi, I want to hook into the SGs and add a few iptables rules every time a VM is spawned and delete them when the VM is moved/deleted. Has anyone done this before? Any pointers before I go and butcher it? :-) Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro