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! <n...@li.nux.ro<mailto:n...@li.nux.ro>> wrote:

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<http://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.

Reply via email to