{"id":13464106,"url":"https://github.com/opennetworkinglab/onos","last_synced_at":"2025-04-09T11:03:35.856Z","repository":{"id":24134076,"uuid":"27523092","full_name":"opennetworkinglab/onos","owner":"opennetworkinglab","description":"Open Network Operating System","archived":false,"fork":false,"pushed_at":"2024-06-18T00:59:30.000Z","size":174443,"stargazers_count":1186,"open_issues_count":70,"forks_count":757,"subscribers_count":166,"default_branch":"master","last_synced_at":"2024-10-29T17:41:58.525Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opennetworkinglab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-12-04T04:32:00.000Z","updated_at":"2024-10-23T15:02:51.000Z","dependencies_parsed_at":"2023-01-14T13:30:38.780Z","dependency_job_id":"cb1b467a-d12e-4bf3-ab00-ac27a221d619","html_url":"https://github.com/opennetworkinglab/onos","commit_stats":{"total_commits":14924,"total_committers":507,"mean_commits":"29.435897435897434","dds":0.921602787456446,"last_synced_commit":"dd5172e5a6e1ba5c7e17e2f497aa8c27a1ed33e9"},"previous_names":[],"tags_count":240,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opennetworkinglab%2Fonos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opennetworkinglab%2Fonos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opennetworkinglab%2Fonos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opennetworkinglab%2Fonos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opennetworkinglab","download_url":"https://codeload.github.com/opennetworkinglab/onos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248027400,"owners_count":21035594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T14:00:34.381Z","updated_at":"2025-04-09T11:03:31.466Z","avatar_url":"https://github.com/opennetworkinglab.png","language":"Java","funding_links":[],"categories":["Java","others","网络编程"],"sub_categories":[],"readme":"# ONOS : Open Network Operating System\n\n\n## What is ONOS?\nONOS is the only SDN controller platform that supports the transition from\nlegacy “brown field” networks to SDN “green field” networks. This enables\nexciting new capabilities, and disruptive deployment and operational cost points\nfor network operators.\n\n## Top-Level Features\n\n* High availability through clustering and distributed state management.\n* Scalability through clustering and sharding of network device control.\n* Performance that is good for a first release, and which has an architecture\n  that will continue to support improvements.\n* Northbound abstractions for a global network view, network graph, and\n  application intents.\n* Pluggable southbound for support of OpenFlow, P4Runtime, and new or legacy\n  protocols.\n* Graphical user interface to view multi-layer topologies and inspect elements\n  of the topology.\n* REST API for access to Northbound abstractions as well as CLI commands.\n* CLI for debugging.\n* Support for both proactive and reactive flow setup.\n* SDN-IP application to support interworking with traditional IP networks\n  controlled by distributed routing protocols such as BGP.\n* IP-Optical use case demonstration.\n\n\n## Getting started\n\n### Dependencies\n\nThe following packages are required:\n\n* git\n* zip\n* curl\n* unzip\n* python3 (needed by Bazel)\n\n### Build ONOS from source\n\nONOS is built with [Bazel](https://bazel.build/), an open-source build tool\ndeveloped by Google. We suggest downloading and installing Bazel using the\n[official instructions](https://docs.bazel.build/versions/master/install.html).\n\nThe minimum required Bazel version is 1.0.0\n\n1. Clone the code from the ONOS Gerrit repository\n```bash\n$ git clone https://gerrit.onosproject.org/onos\n```\n\n2. Optionally, you can add the ONOS developer environment to your bash profile.\n   This will provide access to a number of handy commands to run, test and debug\n   ONOS. No need to do this step again if you had done this before:\n```bash\n$ cd onos\n$ cat \u003c\u003c EOF \u003e\u003e ~/.bash_profile\nexport ONOS_ROOT=\"`pwd`\"\nsource $ONOS_ROOT/tools/dev/bash_profile\nEOF\n$ . ~/.bash_profile\n```\n\n3. Build ONOS with Bazel\n```bash\n$ cd $ONOS_ROOT\n$ bazel build onos\n```\n\n### Start ONOS on local machine\n\nTo run ONOS locally on the development machine, simply run the following command:\n\n```bash\n$ bazel run onos-local [-- [clean] [debug]]\n```\n\nOr simpler one, if you have added the ONOS developer environment to your bash\nprofile:\n\n```bash\n$ ok [clean] [debug]\n```\n\nThe above command will create a local installation from the ONOS tarbal\n(re-building if necessary) and will start the ONOS server in the background. In\nthe foreground, it will display a continuous view of the ONOS (Apache Karaf) log\nfile. Options following the double-dash (–) are passed through to the ONOS\nApache Karaf and can be omitted. Here, the `clean` option forces a clean\ninstallation, removing any state from previous executions. The `debug` option\nmeans that the default debug port 5005 will be available for attaching a remote\ndebugger.\n\n### Interacting with ONOS\n\nTo access ONOS UI, use a browser to open:\n\n[http://localhost:8181/onos/ui](http://localhost:8181/onos/ui)\n\nOr simpler, use the `onos-gui localhost` command.\n\nThe default username and password is `onos`/`rocks`.\n\nTo attach to the ONOS CLI console, run:\n\n```bash\n$ onos localhost\n```\n\n### Unit Tests\n\nTo run ONOS unit tests, including code Checkstyle validation, run the following\ncommand:\n\n```bash\n$ bazel query 'tests(//...)' | xargs bazel test\n```\n\nOr better yet, to run code Checkstyle and all unit tests use the following\nconvenience alias:\n\n```bash\n$ ot\n```\n\n## Contributing\n\nONOS code is hosted and maintained using [Gerrit](https://gerrit.onosproject.org/).\n\nCode on GitHub is only a mirror. The ONOS project does **NOT** accept code\nthrough pull requests on GitHub.\n\nTo contribute to ONOS, please refer to [Sample Gerrit\nWorkflow](https://wiki.onosproject.org/display/ONOS/Sample+Gerrit+Workflow). It\nshould include most of the things you'll need to get your contribution started!\n\n## More information\n\nFor more information, please check out our wiki page or mailing lists:\n\n* [Wiki](https://wiki.onosproject.org/)\n* [Google group](https://groups.google.com/a/onosproject.org/forum/#!forum/onos-dev)\n* [Slack](https://onosproject.slack.com)\n\n## License\n\nONOS (Open Network Operating System) is published under [Apache License\n2.0](https://github.com/opennetworkinglab/onos/blob/master/LICENSE.txt)\n\n## Acknowledgements\nYourKit supports open source projects with innovative and intelligent tools\nfor monitoring and profiling Java and .NET applications.\nYourKit is the creator of [YourKit Java Profiler](https://www.yourkit.com/java/profiler/), [YourKit .NET Profiler](https://www.yourkit.com/.net/profiler/) and [YourKit YouMonitor](https://www.yourkit.com/youmonitor/).\n\n![YourKit](https://www.yourkit.com/images/yklogo.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopennetworkinglab%2Fonos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopennetworkinglab%2Fonos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopennetworkinglab%2Fonos/lists"}