{"id":19244175,"url":"https://github.com/oferchen/tunnel_manager","last_synced_at":"2025-06-17T01:36:27.926Z","repository":{"id":205110764,"uuid":"713450259","full_name":"oferchen/tunnel_manager","owner":"oferchen","description":"Tunnel Manager is a Python/Golang script that allows you to create and manage tunnels between two network bridges. It simplifies the process of setting up VXLAN/GENEVE tunnels for virtual network overlays.","archived":false,"fork":false,"pushed_at":"2024-03-26T20:49:53.000Z","size":89,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T19:45:14.895Z","etag":null,"topics":["brctl","bridges","cli-app","configuration","geneve","interface","ip","ipv4","ipv6","linux","management","networking","python3","tunnel","tunneling","vxlan"],"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/oferchen.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":"2023-11-02T14:45:16.000Z","updated_at":"2024-12-16T18:26:02.000Z","dependencies_parsed_at":"2024-11-09T17:22:46.064Z","dependency_job_id":"4e08abe9-702f-4b99-86fe-0fed87e7c8e3","html_url":"https://github.com/oferchen/tunnel_manager","commit_stats":null,"previous_names":["oferchen/vxlan_manager","oferchen/tunnel_manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oferchen/tunnel_manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oferchen%2Ftunnel_manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oferchen%2Ftunnel_manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oferchen%2Ftunnel_manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oferchen%2Ftunnel_manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oferchen","download_url":"https://codeload.github.com/oferchen/tunnel_manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oferchen%2Ftunnel_manager/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260272611,"owners_count":22984352,"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":["brctl","bridges","cli-app","configuration","geneve","interface","ip","ipv4","ipv6","linux","management","networking","python3","tunnel","tunneling","vxlan"],"created_at":"2024-11-09T17:22:16.108Z","updated_at":"2025-06-17T01:36:27.896Z","avatar_url":"https://github.com/oferchen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tunnel Manager\n\nTunnel Manager is a Python/Golang script for managing VXLAN and GENEVE tunnel interfaces between bridges.\n\n## Features\n\n- Create and manage VXLAN and GENEVE tunnel interfaces.\n- Validate connectivity between tunnel endpoints.\n- List all tunnel interfaces with various output formats.\n\n## Prerequisites\n\nBefore using Tunnel Manager, ensure you have the following prerequisites installed and available on your system:\n\n- Python 3.x\n- The `ip` command-line tool (for creating and managing tunnel interfaces)\n- The `brctl` command-line tool (optional, for managing bridges)\n\n## Installation\n\n1. Clone this repository to your local machine:\n\n   ```bash\n   git clone https://github.com/yourusername/tunnel-manager.git\n   cd tunnel-manager\n   ```\n\n# Tunnel Manager\n\nThe Tunnel Manager is a Python script for managing VXLAN and GENEVE tunnels between bridges. It provides functionality for creating, cleaning up, validating, and listing tunnel interfaces.\n\n## Features\n\n- Supports both VXLAN and GENEVE tunnel types.\n- Create and manage tunnel interfaces between bridges.\n- Validate connectivity between source and destination hosts.\n- List existing tunnel interfaces.\n\n## Prerequisites\n\nBefore using the Tunnel Manager, ensure you have the following prerequisites installed:\n\n- Python 3\n- Required Python packages (can be installed via pip):\n  - argparse\n  - csv\n  - io\n  - json\n  - logging\n  - re\n  - shutil\n  - socket\n  - subprocess\n  - sys\n  - enum\n  - typing\n  - xml.etree.ElementTree (standard library)\n  - yaml\n\n## Usage\n\n```bash\npython tunnel_manager.py [OPTIONS] COMMAND [ARGS]...\n\nOptions:\n  --tunnel-type [vxlan|geneve]\n                                  Type of tunnel to create (default: vxlan)\n  -h, --help                      Show this message and exit\n\nCommands:\n  create    Create a tunnel interface\n  cleanup   Cleanup a tunnel interface\n  validate  Validate connectivity of a tunnel interface\n  list      List all tunnel interfaces\n\n```\n\n## Actions\n\n*  create    Create a tunnel interface\n*  cleanup   Cleanup a tunnel interface\n*  validate  Validate connectivity of a tunnel interface\n*  list      List all tunnel interfaces\n\n## Examples\n\n### Create a VXLAN tunnel interface:\n```\npython tunnel_manager.py --tunnel-type vxlan create --vni 100 --src-host 10.0.0.1 --dst-host 10.0.0.2 --bridge-name br0\n```\n\n### Cleanup a VXLAN tunnel interface:\n```\npython tunnel_manager.py --tunnel-type vxlan cleanup --vni 100 --bridge-name br0\n```\n\n### Validate connectivity of a GENEVE tunnel interface:\n```\npython tunnel_manager.py --tunnel-type geneve validate --src-host 10.0.0.1 --dst-host 10.0.0.2 --vni 200 --port 6081\n```\n\n### List all tunnel interfaces in JSON format:\n```\npython tunnel_manager.py --tunnel-type vxlan list --format json\n```\n\n## Contributing\nContributions are welcome! If you have suggestions, feature requests, or want to report issues, please create an issue or submit a pull request.\n\n## License\nThis project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.\n\n## Author\nOfer Chen\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foferchen%2Ftunnel_manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foferchen%2Ftunnel_manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foferchen%2Ftunnel_manager/lists"}