[Neutron] Don't run fwaas/lbaas classes on standalone api nodes
With patch https://review.openstack.org/#/c/200877/ lbaas/fwaas packages will be installed in ::neutron class and it's not necessary to set up whole agents/services on the api node. Change-Id: I89c32cd69d3ad06ed04460ded64deb7faeec3712 Closes-Bug: rhbz#1233149
This commit is contained in:
parent
497cce88d2
commit
7741935da1
|
@ -689,7 +689,7 @@ def create_fwaas_manifests(config, messages):
|
|||
if not config['CONFIG_NEUTRON_FWAAS'] == 'y':
|
||||
return
|
||||
|
||||
for host in network_hosts | api_hosts:
|
||||
for host in network_hosts:
|
||||
manifestdata = getManifestTemplate("neutron_fwaas")
|
||||
manifestfile = "%s_neutron.pp" % (host,)
|
||||
appendManifestFile(manifestfile, manifestdata + "\n")
|
||||
|
@ -701,7 +701,7 @@ def create_lbaas_manifests(config, messages):
|
|||
if not config['CONFIG_LBAAS_INSTALL'] == 'y':
|
||||
return
|
||||
|
||||
for host in network_hosts | api_hosts:
|
||||
for host in network_hosts:
|
||||
config['CONFIG_NEUTRON_LBAAS_INTERFACE_DRIVER'] = get_if_driver(config)
|
||||
manifestdata = getManifestTemplate("neutron_lbaas")
|
||||
manifestfile = "%s_neutron.pp" % (host,)
|
||||
|
|
Loading…
Reference in New Issue