Fixes wrong host list for firewall rules

Previous patch added firewall rules for neutron plugin
but missed to set the correct host list.

Change-Id: I2baa204907c7c1529026b4f09686bb49433dfe2c
This commit is contained in:
Ivan Chavero
2014-03-28 18:19:41 -07:00
parent 597459d68d
commit f62e10b6be

View File

@@ -667,7 +667,7 @@ def create_manifests(config):
manifest_file = "%s_neutron.pp" % (host,)
manifest_data = getManifestTemplate("neutron_api.pp")
# Firewall Rules
for f_host in q_hosts:
for f_host in allowed_hosts:
config['FIREWALL_ALLOWED'] = "'%s'" % f_host
config['FIREWALL_SERVICE_ID'] = "neutron_server_%s_%s" % (host, f_host)
manifest_data += getManifestTemplate("firewall.pp")