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/757747/

Change-Id: Ia014cb098591a28ddfcd8b3dff536fa2337d23a8
(cherry picked from commit 3f2171acbd)
This commit is contained in:
Slawek Kaplonski 2020-10-07 09:53:59 +00:00
parent c49d8de7b6
commit b28243fa8b
1 changed files with 8 additions and 0 deletions

View File

@ -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
}