f9b3d184a0
Recent versions of Neutron are able to provide active notifications to Nova about changes to port status and data. This change adds the neutron::server::notifications class to allow Puppet to configure this feature when setting up a Neutron server. neutron.conf requires a tenant UUID for communicating with Nova. This changes adds adds a custom type and provider to translate an admin tenant name to the required UUID. Co-Authored-By: emilienm <emilien.macchi@enovance.com> Change-Id: I57af7cb47a12adabed9b1ee65e1c352b3e5fc2de Closes-bug: 1306694
14 lines
454 B
Ruby
14 lines
454 B
Ruby
require 'puppetlabs_spec_helper/module_spec_helper'
|
|
require 'shared_examples'
|
|
require 'webmock/rspec'
|
|
require 'json'
|
|
|
|
fixture_path = File.expand_path(File.join(__FILE__, '..', 'fixtures'))
|
|
|
|
RSpec.configure do |c|
|
|
c.alias_it_should_behave_like_to :it_configures, 'configures'
|
|
c.alias_it_should_behave_like_to :it_raises, 'raises'
|
|
c.module_path = File.join(fixture_path, 'modules')
|
|
c.manifest_dir = File.join(fixture_path, 'manifests')
|
|
end
|