Merge "Remove check for OVS_VERSION < 1.4"
This commit is contained in:
commit
f3e9ad5845
@ -44,12 +44,6 @@ function neutron_plugin_configure_plugin_agent {
|
|||||||
|
|
||||||
# Setup agent for tunneling
|
# Setup agent for tunneling
|
||||||
if [[ "$OVS_ENABLE_TUNNELING" == "True" ]]; then
|
if [[ "$OVS_ENABLE_TUNNELING" == "True" ]]; then
|
||||||
# Verify tunnels are supported
|
|
||||||
# REVISIT - also check kernel module support for GRE and patch ports
|
|
||||||
OVS_VERSION=`ovs-vsctl --version | head -n 1 | grep -E -o "[0-9]+\.[0-9]+"`
|
|
||||||
if [ `vercmp_numbers "$OVS_VERSION" "1.4"` -lt "0" ] && ! is_service_enabled q-svc ; then
|
|
||||||
die $LINENO "You are running OVS version $OVS_VERSION. OVS 1.4+ is required for tunneling between multiple hosts."
|
|
||||||
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
|
iniset /$Q_PLUGIN_CONF_FILE ovs tunnel_bridge $OVS_TUNNEL_BRIDGE
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user