Browse code

Add tunnel_bridge configuration for openvswitch agent

Change-Id: I0235aa05cf86b3ed9d9620dda3f16b69ced077e3

Hirofumi Ichihara authored on 2015/07/04 22:58:44
Showing 2 changed files
1 1
old mode 100644
2 2
new mode 100755
... ...
@@ -50,6 +50,7 @@ function neutron_plugin_configure_plugin_agent {
50 50
             die $LINENO "You are running OVS version $OVS_VERSION. OVS 1.4+ is required for tunneling between multiple hosts."
51 51
         fi
52 52
         iniset /$Q_PLUGIN_CONF_FILE ovs local_ip $TUNNEL_ENDPOINT_IP
53
+        iniset /$Q_PLUGIN_CONF_FILE ovs tunnel_bridge $OVS_TUNNEL_BRIDGE
53 54
     fi
54 55
 
55 56
     # Setup physical network bridge mappings.  Override
56 57
old mode 100644
57 58
new mode 100755
... ...
@@ -9,6 +9,7 @@ set +o xtrace
9 9
 
10 10
 OVS_BRIDGE=${OVS_BRIDGE:-br-int}
11 11
 OVS_DATAPATH_TYPE=${OVS_DATAPATH_TYPE:-""}
12
+OVS_TUNNEL_BRIDGE=${OVS_TUNNEL_BRIDGE:-br-tun}
12 13
 
13 14
 function is_neutron_ovs_base_plugin {
14 15
     # Yes, we use OVS.