From 8b9e2b3c6ca5221249b8aa7dc792e756ee92209a Mon Sep 17 00:00:00 2001 From: Michael Henkel Date: Fri, 16 Jun 2017 10:49:57 -0700 Subject: Contrail: Fix controlplane/dataplane network asignments & enable optional dpdk This patch will move the Contrail roles communication towards OpenStack APIs from the public/external network to the internal_api network. I will also add the option to enable dpdk for Contrail. Change-Id: Ia835df656031cdf28de20f41ec6ab1c028dced23 Closes-Bug: 1698422 --- spec/functions/netmask_to_cidr_spec.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 spec/functions/netmask_to_cidr_spec.rb (limited to 'spec') diff --git a/spec/functions/netmask_to_cidr_spec.rb b/spec/functions/netmask_to_cidr_spec.rb new file mode 100644 index 0000000..e076456 --- /dev/null +++ b/spec/functions/netmask_to_cidr_spec.rb @@ -0,0 +1,6 @@ +require 'spec_helper' +require 'puppet' + +describe 'netmask_to_cidr' do + it { should run.with_params('255.255.255.0').and_return(24) } +end -- cgit 1.2.3-korg