summaryrefslogtreecommitdiffstats
path: root/build/patches/puppet-neutron-add-odl-settings.patch
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2017-03-03 16:02:12 -0500
committerDan Radez <dradez@redhat.com>2017-03-06 08:27:39 -0500
commit83eee4e2361e3b97abc93e0a8bb203f6ba42ffa2 (patch)
tree888bcb5f5968b0dce3744bd8939badd37513dbdf /build/patches/puppet-neutron-add-odl-settings.patch
parenta1cf3378fe98d1ecd4223908adbc8fa44fbbfc39 (diff)
Build cleanups
- moved patch files into patches dir - python-etcd is packaged upstream Change-Id: I2ad33460e1a8b3e57d30976d92c7423a30a68fc9 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'build/patches/puppet-neutron-add-odl-settings.patch')
-rw-r--r--build/patches/puppet-neutron-add-odl-settings.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/build/patches/puppet-neutron-add-odl-settings.patch b/build/patches/puppet-neutron-add-odl-settings.patch
new file mode 100644
index 00000000..aa0b35a1
--- /dev/null
+++ b/build/patches/puppet-neutron-add-odl-settings.patch
@@ -0,0 +1,47 @@
+diff --git a/manifests/plugins/ml2/opendaylight.pp b/manifests/plugins/ml2/opendaylight.pp
+index a27c4d6..13b56c4 100644
+--- a/manifests/plugins/ml2/opendaylight.pp
++++ b/manifests/plugins/ml2/opendaylight.pp
+@@ -29,12 +29,22 @@
+ # (optional) The URI used to connect to the local OVSDB server
+ # Defaults to 'tcp:127.0.0.1:6639'
+ #
++# [*port_binding_controller*]
++# (optional) Name of the controller to be used for port binding.
++# Defaults to $::os_service_default
++#
++# [*odl_hostconf_uri*]
++# (optional) Path for ODL host configuration REST interface.
++# Defaults to $::os_service_default
++#
+ class neutron::plugins::ml2::opendaylight (
+- $package_ensure = 'present',
+- $odl_username = $::os_service_default,
+- $odl_password = $::os_service_default,
+- $odl_url = $::os_service_default,
+- $ovsdb_connection = 'tcp:127.0.0.1:6639',
++ $package_ensure = 'present',
++ $odl_username = $::os_service_default,
++ $odl_password = $::os_service_default,
++ $odl_url = $::os_service_default,
++ $ovsdb_connection = 'tcp:127.0.0.1:6639',
++ $port_binding_controller = $::os_service_default,
++ $odl_hostconf_uri = $::os_service_default,
+ ) {
+
+ include ::neutron::deps
+@@ -48,9 +58,11 @@ class neutron::plugins::ml2::opendaylight (
+ )
+
+ neutron_plugin_ml2 {
+- 'ml2_odl/username': value => $odl_username;
+- 'ml2_odl/password': value => $odl_password;
+- 'ml2_odl/url': value => $odl_url;
++ 'ml2_odl/username': value => $odl_username;
++ 'ml2_odl/password': value => $odl_password;
++ 'ml2_odl/url': value => $odl_url;
++ 'ml2_odl/port_binding_controller': value => $port_binding_controller;
++ 'ml2_odl/odl_hostconf_uri': value => $odl_hostconf_uri;
+ }
+
+ neutron_config {