分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 运营维护

ONOS and mininet

发布时间:2023-09-06 01:52责任编辑:董明明关键词:暂无标签

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下载编译

http://mininet.org/download/

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

ONOS and mininet

原文地址:https://www.cnblogs.com/soul-stone/p/8993882.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved