Remove NeutronEnableTunnelling from templates
authorBob Fournier <bfournie@redhat.com>
Mon, 18 Jul 2016 22:21:27 +0000 (18:21 -0400)
committerBrent Eagles <beagles@redhat.com>
Fri, 12 Aug 2016 23:16:38 +0000 (20:46 -0230)
As described in https://bugs.launchpad.net/tripleo/+bug/1532830,
the OVS agent no longer uses enable_tunneling, which is controlled by
NeutronEnableTunnelling, so this change removes NeutronEnableTunnelling
from the Heat templates.

This change depends on NeutronEnableTunnelling also being removed
from python-tripleoclient and puppet-neutron no longer using the
enable_tunneling hieradata.

Change-Id: I1ff6902ebd15041fc57ffff20a07455f171a004b
Closes-Bug: 1532830
Depends-On: I28d33592374f60cb5222a866efaf9d137aca1c5a
Depends-On: I73630653330c67444827f32740c44e9d25b5db31

environments/network-environment.yaml
environments/neutron-opencontrail.yaml
environments/puppet-tenant-vlan.yaml
puppet/services/neutron-ovs-agent.yaml

index 062c7be..cf94d7f 100644 (file)
@@ -46,5 +46,7 @@ parameter_defaults:
   ExternalNetworkVlanID: 50
   # Set to empty string to enable multiple external networks or VLANs
   NeutronExternalNetworkBridge: "''"
+  # The tunnel type for the tenant network (vxlan or gre). Set to '' to disable tunneling.
+  NeutronTunnelTypes: 'vxlan'
   # Customize bonding options, e.g. "mode=4 lacp_rate=1 updelay=1000 miimon=100"
   BondInterfaceOvsOptions: "bond_mode=active-backup"
index 4895287..f2209ce 100644 (file)
@@ -14,7 +14,7 @@ resource_registry:
 parameter_defaults:
   NeutronCorePlugin: neutron_plugin_contrail.plugins.opencontrail.contrail_plugin.NeutronPluginContrailCoreV2
   NeutronServicePlugins: neutron_plugin_contrail.plugins.opencontrail.loadbalancer.plugin.LoadBalancerPlugin
-  NeutronEnableTunnelling: false
+  NeutronTunnelTypes: ''
 
   # required params:
   #ContrailApiServerIp:
index ed948bc..45d2117 100644 (file)
@@ -1,4 +1,4 @@
 parameter_defaults:
   NeutronNetworkType: vlan
-  NeutronEnableTunnelling: false
+  NeutronTunnelTypes: ''
   NeutronNetworkVLANRanges: datacentre:1:1000
index 7a97cd8..d52b8a2 100644 (file)
@@ -9,9 +9,6 @@ parameters:
     description: Mapping of service endpoint -> protocol. Typically set
                  via parameter_defaults in the resource registry.
     type: json
-  NeutronEnableTunnelling:
-    type: string
-    default: "True"
   NeutronEnableL2Pop:
     type: string
     description: >
@@ -56,7 +53,6 @@ outputs:
       config_settings:
         map_merge:
           - get_attr: [NeutronBase, role_data, config_settings]
-            neutron::agents::ml2::ovs::enable_tunneling: {get_param: NeutronEnableTunnelling}
             neutron::agents::ml2::ovs::l2_population: {get_param: NeutronEnableL2Pop}
             neutron::agents::ml2::ovs::enable_distributed_routing: {get_param: NeutronEnableDVR}
             neutron::agents::ml2::ovs::bridge_mappings: