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

Merge branch 'master' of yuba.stanford.edu:mininet

parents 9dbe572a b0a7a257
No related branches found
No related tags found
No related merge requests found
netns
mininet.egg-info
......@@ -457,7 +457,7 @@ def start( self, controllers ):
quietRun( 'ovs-dpctl del-dp dp%i' % self.dp )
self.cmd( 'ovs-dpctl add-dp dp%i' % self.dp )
if self.defaultMAC:
intf = 'dp' % self.dp
intf = 'dp%i' % self.dp
mac = self.defaultMAC
self.cmd( [ 'ifconfig', intf, 'hw', 'ether', mac ] )
......
......@@ -5,17 +5,8 @@
#Install dependencies:
sudo apt-get install -y screen psmisc xterm ssh iperf iproute python-setuptools
#Get the source, with the customtopos branch (for now, this should be removed shortly):
git clone git@yuba.stanford.edu:mininet.git
cd ~/mininet
git checkout -b customtopos origin/customtopos
#Add sysctl parameters as noted in the INSTALL file to increase kernel limits to support larger setups:
sudo su -c "cat /home/mininet/mininet/sysctl_addon >> /etc/sysctl.conf"
sudo su -c "cat /home/mininet/mininet/util/sysctl_addon >> /etc/sysctl.conf"
#Load sysctl settings:
sudo sysctl -p
#Reboot to ensure you start with higher limits and verify that the IPv6 module is not loaded, plus there's an unknown issue where you need to reboot before the kernel datapath will get added (sorry).
sudo reboot
sudo sysctl -p
\ No newline at end of file
......@@ -2,12 +2,6 @@
#Brandon Heller (brandonh@stanford.edu)
#Install NOX on Debian Lenny
#Install NOX deps:
sudo apt-get -y install autoconf automake g++ libtool python python-twisted swig libboost1.35-dev libxerces-c2-dev libssl-dev make
#Install NOX optional deps:
sudo apt-get install -y libsqlite3-dev python-simplejson
#Install NOX:
git clone git://noxrepo.org/noxcore
cd noxcore
......@@ -19,4 +13,4 @@ make
#make check
#Add NOX_CORE_DIR env var;; modify ~/.bashrc:
sudo sed -i -e 's|# for examples$|&\ncomplete -cf sudo|' ~/.bashrc
\ No newline at end of file
sed -i -e 's|# for examples$|&\ncomplete -cf sudo|' ~/.bashrc
\ No newline at end of file
#!/bin/sh
#Brandon Heller (brandonh@stanford.edu)
#Install NOX deps on Debian Lenny
#Install NOX deps:
sudo apt-get -y install autoconf automake g++ libtool python python-twisted swig libboost1.35-dev libxerces-c2-dev libssl-dev make
#Install NOX optional deps:
sudo apt-get install -y libsqlite3-dev python-simplejson
\ No newline at end of file
......@@ -2,31 +2,9 @@
#Brandon Heller (brandonh@stanford.edu)
#Install OVS on Debian Lenny
#The following files were useful for the install process:
#OVS INSTALL file:
#http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.Linux;hb=HEAD
#OVS OpenFlow INSTALL file:
#http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.OpenFlow;hb=HEAD
#OVS README file:
#http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=README;hb=HEAD
#Install Autoconf 2.63 from source (a more recent version than that in the Deb repositories is required). This should be the only extra dependency.
cd ~/
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.63.tar.bz2
tar xjf autoconf-2.63.tar.bz2
cd autoconf-2.63/
./configure
make
sudo make install
cd ~/
rm -rf autoconf*
#Install OVS:
git clone git://openvswitch.org/openvswitch
cd openvswitch
./boot.sh
./configure --with-l26=/lib/modules/`uname -r`/build
make
sudo make install
\ No newline at end of file
make
\ No newline at end of file
#!/bin/sh
#Brandon Heller (brandonh@stanford.edu)
#Install OVS on Debian Lenny
#Install OVS:
cd openvswitch
sudo make install
\ No newline at end of file
#!/bin/sh
#Brandon Heller (brandonh@stanford.edu)
#Install OVS deps on Debian Lenny
#The following files were useful for the install process:
#OVS INSTALL file:
#http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.Linux;hb=HEAD
#OVS OpenFlow INSTALL file:
#http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.OpenFlow;hb=HEAD
#OVS README file:
#http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=README;hb=HEAD
#Install Autoconf 2.63+ backport from Debian Backports repo:
#Instructions from http://backports.org/dokuwiki/doku.php?id=instructions
sudo apt-get -y install debian-backports-keyring
sudo su -c "echo 'deb http://www.backports.org/debian lenny-backports main contrib non-free' >> /etc/apt/sources.list"
sudo apt-get update
sudo apt-get -y -t lenny-backports install autoconf
\ No newline at end of file
......@@ -5,3 +5,8 @@
#Install tcpdump and tshark, cmd-line packet dump tools. Also install gitk,
#a graphical git history viewer.
sudo apt-get install -y tcpdump tshark gitk
#Set git to colorize everything.
git config --global color.diff auto
git config --global color.status auto
git config --global color.branch auto
\ No newline at end of file
#!/bin/sh
#Brandon Heller (brandonh@stanford.edu)
#Clean up after VM installation
sudo apt-get clean
sudo rm -rf /tmp/*
history -c
rm ~/.ssh/id_rsa*
sudo rm ~/.ssh/authorized_keys2
sudo rm -rf ~/mininet
\ No newline at end of file
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