Remove check for OVS_VERSION < 1.4
1.4 was released in 2012. I think we can assume everyone is running something newer. http://openvswitch.org/releases/NEWS-1.4.0 Change-Id: I3cfe99d2647800ae3ffb32c9e6749d03224c2967
This commit is contained in:
parent
cd6e23faba
commit
d1ee4cfdf9
@ -44,12 +44,6 @@ function neutron_plugin_configure_plugin_agent {
|
||||
|
||||
# Setup agent for tunneling
|
||||
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 tunnel_bridge $OVS_TUNNEL_BRIDGE
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user