• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

onos: Mirror of ONOS official gerrit repository. Open Network Operating System ( ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

onos

开源软件地址:

https://gitee.com/maojianwei/onos

开源软件介绍:

ONOS : Open Network Operating System

What is ONOS?

ONOS is the only SDN controller platform that supports the transition fromlegacy “brown field” networks to SDN “green field” networks. This enablesexciting new capabilities, and disruptive deployment and operational cost pointsfor network operators.

Top-Level Features

  • High availability through clustering and distributed state management.
  • Scalability through clustering and sharding of network device control.
  • Performance that is good for a first release, and which has an architecturethat will continue to support improvements.
  • Northbound abstractions for a global network view, network graph, andapplication intents.
  • Pluggable southbound for support of OpenFlow, P4Runtime, and new or legacyprotocols.
  • Graphical user interface to view multi-layer topologies and inspect elementsof the topology.
  • REST API for access to Northbound abstractions as well as CLI commands.
  • CLI for debugging.
  • Support for both proactive and reactive flow setup.
  • SDN-IP application to support interworking with traditional IP networkscontrolled by distributed routing protocols such as BGP.
  • IP-Optical use case demonstration.

Getting started

Dependencies

The following packages are required:

  • git
  • zip
  • curl
  • unzip
  • python2.7
  • python3 (needed by Bazel)

Build ONOS from source

ONOS is built with Bazel, an open-source build tooldeveloped by Google. We suggest downloading and installing Bazel using theofficial instructions.

The minimum required Bazel version is 1.0.0

  1. Clone the code from the ONOS Gerrit repository
$ git clone https://gerrit.onosproject.org/onos
  1. Optionally, you can add the ONOS developer environment to your bash profile.This will provide access to a number of handy commands to run, test and debugONOS. No need to do this step again if you had done this before:
$ cd onos$ cat << EOF >> ~/.bash_profileexport ONOS_ROOT="`pwd`"source $ONOS_ROOT/tools/dev/bash_profileEOF$ . ~/.bash_profile
  1. Build ONOS with Bazel
$ cd $ONOS_ROOT$ bazel build onos

Start ONOS on local machine

To run ONOS locally on the development machine, simply run the following command:

$ bazel run onos-local [-- [clean] [debug]]

Or simpler one, if you have added the ONOS developer environment to your bashprofile:

$ ok [clean] [debug]

The above command will create a local installation from the ONOS tarbal(re-building if necessary) and will start the ONOS server in the background. Inthe foreground, it will display a continuous view of the ONOS (Apache Karaf) logfile. Options following the double-dash (–) are passed through to the ONOSApache Karaf and can be omitted. Here, the clean option forces a cleaninstallation, removing any state from previous executions. The debug optionmeans that the default debug port 5005 will be available for attaching a remotedebugger.

Interacting with ONOS

To access ONOS UI, use a browser to open:

http://localhost:8181/onos/ui

Or simpler, use the onos-gui localhost command.

The default username and password is onos/rocks.

To attach to the ONOS CLI console, run:

$ onos localhost

Unit Tests

To run ONOS unit tests, including code Checkstyle validation, run the followingcommand:

$ bazel query 'tests(//...)' | xargs bazel test

Or better yet, to run code Checkstyle and all unit tests use the followingconvenience alias:

$ ot

Contributing

ONOS code is hosted and maintained using Gerrit.

Code on GitHub is only a mirror. The ONOS project does NOT accept codethrough pull requests on GitHub.

To contribute to ONOS, please refer to Sample GerritWorkflow. Itshould includes most of the things you'll need to get your contribution started!

More information

For more information, please check out our wiki page or mailing lists:

License

ONOS (Open Network Operating System) is published under Apache License2.0


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
sync-repo: Docker Registry Synchronizer发布时间:2022-03-25
下一篇:
discuz_deploy: discuz部署项目发布时间:2022-03-25
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap