Add the ml2_odl section when using opendalight_v2
authorItzik Brown <itzikb@redhat.com>
Thu, 29 Dec 2016 15:35:41 +0000 (17:35 +0200)
committerItzik Brown <itzikb@redhat.com>
Thu, 29 Dec 2016 15:38:54 +0000 (17:38 +0200)
Add the option to add the section of ml2_odl
to ml2_conf.ini when opendaylight_v2 mechanism driver is used

Change-Id: I2a1c5097614e47cc09e43bbc77305a0548d54baa

manifests/profile/base/neutron/plugins/ml2.pp

index c046850..d30eea1 100644 (file)
@@ -64,7 +64,7 @@ class tripleo::profile::base::neutron::plugins::ml2 (
       include ::neutron::plugins::ml2::bigswitch::restproxy
     }
 
-    if 'opendaylight' in $mechanism_drivers {
+    if ('opendaylight' in $mechanism_drivers) or ('opendaylight_v2' in $mechanism_drivers) {
       include ::tripleo::profile::base::neutron::plugins::ml2::opendaylight
     }