Fix list of type_drivers for ML2 plugin
authorGiulio Fidente <gfidente@redhat.com>
Tue, 2 Jun 2015 06:21:13 +0000 (08:21 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Fri, 5 Jun 2015 13:28:09 +0000 (09:28 -0400)
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

puppet/hieradata/common.yaml
puppet/manifests/overcloud_compute.pp
puppet/manifests/overcloud_controller.pp
puppet/manifests/overcloud_controller_pacemaker.pp

index 5901a9c..40c44ae 100644 (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:
index caca89a..00bab7f 100644 (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':
index 7070e05..52df94f 100644 (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'), ','),
index ac05c36..695724b 100644 (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