MaiWJ b56ca2fe45 Windows Support
Patch for https://github.com/containernetworking/plugins/pull/85

+ Windows cni plugins are added
   (*) win-bridge (hostgw)
   (*) win-overlay (vxlan)
+ Windows netconf unit test
+ Fix appveyor config to run the test
+ Build release support for windows plugins

Address comments

From:
    - https://github.com/containernetworking/plugins/pull/85
    - 0049c64e3f
2018-09-21 00:34:07 +08:00
..
2018-09-21 00:34:07 +08:00
2018-09-21 00:34:07 +08:00
2018-09-21 00:34:07 +08:00

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 Flannel
  • ipam (dictionary, required): IPAM configuration to be used for this network.