[Neutron] open tunnel port also for compute_hosts

Neutron l2 agent is being installed on network_hosts and compute_hosts

Resolves-Bug: rhbz#1195258
Change-Id: I4b4fc4ace91f9f7af64ecb089884bf914478d411
(cherry picked from commit 48a531cb17)
This commit is contained in:
Lukas Bezdicka
2015-02-25 23:24:23 +01:00
committed by Lukas Bezdicka
parent b9ee4185c7
commit 0c04ac7ce0

View File

@@ -610,7 +610,7 @@ def create_manifests(config, messages):
# We also need to open VXLAN/GRE port for agent
manifest_data = ""
if use_openvswitch_vxlan(config) or use_openvswitch_gre(config):
for n_host in network_hosts:
for n_host in network_hosts | compute_hosts:
cf_fw_nt_key = ("FIREWALL_NEUTRON_TUNNEL_RULES_%s_%s"
% (host, n_host))
fw_details = dict()