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:
Lars Kellogg-Stedman 2014-04-15 17:07:53 -04:00
parent ccbb52d537
commit fcb0f2c964
2 changed files with 11 additions and 0 deletions

View File

@ -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

View 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',
}