{"id":13440169,"url":"https://github.com/mininet/mininet","last_synced_at":"2025-05-14T03:05:44.722Z","repository":{"id":38441070,"uuid":"1646466","full_name":"mininet/mininet","owner":"mininet","description":"Emulator for rapid prototyping of Software Defined Networks","archived":false,"fork":false,"pushed_at":"2024-07-09T13:25:31.000Z","size":3374,"stargazers_count":5530,"open_issues_count":375,"forks_count":1775,"subscribers_count":279,"default_branch":"master","last_synced_at":"2025-04-09T02:12:45.619Z","etag":null,"topics":["emulator","linux","mininet","network-namespaces","openflow","python","sdn"],"latest_commit_sha":null,"homepage":"https://mininet.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mininet.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":"2011-04-21T17:46:06.000Z","updated_at":"2025-04-08T23:14:18.000Z","dependencies_parsed_at":"2023-01-21T13:03:10.572Z","dependency_job_id":"2ff0dafe-a994-4128-b1c3-20e86fc28617","html_url":"https://github.com/mininet/mininet","commit_stats":{"total_commits":1853,"total_committers":86,"mean_commits":"21.546511627906977","dds":"0.33135456017269294","last_synced_commit":"6eb8973c0bfd13c25c244a3871130c5e36b5fbd7"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mininet%2Fmininet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mininet%2Fmininet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mininet%2Fmininet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mininet%2Fmininet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mininet","download_url":"https://codeload.github.com/mininet/mininet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254059498,"owners_count":22007768,"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":["emulator","linux","mininet","network-namespaces","openflow","python","sdn"],"created_at":"2024-07-31T03:01:20.373Z","updated_at":"2025-05-14T03:05:44.689Z","avatar_url":"https://github.com/mininet.png","language":"Python","readme":"Mininet: Rapid Prototyping for Software Defined Networks\n========================================================\n*The best way to emulate almost any network on your laptop!*\n\nMininet 2.3.1b4\n\n[![Build Status][1]](https://github.com/mininet/mininet/actions)\n\n\n### What is Mininet?\n\nMininet emulates a complete network of hosts, links, and switches\non a single machine.  To create a sample two-host, one-switch network,\njust run:\n\n  `sudo mn`\n\nMininet is useful for interactive development, testing, and demos,\nespecially those using OpenFlow and SDN.  OpenFlow-based network\ncontrollers prototyped in Mininet can usually be transferred to\nhardware with minimal changes for full line-rate execution.\n\n### How does it work?\n\nMininet creates virtual networks using process-based virtualization\nand network namespaces - features that are available in recent Linux\nkernels.  In Mininet, hosts are emulated as `bash` processes running in\na network namespace, so any code that would normally run on a Linux\nserver (like a web server or client program) should run just fine\nwithin a Mininet \"Host\".  The Mininet \"Host\" will have its own private\nnetwork interface and can only see its own processes.  Switches in\nMininet are software-based switches like Open vSwitch or the OpenFlow\nreference switch.  Links are virtual ethernet pairs, which live in the\nLinux kernel and connect our emulated switches to emulated hosts\n(processes).\n\n### Features\n\nMininet includes:\n\n* A command-line launcher (`mn`) to instantiate networks.\n\n* A handy Python API for creating networks of varying sizes and\n  topologies.\n\n* Examples (in the `examples/` directory) to help you get started.\n\n* Full API documentation via Python `help()` docstrings, as well as\n  the ability to generate PDF/HTML documentation with `make doc`.\n\n* Parametrized topologies (`Topo` subclasses) using the Mininet\n  object.  For example, a tree network may be created with the\n  command:\n\n  `mn --topo tree,depth=2,fanout=3`\n\n* A command-line interface (`CLI` class) which provides useful\n  diagnostic commands (like `iperf` and `ping`), as well as the\n  ability to run a command to a node. For example,\n\n  `mininet\u003e h11 ifconfig -a`\n\n  tells host h11 to run the command `ifconfig -a`\n\n* A \"cleanup\" command to get rid of junk (interfaces, processes, files\n  in /tmp, etc.) which might be left around by Mininet or Linux. Try\n  this if things stop working!\n\n  `mn -c`\n\n### Python 3 Support\n\n- Mininet 2.3.1b4 supports Python 3 and Python 2\n\n- You can install both the Python 3 and Python 2 versions of\nMininet side by side, but the most recent installation will\ndetermine which Python version is used by default by `mn`.\n\n- You can run `mn` directly with Python 2 or Python 3,\n  as long as the appropriate version of Mininet is installed,\n  e.g.\n\n      $ sudo python2 `which mn`\n\n- More information regarding Python 3 and Python 2 support\n  may be found in the release notes on http://docs.mininet.org.\n\n### Other Enhancements and Information\n\n- Support for Ubuntu 22.04 LTS (and 20.04)\n\n- More reliable testing and CI via github actions\n\n- Preliminary support for cgroups v2 (and v1)\n\n- Minor bug fixes (2.3.1)\n\n- Additional information about this release and previous releases\n  may be found in the release notes on http://docs.mininet.org.\n\n### Installation\n\nSee `INSTALL` for installation instructions and details.\n\n### Documentation\n\nIn addition to the API documentation (`make doc`), much useful\ninformation, including a Mininet walkthrough and an introduction\nto the Python API, is available on the\n[Mininet Web Site](http://mininet.org).\nThere is also a wiki which you are encouraged to read and to\ncontribute to, particularly the Frequently Asked Questions\n(FAQ) at http://faq.mininet.org.\n\n### Support\n\nMininet is community-supported. We encourage you to join the\nMininet mailing list, `mininet-discuss` at:\n\n\u003chttps://mailman.stanford.edu/mailman/listinfo/mininet-discuss\u003e\n\n### Join Us\n\nThanks again to all of the Mininet contributors and users!\n\nMininet is an open source project and is currently hosted\nat \u003chttps://github.com/mininet\u003e. You are encouraged to download,\nexamine, and modify the code, and to submit bug reports, bug fixes,\nfeature requests, new features, and other issues and pull requests.\nThanks to everyone who has contributed code to the Mininet project\n(see CONTRIBUTORS for more info!) It is because of everyone's\nhard work that Mininet continues to grow and improve.\n\n### Enjoy Mininet\n\nHave fun! We look forward to seeing what you will do with Mininet\nto change the networking world.\n\nBob Lantz,\non behalf of the Mininet Contributors\n\n[1]: https://github.com/mininet/mininet/workflows/mininet-tests/badge.svg\n","funding_links":[],"categories":["HarmonyOS","Python","Network Virtualization","网络虚拟化","网络可视化和 SDN","sdn","Network Virtualization [🔝](#readme)"],"sub_categories":["Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmininet%2Fmininet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmininet%2Fmininet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmininet%2Fmininet/lists"}