fuel-library/deployment/puppet/mellanox_openstack/spec/spec_helper.rb
Aviram Bar-Haim c334bf2a14 Adding virtual port renaming in case of iSER
Due to RDMA requirement, storage port is changed to a virtual
port on the hypervisor in case of choosing iSER.

The virtual port is renamed to a predefined name that has
already been serialized to astute.yaml network scheme.

This change includes:
  1. Adding a call to a the bash script from stage zero in site.pp
     OS_common class, in case of choosing iSER.
  2. Adding a template of the bash script to a new empty puppet module
     that will include Mellanox manifests.
  3. Adding iser_rename manifest to call the bash script in stage zero.

partially implements: blueprint mellanox-features-support

Change-Id: I2828427e096245408fa536904ea9cece39256ef0
Signed-off-by: Aviram Bar-Haim <aviramb@mellanox.com>
2014-07-17 17:33:48 +03:00

18 lines
400 B
Ruby

dir = File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift File.join(dir, 'lib')
require 'mocha'
require 'puppet'
require 'rspec'
require 'spec/autorun'
Spec::Runner.configure do |config|
config.mock_with :mocha
end
# We need this because the RAL uses 'should' as a method. This
# allows us the same behaviour but with a different method name.
class Object
alias :must :should
end