Commit b75073e7 authored by Sigmund Augdal's avatar Sigmund Augdal

Also regenerate iptables ruleset when library groups change

parent 245f1285
......@@ -353,8 +353,9 @@ class Generator(object):
waitIndex=index+1, timeout=0)
index = data.etcd_index # pylint: disable=E1101
key = data.key # pylint: disable=E1101,E1103
if not key.startswith("/nova/iaas/instances") and not \
key.startswith("/nova/iaas/security_group"):
if not key.startswith("/nova/iaas/instances") and \
not key.startswith("/nova/iaas/security_group") and \
not key.startswith("/nova/iaas/library_group"):
continue
time.sleep(1)
logging.debug("new config index %d", index)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment