Skip to content
Snippets Groups Projects
Commit 37e1eafd authored by Bob Lantz's avatar Bob Lantz
Browse files

Switch to Open vSwitch 1.1.1 for stability.

parent 2b03a115
No related branches found
No related tags found
No related merge requests found
......@@ -601,7 +601,7 @@ def start( self, controllers ):
raise Exception( 'only contiguous, one-indexed port ranges '
'supported: %s' % self.intfs )
intfs = [ self.intfs[ port ] for port in ports ]
self.cmd( 'ovs-dpctl', 'add-if', self.dp, ' '.join( intfs ) )
self.cmdPrint( 'ovs-dpctl', 'add-if', self.dp, ' '.join( intfs ) )
# Run protocol daemon
controller = controllers[ 0 ]
self.cmd( 'ovs-openflowd ' + self.dp +
......
......@@ -35,9 +35,8 @@ KERNEL_IMAGE_OLD=linux-image-2.6.26-2-686
DRIVERS_DIR=/lib/modules/${KERNEL_NAME}/kernel/drivers/net
#OVS_RELEASE=openvswitch-1.0.1
OVS_RELEASE=openvswitch # release 1.0.1 doesn't work with veth pairs.
OVS_DIR=~/$OVS_RELEASE
OVS_RELEASE=v1.1.1
OVS_DIR=~/openvswitch
OVS_KMOD=openvswitch_mod.ko
function kernel {
......@@ -161,7 +160,8 @@ function ovs {
#Install OVS from release
cd ~/
git clone git://openvswitch.org/openvswitch
cd $OVS_RELEASE
cd $OVS_DIR
git checkout $OVS_RELEASE
./boot.sh
BUILDDIR=/lib/modules/${KERNEL_NAME}/build
if [ ! -e $BUILDDIR ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment