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/README.markdown | 113 ++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 testing/puppet-fdio/README.markdown (limited to 'testing/puppet-fdio/README.markdown') diff --git a/testing/puppet-fdio/README.markdown b/testing/puppet-fdio/README.markdown new file mode 100644 index 0000000..33220d6 --- /dev/null +++ b/testing/puppet-fdio/README.markdown @@ -0,0 +1,113 @@ +# FD.IO + +#### Table of Contents +1. [Overview](#overview) +1. [Module Description](#module-description) +1. [Setup](#setup) +1. [Usage](#usage) +1. [Reference ](#reference) +1. [Limitations](#limitations) +1. [Development](#development) +1. [Release Notes/Contributors](#release-notescontributors) + +## Overview + +Puppet module that installs and configures [FD.IO][7]. + +## Module Description + +Deploys FD.IO to various OSs via package. + +All configuration should be handled through the Puppet +module's [params](#parameters). + +## Setup + +* Installs VPP and Honeycomb +* Assumes pre-exiting DPDK bindings +* Configures VPP's startup.conf +* Ensures services are running + + +## Usage + +The most basic usage, passing no parameters to the fdio class, will +install and start vpp and honeycomb with a default configuration. + +```puppet +class { 'fdio': +} +``` + +### Ports + +To change the port vpp listens use the `vpp_port` param. + + +```puppet +class { 'fdio': + vpp_port => '5002', +} +``` + +### Set uio-driver + +To set the uio-driver use the `dpdk_pmd_driver` param. + +```puppet +class { 'fdio': + dpdk_pmd_driver => 'vfio_pci', +} +``` + +## Reference + +### Classes + +#### Public classes + +* `::fdio`: Main entry point to the module. + +#### Private classes + +* `::fdio::params`: Contains default class param values. +* `::fdio::install`: Installs VPP and Honeycomb from packages. +* `::fdio::config`: Manages vpp config +* `::fdio::service`: Starts the services. + +### `::fdio` + +#### Parameters + +##### `vpp_port` + +Sets the VPP port. + +Default: `8080` + +Valid options: A valid port number for VPP to listen on. + +##### `dpdk_pmd_driver` + +Sets the uio-driver for vpp + +Default: `uio_pci_generic` + +Valid options: Driver names are specifed as strings. + + +## Limitations + +* Tested on CentOS 7. + +## Development + +We welcome contributions and work to make them easy! + +TODO + +## Release Notes/Contributors + +TODO + +[1]: -- cgit 1.2.3-korg