2018-12-07 21:39:45 +00:00
|
|
|
[](https://travis-ci.org/containernetworking/plugins)
|
2017-07-05 18:49:07 +00:00
|
|
|
|
2017-03-10 15:46:52 +00:00
|
|
|
# plugins
|
2017-05-15 17:07:19 +00:00
|
|
|
Some CNI network plugins, maintained by the containernetworking team. For more information, see the individual READMEs.
|
2017-03-13 17:05:55 +00:00
|
|
|
|
2018-07-04 14:40:24 +00:00
|
|
|
Read [CONTRIBUTING](CONTRIBUTING.md) for build and test instructions.
|
|
|
|
|
2017-03-13 17:05:55 +00:00
|
|
|
## Plugins supplied:
|
2017-05-15 17:07:19 +00:00
|
|
|
### Main: interface-creating
|
|
|
|
* `bridge`: Creates a bridge, adds the host and the container to it.
|
2018-07-11 15:59:09 +00:00
|
|
|
* `ipvlan`: Adds an [ipvlan](https://www.kernel.org/doc/Documentation/networking/ipvlan.txt) interface in the container.
|
|
|
|
* `loopback`: Set the state of loopback interface to up.
|
|
|
|
* `macvlan`: Creates a new MAC address, forwards all traffic to that to the container.
|
2017-05-15 17:07:19 +00:00
|
|
|
* `ptp`: Creates a veth pair.
|
|
|
|
* `vlan`: Allocates a vlan device.
|
2018-10-18 02:20:52 +00:00
|
|
|
* `host-device`: Move an already-existing device into a container.
|
2018-08-23 08:52:41 +00:00
|
|
|
#### Windows: windows specific
|
|
|
|
* `win-bridge`: Creates a bridge, adds the host and the container to it.
|
|
|
|
* `win-overlay`: Creates an overlay interface to the container.
|
2017-05-15 17:07:19 +00:00
|
|
|
### IPAM: IP address allocation
|
|
|
|
* `dhcp`: Runs a daemon on the host to make DHCP requests on behalf of the container
|
2018-05-15 17:15:32 +00:00
|
|
|
* `host-local`: Maintains a local database of allocated IPs
|
2018-12-03 06:35:19 +00:00
|
|
|
* `static`: Allocate a static IPv4/IPv6 addresses to container and it's useful in debugging purpose.
|
2017-05-15 17:07:19 +00:00
|
|
|
|
|
|
|
### Meta: other plugins
|
2018-05-15 17:15:32 +00:00
|
|
|
* `flannel`: Generates an interface corresponding to a flannel config file
|
2017-05-15 17:07:19 +00:00
|
|
|
* `tuning`: Tweaks sysctl parameters of an existing interface
|
2017-05-26 15:50:13 +00:00
|
|
|
* `portmap`: An iptables-based portmapping plugin. Maps ports from the host's address space to the container.
|
2018-05-15 17:15:32 +00:00
|
|
|
* `bandwidth`: Allows bandwidth-limiting through use of traffic control tbf (ingress/egress).
|
2018-10-01 13:12:33 +00:00
|
|
|
* `sbr`: A plugin that configures source based routing for an interface (from which it is chained).
|
2017-03-13 17:05:55 +00:00
|
|
|
|
|
|
|
### Sample
|
2017-05-15 17:07:19 +00:00
|
|
|
The sample plugin provides an example for building your own plugin.
|