在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:onos开源软件地址:https://gitee.com/maojianwei/onos开源软件介绍:ONOS : Open Network Operating SystemWhat 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
Getting startedDependenciesThe following packages are required:
Build ONOS from sourceONOS 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
$ git clone https://gerrit.onosproject.org/onos
$ cd onos$ cat << EOF >> ~/.bash_profileexport ONOS_ROOT="`pwd`"source $ONOS_ROOT/tools/dev/bash_profileEOF$ . ~/.bash_profile
$ cd $ONOS_ROOT$ bazel build onos Start ONOS on local machineTo 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 Interacting with ONOSTo access ONOS UI, use a browser to open: Or simpler, use the The default username and password is To attach to the ONOS CLI console, run: $ onos localhost Unit TestsTo 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 ContributingONOS 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 informationFor more information, please check out our wiki page or mailing lists: LicenseONOS (Open Network Operating System) is published under Apache License2.0 |
请发表评论