Opendaylight Boron-SR2 安装

下载地址:
解压该文件。

unzip distribution-karaf-0.5.2-Boron-SR2

运行OpenDaylight.

cd distribution-karaf-0.5.2-Boron-SR2/bin
./karaf

安装feature:
安装支持REST API的组件:

opendaylight-user@root>feature:install odl-restconf

安装L2 switch和OpenFlow插件:

opendaylight-user@root>feature:install odl-l2switch-switch
opendaylight-user@root>feature:install odl-openflowplugin-all

安装基于karaf控制台的md-sal控制器功能,包括nodes、yang UI、Topology:

opendaylight-user@root>feature:install odl-mdsal-apidocs

安装DLUX功能

opendaylight-user@root>feature:install odl-dlux-all

常见问题:
1.如果使用如下命令创建网络拓扑后:
sudo mn –controller=remote,ip=127.0.0.1 –topo linear,2
通过命令:
pingall
测试网络的连通性时,丢包率很高。可能的原因是:控制器上的”odl-l2switch-switch”插件崩溃。
解决方法是通过logout退出karaf平台,进入上级目录,删除data目录:rm –r data,进入bin目录:cd bin,执行./karaf clean,再次重复上面的安装组件操作。
安装:
feature:install odl-restconf odl-l2switch-switch odl-openflowplugin-flow-services-ui odl-mdsal-apidocs odl-dlux-all
About installation of ovsdb feature, the total name is “odl-ovsdb-southbound-impl-ui”, sure that your computer is disconnected with the Interrnet. If some exceptions take place, you need to follow the step above and do it again.
0.6.0-Carbon版本安装feature:
feature:install odl-restconf odl-l2switch-switch odl-openflowplugin-flow-services-ui odl-mdsal-apidocs odl-dluxapps-yangman
其中odl-dluxapps-applications这个组件,包括odl-dluxapps-nodes、odl-dluxapps-yangui、odl-dluxapps-yangvisualizer组件。
2.有时会出现无法登录进入OpenDaylight主界面(提示:Unable to Login)的问题。一种原因可能是控制器所在机器的内存不足。此原因排除外,可以尝试重新安装所有的组件。
参考资料:http://www.sdnlab.com/1931.html
http://docs.opendaylight.org/en/stable-beryllium/getting-started-guide/installing_opendaylight.html
http://docs.opendaylight.org/en/stable-boron/getting-started-guide/installing_opendaylight.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值