commit 3f2171acbd1ad842026f96f89c910a7da5e77f52 Author: Slawek Kaplonski Date: Wed Oct 7 09:53:59 2020 +0000 Include ovs_driver and sriov_driver classes in base neutron profile This classes are needed to configure things related to the sriov or ovs mechanism drivers on neutron server like e.g. vnic_type_blacklist. Depends-On: https://review.opendev.org/756527 Change-Id: Ia014cb098591a28ddfcd8b3dff536fa2337d23a8 diff --git a/manifests/profile/base/neutron/plugins/ml2.pp b/manifests/profile/base/neutron/plugins/ml2.pp index af9850c..c44c013 100644 --- a/manifests/profile/base/neutron/plugins/ml2.pp +++ b/manifests/profile/base/neutron/plugins/ml2.pp @@ -55,6 +55,14 @@ class tripleo::profile::base::neutron::plugins::ml2 ( if $step >= 4 or ( $step >= 3 and $sync_db ) { include neutron::plugins::ml2 + if 'openvswitch' in $mechanism_drivers { + include neutron::plugins::ml2::ovs_driver + } + + if 'sriovnicswitch' in $mechanism_drivers { + include neutron::plugins::ml2::sriov_driver + } + if 'cisco_n1kv' in $mechanism_drivers { include tripleo::profile::base::neutron::n1k }