Fix list of type_drivers for ML2 plugin

The list of drivers loaded by the ML2 plugin does not have to
match the list of tenant_network_types, this will make ML2 load
the flat, gre, vxlan and vlan drivers so that the provider
networks can be of flat (default) and vlan type as well.

Change-Id: I0b74f86acf5c1ff644deb46c0a1d14129c1882d4
This commit is contained in:
Giulio Fidente 2015-06-02 08:21:13 +02:00
parent 607311e02b
commit c26b53ca42
4 changed files with 5 additions and 3 deletions

View File

@ -17,6 +17,11 @@ neutron::plugins::ml2::tunnel_id_ranges:
- '1:1000'
neutron::plugins::ml2::vni_ranges:
- '1:1000'
neutron::plugins::ml2::type_drivers:
- flat
- gre
- vxlan
- vlan
sysctl_settings:
net.ipv4.tcp_keepalive_intvl:

View File

@ -68,7 +68,6 @@ include ::neutron
class { 'neutron::plugins::ml2':
flat_networks => split(hiera('neutron_flat_networks'), ','),
tenant_network_types => [hiera('neutron_tenant_network_type')],
type_drivers => [hiera('neutron_tenant_network_type')],
}
class { 'neutron::agents::ml2::ovs':

View File

@ -277,7 +277,6 @@ if hiera('step') >= 3 {
class { 'neutron::plugins::ml2':
flat_networks => split(hiera('neutron_flat_networks'), ','),
tenant_network_types => [hiera('neutron_tenant_network_type')],
type_drivers => [hiera('neutron_tenant_network_type')],
}
class { 'neutron::agents::ml2::ovs':
bridge_mappings => split(hiera('neutron_bridge_mappings'), ','),

View File

@ -509,7 +509,6 @@ if hiera('step') >= 3 {
class { 'neutron::plugins::ml2':
flat_networks => split(hiera('neutron_flat_networks'), ','),
tenant_network_types => [hiera('neutron_tenant_network_type')],
type_drivers => [hiera('neutron_tenant_network_type')],
}
class { 'neutron::agents::ml2::ovs':
# manage_service => false # not implemented