openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #07868
Security Group Rule Refresh
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
Follow ups