{"id":15481835,"url":"https://github.com/esaum10/clusternet","last_synced_at":"2026-05-06T10:37:43.459Z","repository":{"id":60863867,"uuid":"543308221","full_name":"EsauM10/clusternet","owner":"EsauM10","description":"This project extends the Containernet emulation environment to span the emulation across several physical machines.","archived":false,"fork":false,"pushed_at":"2025-10-26T00:12:41.000Z","size":103,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-26T02:31:17.759Z","etag":null,"topics":["containernet","docker","grafana","mininet","openflow","prometheus"],"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/EsauM10.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-09-29T20:31:13.000Z","updated_at":"2025-10-18T13:31:39.000Z","dependencies_parsed_at":"2024-01-12T17:35:40.240Z","dependency_job_id":"a39d2038-7033-4619-8165-1297cb1f9701","html_url":"https://github.com/EsauM10/clusternet","commit_stats":{"total_commits":101,"total_committers":2,"mean_commits":50.5,"dds":0.09900990099009899,"last_synced_commit":"8a52e1335c591f7afef1948ffc17de0ea98aea8d"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/EsauM10/clusternet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EsauM10%2Fclusternet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EsauM10%2Fclusternet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EsauM10%2Fclusternet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EsauM10%2Fclusternet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EsauM10","download_url":"https://codeload.github.com/EsauM10/clusternet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EsauM10%2Fclusternet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32689410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["containernet","docker","grafana","mininet","openflow","prometheus"],"created_at":"2024-10-02T05:06:32.717Z","updated_at":"2026-05-06T10:37:43.443Z","avatar_url":"https://github.com/EsauM10.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://img.shields.io/badge/python-3.8+-blue.svg)\n![](https://img.shields.io/badge/Ubuntu-20.04-orange.svg)\n# Clusternet\n\nThis project extends the [Containernet](https://github.com/containernet/containernet) emulation environment to span the emulation across several physical machines.\n\n## Dependencies\n- [Containernet](https://github.com/containernet/containernet) (Use the Option 1 installation)\n## Install\n\n```\nsudo pip install -U git+https://github.com/EsauM10/clusternet.git\n```\n\n## Usage\nRun a Worker in a machine with:\n```\nsudo RunWorker -p=5000\n```\nChoose a machine to run an Openflow Controller with:\n```\ncontroller -v ptcp=6633\n```\nAnd then, create a topoly and save to a file.\n```python\nfrom clusternet.client import RemoteWorker\n\nworker = RemoteWorker(ip='192.168.0.152', port=5000)\n\ntry:\n    worker.add_controller('c0', ip='192.168.0.152', port=6633)\n    worker.add_switch('s1')\n    d1 = worker.add_docker(name='d1', ip='10.0.0.1', dimage='ubuntu:trusty')\n    d2 = worker.add_docker(name='d2', ip='10.0.0.2', dimage='ubuntu:trusty')\n\n    worker.add_link('d1', 's1')\n    worker.add_link('d2', 's1')\n\n    worker.start()\n    worker.run_pingall()\n    \n    print(d1.cmd('ifconfig'))\n    print(d2.cmd(f'ping -c 4 {d1.get_ip()}'))\n\nexcept Exception as ex:\n    print(ex)\nfinally:\n    worker.stop()\n```\nThis example runs one worker and the Openflow Controller in the same machine, make sure the IP addresses and ports are configured correctly and run it with:\n```\nsudo python3 topology.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesaum10%2Fclusternet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesaum10%2Fclusternet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesaum10%2Fclusternet/lists"}