{"id":16332985,"url":"https://github.com/davidyslu/Route_Configuration","last_synced_at":"2025-08-29T11:30:47.378Z","repository":{"id":93934396,"uuid":"161284422","full_name":"yungshenglu/Route_Configuration","owner":"yungshenglu","description":"Lab in NCTU course \"Introduction to Computer Networks 2018\"","archived":false,"fork":false,"pushed_at":"2019-01-23T03:44:26.000Z","size":4607,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-13T23:05:46.707Z","etag":null,"topics":["iperf","mininet","python","ryu","sdn"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yungshenglu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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":"2018-12-11T05:57:18.000Z","updated_at":"2023-07-06T04:05:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"93af9be8-4a9b-4983-a91c-352387e45694","html_url":"https://github.com/yungshenglu/Route_Configuration","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yungshenglu%2FRoute_Configuration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yungshenglu%2FRoute_Configuration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yungshenglu%2FRoute_Configuration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yungshenglu%2FRoute_Configuration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yungshenglu","download_url":"https://codeload.github.com/yungshenglu/Route_Configuration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231364149,"owners_count":18365408,"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":["iperf","mininet","python","ryu","sdn"],"created_at":"2024-10-10T23:34:00.262Z","updated_at":"2025-08-29T11:30:41.772Z","avatar_url":"https://github.com/yungshenglu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Route Configuration\r\n\r\nThis repository is a lab for NCTU course \"Introduction to Computer Networks 2018\".\r\n\r\n---\r\n## Abstract\r\n\r\nIn this lab, we are going to write a Python program with Ryu SDN framework to build a simple software-defined network and compare the different between two forwarding rules.\r\n\r\n---\r\n## Objectives\r\n\r\n1. Learn how to build a simple software-defined networking with Ryu SDN framework\r\n2. Learn how to add forwarding rule into each OpenFlow switch\r\n\r\n---\r\n## Overview\r\n\r\n1. We will give you a Python code (`SimpleTopo.py`) that includes an example network topology and another Python code (`SimpleController.py`) that includes Ryu controller\r\n2. We will get you a figure illustrating a topology you should generate\r\n3. Copy the necessary function code from `SimpleTopo.py` and `SimpleController.py` to your Python code (`topo.py` and `controller.py`) to build your networks with forwarding rules\r\n\r\n---\r\n## Tasks\r\n\r\n\u003e **NOTICE:** Please follow this [slides](Tasks.pdf) for detail.\r\n\r\n1. Environment Setup\r\n2. Example of Ryu SDN\r\n3. Mininet Topology\r\n4. Ryu Controller\r\n5. Measurement\r\n6. Report\r\n\r\n### File Structure\r\n\r\n```bash\r\nRoute_Configuration/            # This is ./ in this repository\r\n|--- src/                       # Folder of source code\r\n    |--- scripts/               # Folder of scripts\r\n        |--- run_mininet.sh     # Running script of Mininet\r\n        |--- run_ryu.sh         # Running script of Ryu manager\r\n    |--- topo/                  # Folder of topology figure\r\n        |--- topo.png\r\n    |--- out/                   # Output files\r\n        |--- .gitkeep           # For keeping this folder\r\n    |--- SimpleTopo.py          # Example code of topology\r\n    |--- SimpleController.py    # Example code of controller\r\n    |--- controller.py          # Your program should be here!\r\n    |--- topo.py                # Your program should be here!\r\n|--- LICENSE\r\n|--- README.md\r\n|--- .gitignore                 # For ignoring useless files\r\n```\r\n\r\n---\r\n## References\r\n\r\n* **Ryu SDN**\r\n    * [Ryubook Documentation](https://osrg.github.io/ryu-book/en/html/)\r\n    * [Ryubook [PDF]](https://osrg.github.io/ryu-book/en/Ryubook.pdf)\r\n    * [Ryu 4.30 Documentation](https://github.com/mininet/mininet/wiki/Introduction-to-Mininet)\r\n    * [Ryu Controller Tutorial](http://sdnhub.org/tutorials/ryu/)\r\n    * [OpenFlow 1.3 Switch Specification](https://www.opennetworking.org/wp-content/uploads/2014/10/openflow-spec-v1.3.0.pdf)\r\n    * [Ryubook 說明文件](https://osrg.github.io/ryu-book/zh_tw/html/)\r\n    * [GitHub - Ryu Controller 教學專案](https://github.com/OSE-Lab/Learning-SDN/blob/master/Controller/Ryu/README.md)\r\n    * [Ryu SDN 指南 – Pengfei Ni](https://feisky.gitbooks.io/sdn/sdn/ryu.html)\r\n    * [OpenFlow 通訊協定](https://osrg.github.io/ryu-book/zh_tw/html/openflow_protocol.html)\r\n* **Python**\r\n    * [Python 2.7.15 Standard Library](https://docs.python.org/2/library/index.html)\r\n    * [Python Tutorial - Tutorialspoint](https://www.tutorialspoint.com/python/)\r\n* **Others**\r\n    * [Cheat Sheet of Markdown Syntax](https://www.markdownguide.org/cheat-sheet)\r\n    * [Vim Tutorial – Tutorialspoint](https://www.tutorialspoint.com/vim/index.htm)\r\n    * [鳥哥的 Linux 私房菜 – 第九章、vim 程式編輯器](http://linux.vbird.org/linux_basic/0310vi.php)\r\n\r\n---\r\n## Contributor\r\n\r\n* [David Lu](https://github.com/yungshenglu)\r\n\r\n---\r\n## License\r\n\r\n[GNU GENERAL PUBLIC LICENSE Version 3](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidyslu%2FRoute_Configuration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidyslu%2FRoute_Configuration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidyslu%2FRoute_Configuration/lists"}