From f59e01c097c1bd9f121bf94a7978c40ffa4e80d8 Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Tue, 31 Jan 2017 15:35:24 -0500 Subject: Add VPP service Vector Packet Processing (VPP) is a high performance packet processing stack that runs in user space in Linux. VPP is used as an alternative to kernel networking stack for accelerated network data path. Implements: blueprint fdio-integration-tripleo Change-Id: I70a68a204a8b9d533fc2fa4fc33c39c3b1c366bf Signed-off-by: Feng Pan --- Puppetfile_extras | 4 ++++ manifests/profile/base/vpp.pp | 32 ++++++++++++++++++++++++++++ releasenotes/notes/vpp-7368457faab68824.yaml | 7 ++++++ 3 files changed, 43 insertions(+) create mode 100644 manifests/profile/base/vpp.pp create mode 100644 releasenotes/notes/vpp-7368457faab68824.yaml diff --git a/Puppetfile_extras b/Puppetfile_extras index b927d99..80ab083 100644 --- a/Puppetfile_extras +++ b/Puppetfile_extras @@ -28,3 +28,7 @@ mod 'datacat', mod 'etcd', :git => 'https://github.com/cristifalcas/puppet-etcd', :ref => '1.10.0' + +mod 'fdio', + :git => 'https://git.fd.io/puppet-fdio', + :ref => 'master' diff --git a/manifests/profile/base/vpp.pp b/manifests/profile/base/vpp.pp new file mode 100644 index 0000000..05f52f9 --- /dev/null +++ b/manifests/profile/base/vpp.pp @@ -0,0 +1,32 @@ +# Copyright 2017 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +# == Class: tripleo::profile::base::vpp +# +# vpp profile for tripleo +# +# === Parameters +# +# [*step*] +# (Optional) The current step in deployment. See tripleo-heat-templates +# for more details. +# Defaults to hiera('step') +# +class tripleo::profile::base::vpp ( + $step = hiera('step'), +) { + if $step >= 1 { + include ::fdio + } +} diff --git a/releasenotes/notes/vpp-7368457faab68824.yaml b/releasenotes/notes/vpp-7368457faab68824.yaml new file mode 100644 index 0000000..94264c5 --- /dev/null +++ b/releasenotes/notes/vpp-7368457faab68824.yaml @@ -0,0 +1,7 @@ +--- +features: + - | + Add profiles for VPP service. Vector Packet Processing (VPP) is a high + performance packet processing stack that runs in user space in Linux. + VPP is used as an alternative to kernel networking stack for accelerated + network data path. -- cgit 1.2.3-korg