aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorMichael Henkel <mhenkel@juniper.net>2017-06-16 10:49:57 -0700
committerMichael Henkel <mhenkel@juniper.net>2017-07-05 22:52:58 +0200
commit8b9e2b3c6ca5221249b8aa7dc792e756ee92209a (patch)
tree4a48415cf30e540fae4a28ed135448dd8320cd74 /spec
parent0aad4142bea287265c22ea252c4adeff5ff69721 (diff)
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
Diffstat (limited to 'spec')
-rw-r--r--spec/functions/netmask_to_cidr_spec.rb6
1 files changed, 6 insertions, 0 deletions
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