
Move the windows plugin to use the Host Compute (v2) APIs, as well as clean-up the code. Allows win-bridge to use either the old API or Host Compute (v2) api depending on a conf parameter. Fixes a leaked endpoint issue on windows for the v1 flow, and removes the hns/pkg from the linux test run.
win-overlay plugin
Overview
With win-overlay plugin, all containers (on the same host) are plugged into an Overlay network based on VXLAN encapsulation.
Example configuration
{
"name": "mynet",
"type": "win-overlay",
"ipMasq": true,
"endpointMacPrefix": "0E-2A",
"ipam": {
"type": "host-local",
"subnet": "10.10.0.0/16"
}
}
Network configuration reference
name
(string, required): the name of the network.type
(string, required): "win-overlay".ipMasq
(bool, optional): the inverse of$FLANNEL_IPMASQ
, setup NAT for the hnsNetwork subnet.endpointMacPrefix
(string, optional): set to the MAC prefix configured for Flannelipam
(dictionary, required): IPAM configuration to be used for this network.