Deprecate NOX-classic; "install" POX. Fixes #61
This commit is contained in:
+12
-2
@@ -377,6 +377,13 @@ function nox {
|
|||||||
#./nox_core -v -i ptcp:
|
#./nox_core -v -i ptcp:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# "Install" POX
|
||||||
|
function pox {
|
||||||
|
echo "Installing POX into $HOME/pox..."
|
||||||
|
cd ~
|
||||||
|
git clone https://github.com/noxrepo/pox.git
|
||||||
|
}
|
||||||
|
|
||||||
# Install OFtest
|
# Install OFtest
|
||||||
function oftest {
|
function oftest {
|
||||||
echo "Installing oftest..."
|
echo "Installing oftest..."
|
||||||
@@ -458,7 +465,9 @@ function all {
|
|||||||
of
|
of
|
||||||
wireshark
|
wireshark
|
||||||
ovs
|
ovs
|
||||||
nox
|
# NOX-classic is deprecated, but you can install it manually if desired.
|
||||||
|
# nox
|
||||||
|
pox
|
||||||
oftest
|
oftest
|
||||||
cbench
|
cbench
|
||||||
other
|
other
|
||||||
@@ -527,7 +536,7 @@ if [ $# -eq 0 ]
|
|||||||
then
|
then
|
||||||
all
|
all
|
||||||
else
|
else
|
||||||
while getopts 'abcdfhkmnrtvwx' OPTION
|
while getopts 'abcdfhkmnprtvwx' OPTION
|
||||||
do
|
do
|
||||||
case $OPTION in
|
case $OPTION in
|
||||||
a) all;;
|
a) all;;
|
||||||
@@ -539,6 +548,7 @@ else
|
|||||||
k) kernel;;
|
k) kernel;;
|
||||||
m) modprobe;;
|
m) modprobe;;
|
||||||
n) mn_deps;;
|
n) mn_deps;;
|
||||||
|
p) pox;;
|
||||||
r) remove_ovs;;
|
r) remove_ovs;;
|
||||||
t) other;;
|
t) other;;
|
||||||
v) ovs;;
|
v) ovs;;
|
||||||
|
|||||||
Reference in New Issue
Block a user