{"id":31897298,"url":"https://github.com/shafaghrastegari/sdn-simulation","last_synced_at":"2026-05-07T19:09:03.775Z","repository":{"id":200553748,"uuid":"485142236","full_name":"ShafaghRastegari/sdn-simulation","owner":"ShafaghRastegari","description":"A simple project with mininet and onos","archived":false,"fork":false,"pushed_at":"2022-05-07T06:33:42.000Z","size":1888,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-10-17T07:53:53.532Z","etag":null,"topics":["docker","docker-compose","mininet","mininet-topology","onos"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ShafaghRastegari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-04-24T21:16:09.000Z","updated_at":"2023-10-17T07:53:58.509Z","dependencies_parsed_at":null,"dependency_job_id":"49b282d7-4aee-46ab-b439-9240a54b2b14","html_url":"https://github.com/ShafaghRastegari/sdn-simulation","commit_stats":null,"previous_names":["shafaghrastegari/sdn-simulation"],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/ShafaghRastegari/sdn-simulation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShafaghRastegari%2Fsdn-simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShafaghRastegari%2Fsdn-simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShafaghRastegari%2Fsdn-simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShafaghRastegari%2Fsdn-simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShafaghRastegari","download_url":"https://codeload.github.com/ShafaghRastegari/sdn-simulation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShafaghRastegari%2Fsdn-simulation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014766,"owners_count":26085593,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["docker","docker-compose","mininet","mininet-topology","onos"],"created_at":"2025-10-13T11:19:12.481Z","updated_at":"2025-10-13T11:19:17.183Z","avatar_url":"https://github.com/ShafaghRastegari.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sdn-simulation\nA simple project with mininet and onos\n## Usage\nSuppose you already have installed docker, docker-compose and other common requirements, follow these steps.\n1. Run docker-compose file to run mininet and onos\n```sh\ndocker-compose docker-compose.yaml up\n```\n2. Go to mininet terminal\n```sh\ndocker exec -it mininet /bin/bash\n```\n3. Run simple topology in mininet terminal with remote controller which here is onos\n- note that onos-ip here is the ip that onos is running on it in your computer\n```sh\nmn --controller remote,ip=onos-ip --topo=tree,depth=2\n```\n4. Open a browser and go to `http://localhost:8181` to see your topology\n\n## Result\nIf everything is correct you can see these results\n\n![onos](/images/onos.png)\n\nUse `pingall` command to check the connectivity\n\n![pingall](/images/pingall.png)\n\n### Custom topology\n\nYou can find some custom topology in topology folder","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshafaghrastegari%2Fsdn-simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshafaghrastegari%2Fsdn-simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshafaghrastegari%2Fsdn-simulation/lists"}