...
| Code Block | ||
|---|---|---|
| ||
git clone http://github.com/mininet/mininet mininet/util/install.sh -nvfw |
...
recommended
...
options: -n:
...
install
...
core
...
Mininet
...
dependencies; -v:
...
install
...
Open
...
vSwitch; -f:
...
install
...
legacy
...
Stanford
...
1.0
...
user
...
switch
...
and
...
controller; -w:
...
install
...
wireshark
...
and
...
improved
...
OpenFlow
...
wireshark
...
dissector)
Option 3: You can also download a pre-built Mininet VM.
...
Make sure you are running Mininet version 2.2.1 or later:
...
| Code Block | ||
|---|---|---|
| ||
mn --version |
...
If not, try installing from the git repository as described above.
And make sure that Mininet works:
| Code Block | ||
|---|---|---|
| ||
sudo mn --test pingall |
If Mininet doesn't work, consult the troubleshooting section below.
...
We recommend building ONOS in your Mininet VM or server using buck:
| Code Block | ||
|---|---|---|
| ||
cd ~/onos |
...
buck build onos |
Make sure that the build completes without errors - without a correctly built ONOS package, you will not be able to start ONOS.
...