[Openstack] Security Group Rule Refresh

McNally, Dave (HP Cloud Services) dave.mcnally at hp.com
Wed Feb 22 17:13:04 UTC 2012


Hi all,

Currently I'm trying to track how a refresh of the security groups is handled (upon creation or deletion of a vm). Following through the code I get to 'do_refresh_security_group_rules' in libvirt/firewall.py. Up to this point the security group in question has been carried through however it seems to be discarded here and rather than filtering the instances to refresh the rules for based on this group it looks to me like all instances on the current host are iterated through and then there is an attempt to update the rules for all these instances.

Is this full refresh necessary/intentional? If so can anyone tell me why it's required?

Thanks,

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120222/bcfe171d/attachment.html>


More information about the Openstack mailing list