标签:conf oracl port index tps too dex lis test
1、onos下载编译
https://github.com/opennetworkinglab/onos
1)下载源代码
git clone https://gerrit.onosproject.org/onos
2)下载编译工具
sudo apt-get install software-properties-common -y && \
sudo add-apt-repository ppa:webupd8team/java -y && \
sudo apt-get update && \
echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections && \
sudo apt-get install oracle-java8-installer oracle-java8-set-default -y
3)编译
export ONOS_ROOT=$(pwd)
tools/build/onos-buck build onos --show-output
2、mininet下载编译
1)下载源代码
git clone git://github.com/mininet/mininet
cd mininet
git tag # list available versions
git checkout -b 2.2.1 2.2.1 # or whatever version you wish to install
cd ..
2)编译
mininet/util/install.sh -nfv -s mydir
3)验证编译
sudo mn --test pingall
3、onos+mininet测试
1)启动onos
tools/build/onos-buck run onos-local -- clean debug
Options following the double-dash (–) are passed through to the ONOS Apache Karaf and can be omitted. Here, the clean option forces a clean installation of ONOS and the debug option means that the default debug port 5005 will be available for attaching a remote debugger.
2)查看onos管理界面
CLI:tools/test/bin/onos-gui localhost
GUI: http://<host ip>:8181/onos/ui/index.html#/topo
3)启动mininet
标签:conf oracl port index tps too dex lis test
原文地址:https://www.cnblogs.com/soul-stone/p/8993882.html