summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Eugene Yakubovich [Mon, 13 Jul 2015 22:41:02 +0000 (15:41 -0700)]
enable net.ipv4.ip_forward in plugins that need it
Jonathan Boulle [Wed, 8 Jul 2015 19:18:54 +0000 (12:18 -0700)]
Merge pull request #30 from zenlinTechnofreak/master
Fix environment bug,version of golang should be 1.4+, add reminding i…
zenlin [Tue, 7 Jul 2015 05:08:32 +0000 (13:08 +0800)]
Fix environment bug,version of golang should be 1.4+, add reminding in Readme.md
Eugene Yakubovich [Mon, 15 Jun 2015 23:08:01 +0000 (16:08 -0700)]
Merge pull request #22 from eyakubovich/netns-err
dhcp: don't swallow err from netns switch
Eugene Yakubovich [Mon, 15 Jun 2015 18:32:33 +0000 (11:32 -0700)]
dhcp: don't swallow err from netns switch
Eugene Yakubovich [Mon, 15 Jun 2015 19:46:40 +0000 (12:46 -0700)]
Merge pull request #24 from eyakubovich/dhcp-abs-path
dhcp: make netns path absolute prior to RPC
Eugene Yakubovich [Mon, 15 Jun 2015 19:45:09 +0000 (12:45 -0700)]
Merge pull request #25 from eyakubovich/dhcp-timeout
dhcp: decrease read timeout and clamp backoff
Eugene Yakubovich [Mon, 15 Jun 2015 19:31:07 +0000 (12:31 -0700)]
dhcp: make netns path absolute prior to RPC
The dhcp daemon may be running with a different cwd
and so the netns paths need to be absolute. This patch
also refactors the code to pull out the common, RPC
parts, out into a separate function.
Eugene Yakubovich [Mon, 15 Jun 2015 19:40:34 +0000 (12:40 -0700)]
dhcp: decrease read timeout and clamp backoff
Eugene Yakubovich [Fri, 12 Jun 2015 23:29:58 +0000 (16:29 -0700)]
Merge pull request #21 from eyakubovich/no-path-rewrite
No more path rewriting
Eugene Yakubovich [Fri, 12 Jun 2015 19:15:11 +0000 (12:15 -0700)]
No more path rewriting
Path rewriting causes too many problems when vendoring
vendored code. When CNI code is vendored into rkt,
godep has problems code already vendored by CNI.
Eugene Yakubovich [Thu, 11 Jun 2015 22:39:53 +0000 (15:39 -0700)]
Merge pull request #20 from eyakubovich/flannel
add flannel plugin
Eugene Yakubovich [Mon, 1 Jun 2015 23:58:43 +0000 (16:58 -0700)]
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.
Jonathan Boulle [Thu, 11 Jun 2015 17:37:37 +0000 (10:37 -0700)]
Merge pull request #19 from eyakubovich/err-handling
Propagate json error object to the caller
Eugene Yakubovich [Tue, 2 Jun 2015 00:34:00 +0000 (17:34 -0700)]
Propagate json error object to the caller
When plugin errors out, it prints out a JSON object to stdout
describing the failure. This object needs to be propagated out
through the plugins and to the container runtime. This change
also adds Print method to both the result and error structs
for easy serialization to stdout.
Eugene Yakubovich [Fri, 22 May 2015 01:18:58 +0000 (18:18 -0700)]
Merge pull request #13 from eyakubovich/dhcp
DHCP plugin
Eugene Yakubovich [Tue, 19 May 2015 19:02:41 +0000 (12:02 -0700)]
add DHCP IPAM plugin
The plugin binary actually functions in two modes. The first mode
is a regular CNI plugin. The second mode (when stared with "daemon" arg)
runs a DHCP client daemon. When executed as a CNI plugin, it issues
an RPC request to the daemon for actual processing. The daemon is
required since a DHCP lease needs to be maintained by periodically
renewing it. One instance of the daemon can server arbitrary number
of containers/leases.
Eugene Yakubovich [Tue, 19 May 2015 18:55:06 +0000 (11:55 -0700)]
macvlan and ipvlan: rename tmp iface name prior to calling IPAM
Eugene Yakubovich [Tue, 19 May 2015 18:53:41 +0000 (11:53 -0700)]
fix bridge to call IPAM after link creation
Eugene Yakubovich [Tue, 19 May 2015 18:49:13 +0000 (11:49 -0700)]
vendoring sys/unix, go-systemd, dhcp libraries
Eugene Yakubovich [Mon, 11 May 2015 19:18:08 +0000 (12:18 -0700)]
Merge pull request #12 from eyakubovich/git-ignore
adding .gitignore
Eugene Yakubovich [Mon, 11 May 2015 18:12:24 +0000 (11:12 -0700)]
adding .gitignore
Eugene Yakubovich [Fri, 8 May 2015 22:08:03 +0000 (15:08 -0700)]
Merge pull request #9 from eyakubovich/errors
report errors via JSON
Eugene Yakubovich [Thu, 30 Apr 2015 00:52:41 +0000 (17:52 -0700)]
report errors via JSON
This reflects the latest SPEC draft.
Eugene Yakubovich [Fri, 8 May 2015 22:02:56 +0000 (15:02 -0700)]
Merge pull request #11 from eyakubovich/nspath
Do not use netns as ID or for entropy
Eugene Yakubovich [Tue, 5 May 2015 20:35:20 +0000 (13:35 -0700)]
Do not use netns as ID or for entropy
ContainerID is now required so use that
or generate random bytes.
Fixes #5
Eugene Yakubovich [Tue, 5 May 2015 21:41:38 +0000 (14:41 -0700)]
Merge pull request #2 from jonboulle/master
*: first cut at SPEC and README
Eugene Yakubovich [Tue, 5 May 2015 20:35:11 +0000 (13:35 -0700)]
Merge pull request #8 from steveeJ/ipvlan
plugins: add ipvlan main plugin
Stefan Junker [Sun, 3 May 2015 06:18:03 +0000 (23:18 -0700)]
plugins: add ipvlan main plugin
Add the ipvlan main plugin which is heavily based on the macvlan plugin.
Availabile modes for this plugin are l2 and l3, wheres l2 has the higher
compatibility due to support for multicast and broadcasts. L2 has therefore been
chosen as the default mode.
See the official docs at
https://www.kernel.org/doc/Documentation/networking/ipvlan.txt
for more information.
Fixes #6.
Eugene Yakubovich [Wed, 29 Apr 2015 03:50:02 +0000 (20:50 -0700)]
spec: incorporate feedback
Jonathan Boulle [Mon, 20 Apr 2015 19:21:55 +0000 (12:21 -0700)]
SPEC: wording tweak
Eugene Yakubovich [Mon, 20 Apr 2015 19:12:05 +0000 (12:12 -0700)]
wording fixes
Jonathan Boulle [Thu, 16 Apr 2015 00:07:46 +0000 (17:07 -0700)]
*: first cut at SPEC and README
Eugene Yakubovich [Wed, 15 Apr 2015 22:35:02 +0000 (15:35 -0700)]
Add plugin code
This adds basic plugins.
"main" types: veth, bridge, macvlan
"ipam" type: host-local
The code has been ported over from github.com/coreos/rkt project
and adapted to fit the CNI spec.
Jonathan Boulle [Sun, 5 Apr 2015 03:35:49 +0000 (20:35 -0700)]
Initial commit