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