add support for neutron/nova notifications
This adds options to configure the Neutron -> Nova notifications of port status and data changes. Requires a recent puppet-neutron module with neutron::server::notifications manifest (e.g., https://review.openstack.org/#/c/88410/) Change-Id: I26684a8fe5df79db6b68a5bd733619517376660c Closes-bug: 1306337
This commit is contained in:
parent
ccbb52d537
commit
fcb0f2c964
@ -673,6 +673,8 @@ def create_manifests(config):
|
||||
if host in api_hosts:
|
||||
manifest_file = "%s_neutron.pp" % (host,)
|
||||
manifest_data = getManifestTemplate("neutron_api.pp")
|
||||
manifest_data += getManifestTemplate("neutron_notifications.pp")
|
||||
|
||||
# Firewall Rules
|
||||
for f_host in allowed_hosts:
|
||||
config['FIREWALL_ALLOWED'] = "'%s'" % f_host
|
||||
|
9
packstack/puppet/templates/neutron_notifications.pp
Normal file
9
packstack/puppet/templates/neutron_notifications.pp
Normal file
@ -0,0 +1,9 @@
|
||||
# Configure nova notifications system
|
||||
class { 'neutron::server::notifications':
|
||||
nova_admin_username => 'nova',
|
||||
nova_admin_password => '%(CONFIG_NOVA_KS_PW)s',
|
||||
nova_admin_tenant_name => 'services',
|
||||
nova_url => 'http://%(CONFIG_NOVA_API_HOST)s:8774/v2',
|
||||
nova_admin_auth_url => 'http://%(CONFIG_KEYSTONE_HOST)s:35357/v2.0',
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user