Use our github forks of openflow, oflops for now
This enables us to test our changes for Ubuntu 15 (new gcc/c99) before pushing upstream if desired.
This commit is contained in:
+7
-3
@@ -13,7 +13,7 @@ set -o nounset
|
|||||||
MININET_DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd -P )"
|
MININET_DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd -P )"
|
||||||
|
|
||||||
# Set up build directory, which by default is the working directory
|
# Set up build directory, which by default is the working directory
|
||||||
# unless the working directory is a subdirectory of mininet,
|
# unless the working directory is a subdirectory of mininet,
|
||||||
# in which case we use the directory containing mininet
|
# in which case we use the directory containing mininet
|
||||||
BUILD_DIR="$(pwd -P)"
|
BUILD_DIR="$(pwd -P)"
|
||||||
case $BUILD_DIR in
|
case $BUILD_DIR in
|
||||||
@@ -162,7 +162,9 @@ function of {
|
|||||||
else
|
else
|
||||||
$install git-core autotools-dev pkg-config libc6-dev
|
$install git-core autotools-dev pkg-config libc6-dev
|
||||||
fi
|
fi
|
||||||
git clone git://openflowswitch.org/openflow.git
|
# was: git clone git://openflowswitch.org/openflow.git
|
||||||
|
# Use our own fork on github for now:
|
||||||
|
git clone git://github.com/mininet/openflow
|
||||||
cd $BUILD_DIR/openflow
|
cd $BUILD_DIR/openflow
|
||||||
|
|
||||||
# Patch controller to handle more than 16 switches
|
# Patch controller to handle more than 16 switches
|
||||||
@@ -553,7 +555,9 @@ function cbench {
|
|||||||
$install libsnmp-dev libpcap-dev libconfig-dev
|
$install libsnmp-dev libpcap-dev libconfig-dev
|
||||||
fi
|
fi
|
||||||
cd $BUILD_DIR/
|
cd $BUILD_DIR/
|
||||||
git clone git://gitosis.stanford.edu/oflops.git
|
# was: git clone git://gitosis.stanford.edu/oflops.git
|
||||||
|
# Use our own fork on github for now:
|
||||||
|
git clone git://github.com/mininet/oflops
|
||||||
cd oflops
|
cd oflops
|
||||||
sh boot.sh || true # possible error in autoreconf, so run twice
|
sh boot.sh || true # possible error in autoreconf, so run twice
|
||||||
sh boot.sh
|
sh boot.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user