{"id":13509644,"url":"https://github.com/contiv/netplugin","last_synced_at":"2025-04-12T22:37:15.335Z","repository":{"id":24936009,"uuid":"28353322","full_name":"contiv/netplugin","owner":"contiv","description":"Container networking for various use cases","archived":false,"fork":false,"pushed_at":"2023-09-19T02:09:16.000Z","size":34519,"stargazers_count":516,"open_issues_count":151,"forks_count":180,"subscribers_count":91,"default_branch":"master","last_synced_at":"2025-04-04T02:06:55.019Z","etag":null,"topics":["container-networking","containers","docker","docker-plugin","kubernetes-networking","networking"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/contiv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":"GOVERNANCE.md","roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-12-22T18:45:21.000Z","updated_at":"2025-03-25T14:04:29.000Z","dependencies_parsed_at":"2024-06-18T20:11:30.972Z","dependency_job_id":null,"html_url":"https://github.com/contiv/netplugin","commit_stats":{"total_commits":1404,"total_committers":69,"mean_commits":"20.347826086956523","dds":0.8831908831908832,"last_synced_commit":"965773066d2b8ebed3514979949061a03d46fd20"},"previous_names":[],"tags_count":139,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contiv%2Fnetplugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contiv%2Fnetplugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contiv%2Fnetplugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contiv%2Fnetplugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/contiv","download_url":"https://codeload.github.com/contiv/netplugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248643006,"owners_count":21138353,"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":["container-networking","containers","docker","docker-plugin","kubernetes-networking","networking"],"created_at":"2024-08-01T02:01:10.891Z","updated_at":"2025-04-12T22:37:15.306Z","avatar_url":"https://github.com/contiv.png","language":"Go","readme":"[![Build Status](https://contiv-ci.ngrok.io/job/Netplugin%20Push%20Build%20Master/badge/icon)](https://contiv-ci.ngrok.io/job/Netplugin%20Push%20Build%20Master/) \n[![Go Report Card](https://goreportcard.com/badge/github.com/contiv/netplugin)](https://goreportcard.com/report/github.com/contiv/netplugin)\n\n## Netplugin\n\nGeneric network plugin is designed to handle networking use\ncases in clustered multi-host systems. It is specifically designed to handle:\n\n- Multi-tenant environment where disjoint networks are offered to containers on the same host\n- SDN applications and interoperability with SDN solutions\n- Interoperability with non container environment and hand-off to a physical network\n- Instantiating policies/ACL/QoS associated with containers\n- Multicast or multi-destination dependent applications\n- Integration with existing IPAM tools for migrating customers\n- Handle NIC's capabilities for acceleration (SRIOV/Offload/etc.)\n\n### Documentation\nFull, comprehensive documentation is available on the website:\n\nhttp://docs.contiv.io\n\nGetting-started videos are available on [YouTube](https://www.youtube.com/watch?v=KzansAxCBQE\u0026list=PL2k86RlAekM_g6csRwSRQAWvln5SmgicN).\n\n### Getting Started\n\nThis will provide you with a minimal experience of uploading the intent and\nseeing the netplugin system act on it. It will create a network on your host\nthat lives behind an OVS bridge and has its own unique interfaces.\n\n#### Step 1: Clone the project and bringup the VMs\n\nNote: if you have $GOPATH set, then please ensure either you unset GOPATH,\nor clone the tree in `$GOPATH/src/github.com/contiv/` location\n\n```\n$ git clone https://github.com/contiv/netplugin\n$ cd netplugin; make demo\n$ vagrant ssh netplugin-node1\n```\n\nOptionally, variables can be passed to Makefile if needed. For example, to\nuse 4 GB memory and 2 CPUs for the vagrant VMs, run:\n\n```\nCONTIV_MEMORY=4096 CONTIV_CPUS=2 make demo\n```\n\nCONTIV_MEMORY and CONTIV_CPUS are set to 2048 and 4 as the default values\nrespectively.\n\n#### Step 2: Create a network\n\n```\n$ netctl net create contiv-net --subnet=20.1.1.0/24\n\tor\nnetctl net create contiv-net --subnet=20.1.1.0/24 --subnetv6=2001::/100 \n```\n\n#### Step 3: Run your containers and enjoy the networking!\n\n```\n$ docker run -itd --name=web --net=contiv-net alpine /bin/sh\n$ docker run -itd --name=db --net=contiv-net alpine /bin/sh\n$ docker exec -it web /bin/sh\n\u003c inside the container \u003e\nroot@f90e7fd409c4:/# ping db\nPING db (20.1.1.3) 56(84) bytes of data.\n64 bytes from db (20.1.1.3): icmp_seq=1 ttl=64 time=0.658 ms\n64 bytes from db (20.1.1.3): icmp_seq=2 ttl=64 time=0.103 ms\n```\n\n\n### Building and Testing\n\n**Note:** Vagrant 1.7.4 and VirtualBox 5.0+ are required to build and test netplugin.\n\nHigh level `make` targets:\n\n* `demo`: start three VM demo cluster for development or testing.\n* `build`: build the binary in a VM and download it to the host.\n* `unit-test`: run the unit tests. Specify `CONTIV_NODE_OS=centos` to test on centos instead of ubuntu.\n* `system-test`: run the networking/\"sanity\" tests. Specify `CONTIV_NODE_OS=centos` to test on centos instead of ubuntu.\n\n\n### How to Contribute\nPatches and contributions are welcome, please hit the GitHub page to open an\nissue or to submit patches send pull requests. Please sign your commits, and\nread [CONTRIBUTING.md](.github/CONTRIBUTING.md)\n","funding_links":[],"categories":["Go","networking"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontiv%2Fnetplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontiv%2Fnetplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontiv%2Fnetplugin/lists"}