{"id":16333010,"url":"https://github.com/davidyslu/Network_Topology","last_synced_at":"2025-08-29T11:30:48.556Z","repository":{"id":93934271,"uuid":"158079829","full_name":"yungshenglu/Network_Topology","owner":"yungshenglu","description":"Lab in NCTU course \"Introduction to Computer Networks 2018\"","archived":false,"fork":false,"pushed_at":"2019-01-23T03:31:44.000Z","size":2980,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-13T23:07:36.403Z","etag":null,"topics":["iperf","mininet","python","topology"],"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-11-18T12:08:53.000Z","updated_at":"2022-04-09T14:08:50.000Z","dependencies_parsed_at":"2023-04-10T07:33:01.165Z","dependency_job_id":null,"html_url":"https://github.com/yungshenglu/Network_Topology","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%2FNetwork_Topology","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yungshenglu%2FNetwork_Topology/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yungshenglu%2FNetwork_Topology/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yungshenglu%2FNetwork_Topology/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yungshenglu","download_url":"https://codeload.github.com/yungshenglu/Network_Topology/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","topology"],"created_at":"2024-10-10T23:34:03.920Z","updated_at":"2025-08-29T11:30:42.675Z","avatar_url":"https://github.com/yungshenglu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Network Topology with Mininet\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 which can generate a network topology using Mininet and use iPerf to measure the bandwidth of the topology.\r\n\r\n---\r\n## Objectives\r\n\r\n1. Learn how to create a network topology with Mininet\r\n2. Learn how to measure the bandwidth in your network topology with iPerf\r\n\r\n---\r\n## Overview\r\n\r\n1. We will give you a Python code (`example.py`) that includes an example network topology of Mininet\r\n2. We will get you a figure illustrating a new topology you should generate\r\n3. Copy the necessary function code from `example.py` and write your Python code (`topology.py`) to generate this topology\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 Mininet\r\n3. Topology Generator\r\n4. Measurement\r\n\r\n### File Structure\r\n\r\n```bash\r\nNetwork_Topology/               # This is ./ in this repository\r\n|--- src/                       # Folder of source code\r\n     |--- topo/                 # The figure of topology\r\n          |--- topo0.png\r\n          |--- topo1.png\r\n          |--- topo2.png\r\n     |--- expect/               # Expected result using iPerf\r\n          |--- topo0\r\n          |--- topo1\r\n          |--- topo2\r\n     |--- out/                  # Output files\r\n          |--- .gitkeep         # For keeping this folder\r\n     |--- example.py            # Example code of using Mininet\r\n     |--- topology.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* **Mininet**\r\n    * [Mininet Walkthrough](http://mininet.org/walkthrough/)\r\n    * [Introduction to Mininet](https://github.com/mininet/mininet/wiki/Introduction-to-Mininet)\r\n    * [Mininet Python API Reference Manual](http://mininet.org/api/annotated.html)\r\n    * [A Beginner's Guide to Mininet](https://opensourceforu.com/2017/04/beginners-guide-mininet/)\r\n    * [GitHub/OSE-Lab - 熟悉如何使用 Mininet](https://github.com/OSE-Lab/Learning-SDN/blob/master/Mininet/README.md)\r\n    * [菸酒生的記事本 – Mininet 筆記](https://blog.laszlo.tw/?p=81)\r\n    * [Hwchiu Learning Note – 手把手打造仿 mininet 網路](https://hwchiu.com/setup-mininet-like-environment.html)\r\n    * [阿寬的實驗室 – Mininet 指令介紹](https://ting-kuan.blog/2017/11/09/%E3%80%90mininet%E6%8C%87%E4%BB%A4%E4%BB%8B%E7%B4%B9%E3%80%91/)\r\n    * [Mininet 學習指南](https://www.sdnlab.com/11495.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    * [iPerf3 User Documentation](https://iperf.fr/iperf-doc.php#3doc)\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%2FNetwork_Topology","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidyslu%2FNetwork_Topology","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidyslu%2FNetwork_Topology/lists"}