Add tunnel_bridge configuration for openvswitch agent
Change-Id: I0235aa05cf86b3ed9d9620dda3f16b69ced077e3
This commit is contained in:
parent
018c50c2e2
commit
d48d672a8d
1
lib/neutron_plugins/openvswitch_agent
Normal file → Executable file
1
lib/neutron_plugins/openvswitch_agent
Normal file → Executable file
@ -50,6 +50,7 @@ function neutron_plugin_configure_plugin_agent {
|
|||||||
die $LINENO "You are running OVS version $OVS_VERSION. OVS 1.4+ is required for tunneling between multiple hosts."
|
die $LINENO "You are running OVS version $OVS_VERSION. OVS 1.4+ is required for tunneling between multiple hosts."
|
||||||
fi
|
fi
|
||||||
iniset /$Q_PLUGIN_CONF_FILE ovs local_ip $TUNNEL_ENDPOINT_IP
|
iniset /$Q_PLUGIN_CONF_FILE ovs local_ip $TUNNEL_ENDPOINT_IP
|
||||||
|
iniset /$Q_PLUGIN_CONF_FILE ovs tunnel_bridge $OVS_TUNNEL_BRIDGE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Setup physical network bridge mappings. Override
|
# Setup physical network bridge mappings. Override
|
||||||
|
1
lib/neutron_plugins/ovs_base
Normal file → Executable file
1
lib/neutron_plugins/ovs_base
Normal file → Executable file
@ -9,6 +9,7 @@ set +o xtrace
|
|||||||
|
|
||||||
OVS_BRIDGE=${OVS_BRIDGE:-br-int}
|
OVS_BRIDGE=${OVS_BRIDGE:-br-int}
|
||||||
OVS_DATAPATH_TYPE=${OVS_DATAPATH_TYPE:-""}
|
OVS_DATAPATH_TYPE=${OVS_DATAPATH_TYPE:-""}
|
||||||
|
OVS_TUNNEL_BRIDGE=${OVS_TUNNEL_BRIDGE:-br-tun}
|
||||||
|
|
||||||
function is_neutron_ovs_base_plugin {
|
function is_neutron_ovs_base_plugin {
|
||||||
# Yes, we use OVS.
|
# Yes, we use OVS.
|
||||||
|
Loading…
Reference in New Issue
Block a user