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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user