Add linuxbridge agent profile
authorBartosz Stopa <b.stopa@samsung.com>
Wed, 19 Apr 2017 07:18:27 +0000 (09:18 +0200)
committerBartosz Stopa <b.stopa@samsung.com>
Wed, 19 Apr 2017 07:18:27 +0000 (09:18 +0200)
Add a tripleo profile for neutron linuxbridge agent configuration.

Change-Id: Ie3ac03052f341c26735b423701e1decf7233d935
Partial-Bug: #1652211

manifests/profile/base/neutron/linuxbridge.pp [new file with mode: 0644]

diff --git a/manifests/profile/base/neutron/linuxbridge.pp b/manifests/profile/base/neutron/linuxbridge.pp
new file mode 100644 (file)
index 0000000..9f4899a
--- /dev/null
@@ -0,0 +1,20 @@
+# == Class: tripleo::profile::base::neutron::linuxbridge
+#
+# Neutron linuxbridge agent profile for tripleo
+#
+# === Parameters
+#
+# [*step*]
+#   (Optional) The current step in deployment. See tripleo-heat-templatee
+#   for more details.
+#   Defaults to hiera('step')
+#
+class tripleo::profile::base::neutron::linuxbridge(
+    $step           = hiera('step'),
+) {
+    include ::tripleo::profile::base::neutron
+
+    if $step >= 5 {
+        include ::neutron::agents::ml2::linuxbridge
+    }
+}