add flannel plugin
authorEugene Yakubovich <eugene.yakubovich@coreos.com>
Mon, 1 Jun 2015 23:58:43 +0000 (16:58 -0700)
committerEugene Yakubovich <eugene.yakubovich@coreos.com>
Thu, 11 Jun 2015 22:37:58 +0000 (15:37 -0700)
commit78daffc4796f8dc140f614bc96a4fbc1a1a2fd9d
treeb8acf5d688746fa26316af20ac66f136df5f1dbe
parentab83df2ebfadedfcd5ef90ae744cc9a8dfa8163d
add flannel plugin

This introduces a notion of a "meta" plugin. A meta plugin
is one that delegates the actual work of setting up the interface
to the main plugin. The meta plugin is used to select and dynamically
configure the main plugin. The sequence of events, is as follows:

Given netconf like:

    {
"name": "mynet",
"type": "flannel",
"delegate": {
    "type": "bridge"
}
    }

flannel fills in values like "mtu", "ipam.subnet" and delegates to
"bridge" main plugin. "bridge" plugin will operate as usual, calling
into ipam module for IP assignment.

Delegate dictionary should not contain "name" field as it will be
filled in by the flannel plugin.
Documentation/flannel.md [new file with mode: 0644]
README.md
build
plugins/meta/flannel/flannel.go [new file with mode: 0644]