Hi Nux, I think ipset ‘myipset’ changes might be there in other commits. If you do not have special requirement then you can use the existing ipset which is with the vmname ex: i-2-3-VM. Except this it looks good to me.
Thanks, Jayapal > On 04-Apr-2016, at 10:17 pm, Nux! <n...@li.nux.ro> wrote: > > Well, this is what we got working in the end. If someone has any suggestions > on how to improve it, that'd be great. > > https://github.com/NuxRo/cloudstack/commit/de6f97367fc2dc02378f367c462eaaec8f92e234 > > -- > Sent from the Delta quadrant using Borg technology! > > Nux! > www.nux.ro > > ----- Original Message ----- >> From: "Nux!" <n...@li.nux.ro> >> To: "dev" <dev@cloudstack.apache.org> >> 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 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 DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.