summaryrefslogtreecommitdiffstats
path: root/manifests/profile
diff options
context:
space:
mode:
authorBartosz Stopa <b.stopa@samsung.com>2017-04-19 09:18:27 +0200
committerBartosz Stopa <b.stopa@samsung.com>2017-04-19 09:18:27 +0200
commitf8ed8b69ddd56b43675a7ecdfb8e61c207ad44b1 (patch)
treeb9ad22ce188d01cf415bc7feef0329247f2fe7d0 /manifests/profile
parent97aac6a58c30d044cc04f67829d74c98f56d28ba (diff)
Add linuxbridge agent profile
Add a tripleo profile for neutron linuxbridge agent configuration. Change-Id: Ie3ac03052f341c26735b423701e1decf7233d935 Partial-Bug: #1652211
Diffstat (limited to 'manifests/profile')
-rw-r--r--manifests/profile/base/neutron/linuxbridge.pp20
1 files changed, 20 insertions, 0 deletions
diff --git a/manifests/profile/base/neutron/linuxbridge.pp b/manifests/profile/base/neutron/linuxbridge.pp
new file mode 100644
index 0000000..9f4899a
--- /dev/null
+++ b/manifests/profile/base/neutron/linuxbridge.pp
@@ -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
+ }
+}