Add VPP service
authorFeng Pan <fpan@redhat.com>
Tue, 31 Jan 2017 20:35:24 +0000 (15:35 -0500)
committerFeng Pan <fpan@redhat.com>
Fri, 17 Feb 2017 14:57:06 +0000 (09:57 -0500)
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 <fpan@redhat.com>
Puppetfile_extras
manifests/profile/base/vpp.pp [new file with mode: 0644]
releasenotes/notes/vpp-7368457faab68824.yaml [new file with mode: 0644]

index b927d99..80ab083 100644 (file)
@@ -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 (file)
index 0000000..05f52f9
--- /dev/null
@@ -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 (file)
index 0000000..94264c5
--- /dev/null
@@ -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.