fuel plugin: Initial version
[ovsnfv.git] / fuel-plugin-ovsnfv / deployment_scripts / puppet / manifests / ovs-install-ovsnfv-compute.pp
diff --git a/fuel-plugin-ovsnfv/deployment_scripts/puppet/manifests/ovs-install-ovsnfv-compute.pp b/fuel-plugin-ovsnfv/deployment_scripts/puppet/manifests/ovs-install-ovsnfv-compute.pp
new file mode 100644 (file)
index 0000000..f95cbb8
--- /dev/null
@@ -0,0 +1,12 @@
+$fuel_settings = parseyaml(file('/etc/astute.yaml'))
+$master_ip = $::fuel_settings['master_ip']
+
+if $operatingsystem == 'Ubuntu' {
+  class { '::ovsdpdk':
+    ovs_bridge_mappings => 'default:br-eth3',
+    ovs_socket_mem      => '512',
+    ovs_num_hugepages   => '256',
+    compute             => 'True',
+  }
+} elsif $operatingsystem == 'CentOS' {
+}