在eclipse中搭建opendaylight开发环境

1、下载opendaylight的controller代码

$ git clone git://github.com/floodlight/floodlight.git

2、在eclipse中安装maven插件

3、导入controller项目:File-->import-->Maven-->Existing Maven Projects,然后按照提示走即可

4、设置OSGI的target:在eclipse中打开controller/opendaylight/distribution/opendaylight/opendaylight.targe-->点击“Set as Target Platform”

5、启动controller:选择arphandler-->Run As-->OSGI Framework

6、登录opendaylight的web页面:在浏览器里输入:http://localhost:8080

大功告成,so easy~~~

本文出自 “陈漂评的博客” 博客,转载请与作者联系!

你可能感兴趣的:(在eclipse中搭建opendaylight开发环境)