From 9dd5d7bf353fe5ffd478ff811bb6b26538afe092 Mon Sep 17 00:00:00 2001 From: viliamluc Date: Fri, 12 Aug 2016 06:58:15 -0500 Subject: puppet module added Change-Id: Ic70ee605b7e0e88054fe5599180026a55d7dddae Signed-off-by: viliamluc --- testing/puppet-fdio/manifests/vpp.pp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 testing/puppet-fdio/manifests/vpp.pp (limited to 'testing/puppet-fdio/manifests/vpp.pp') diff --git a/testing/puppet-fdio/manifests/vpp.pp b/testing/puppet-fdio/manifests/vpp.pp new file mode 100644 index 0000000..bf23901 --- /dev/null +++ b/testing/puppet-fdio/manifests/vpp.pp @@ -0,0 +1,25 @@ +# == Class: fdio::vpp +# +# fd.io::vpp +# +# === Parameters +# [* vpp_port *] +# Port for VPP to listen on. +# [* dpdk_pmd_driver *] +# Sets VPP's uio-driver value +class fdio::vpp ( + $install_method = $::fdio::params::install_method, + $dpdk_pmd_type = $::fdio::params::dpdk_pmd_type, + $dpdk_pci_devs = $::fdio::params::dpdk_pci_devs, +) inherits ::fdio { + + class { '::fdio::vpp::install': + install_method => $install_method, + } -> + class { '::fdio::vpp::config': + dpdk_pmd_type => $dpdk_pmd_type, + dpdk_pci_devs => $dpdk_pci_devs, + } ~> + class { '::fdio::vpp::service': } -> + Class['::fdio::vpp'] +} -- cgit 1.2.3-korg