plugins.git
8 years agoMerge pull request #419 from asridharan/cnitool
Gabe Rosenhouse [Fri, 7 Apr 2017 17:20:07 +0000 (10:20 -0700)]
Merge pull request #419 from asridharan/cnitool

Added documentation for `cnitool`

8 years agoDocumentation: Added documentation for `cnitool`.
Avinash Sridharan [Thu, 30 Mar 2017 22:28:36 +0000 (22:28 +0000)]
Documentation: Added documentation for `cnitool`.

Added documentation to simplify the usage of `cnitool` and the
settings expected to be used with `cnitool`.

8 years agospec/plugins: fix 'ip'->'ips' in the spec, bump to 0.3.1
Dan Williams [Wed, 22 Mar 2017 19:21:53 +0000 (14:21 -0500)]
spec/plugins: fix 'ip'->'ips' in the spec, bump to 0.3.1

8 years agoMinor rewording about default config version
Casey Callendrello [Tue, 28 Feb 2017 18:44:25 +0000 (19:44 +0100)]
Minor rewording about default config version

8 years agodocs: table formatting is hard
Gabe Rosenhouse [Mon, 27 Feb 2017 15:57:00 +0000 (07:57 -0800)]
docs: table formatting is hard

8 years agodocs: fill-out and correct version conversion table
Gabe Rosenhouse [Mon, 27 Feb 2017 15:53:09 +0000 (07:53 -0800)]
docs: fill-out and correct version conversion table

8 years agodocs: minor improvements to spec-upgrades
Gabe Rosenhouse [Mon, 27 Feb 2017 15:11:04 +0000 (07:11 -0800)]
docs: minor improvements to spec-upgrades

8 years agodocs: add small upgrade instructions
Casey Callendrello [Mon, 27 Feb 2017 13:57:31 +0000 (14:57 +0100)]
docs: add small upgrade instructions

8 years agodocs: minor improvements to 0.3.0 upgrade guidance
Casey Callendrello [Mon, 27 Feb 2017 13:27:56 +0000 (14:27 +0100)]
docs: minor improvements to 0.3.0 upgrade guidance

8 years agodocs: Edits to v0.3.0 upgrade guidance
Gabe Rosenhouse [Mon, 27 Feb 2017 00:53:52 +0000 (16:53 -0800)]
docs: Edits to v0.3.0 upgrade guidance

8 years agodocs: CNI versioning for 0.3.0 upgrade
Dan Williams [Sun, 26 Feb 2017 21:26:14 +0000 (13:26 -0800)]
docs: CNI versioning for 0.3.0 upgrade

8 years agodocs: consolidate host-local documentation
Gabe Rosenhouse [Wed, 15 Feb 2017 23:18:25 +0000 (15:18 -0800)]
docs: consolidate host-local documentation

- remove the README.md in the plugins/ipam/host-local (no other plugin
  has this)
- merge that info into the main Documentation/host-local.md

8 years agoipam/host-local: add ResolvConf argument for DNS configuration
Casey Callendrello [Mon, 21 Nov 2016 18:05:41 +0000 (19:05 +0100)]
ipam/host-local: add ResolvConf argument for DNS configuration

This adds the option `resolvConf` to the host-local IPAM configuration.
If specified, the plugin will try to parse the file as a resolv.conf(5)
type file and return it in the DNS response.

9 years agoflannel: rename stateDir to dataDir
Mark St.Godard [Thu, 17 Nov 2016 21:54:29 +0000 (15:54 -0600)]
flannel: rename stateDir to dataDir

Rename StateDir to DataDir for flannel CNI plugin

9 years agoflannel: update flannel documentation
Mark St.Godard [Wed, 9 Nov 2016 15:34:35 +0000 (09:34 -0600)]
flannel: update flannel documentation

add optional 'stateDir' to flannel docs

9 years agoUpdate ipvlan.md
Kuralamudhan Ramakrishnan [Sun, 23 Oct 2016 22:18:44 +0000 (23:18 +0100)]
Update ipvlan.md

invalid json format

9 years agodocs/ptp: fix markdown formatting
Dan Peterson [Mon, 10 Oct 2016 00:22:27 +0000 (21:22 -0300)]
docs/ptp: fix markdown formatting

9 years agoMerge pull request #267 from rosenhouse/version-cmd
Tom Denham [Fri, 12 Aug 2016 22:06:22 +0000 (15:06 -0700)]
Merge pull request #267 from rosenhouse/version-cmd

Adds VERSION command

9 years agodocumentation: add description for forceAddress parameter
Lukasz Zajaczkowski [Mon, 1 Aug 2016 10:53:46 +0000 (12:53 +0200)]
documentation: add description for forceAddress parameter

9 years agodocs: fix tuning doc, correct the result json
Gabe Rosenhouse [Thu, 21 Jul 2016 20:03:58 +0000 (13:03 -0700)]
docs: fix tuning doc, correct the result json

it does not report the version, it never did

9 years agobridge: add isDefaultGateway field
Stefan Junker [Fri, 4 Sep 2015 20:23:43 +0000 (22:23 +0200)]
bridge: add isDefaultGateway field

When isDefaultGateway is true it automatically sets isGateway to true.
The default route will be added via the (bridge's) gateway IP.
If a default gateway has been configured via IPAM in the same
configuration file, the plugin will error out.

9 years agoMerge pull request #175.
Stefan Junker [Thu, 19 May 2016 10:07:30 +0000 (12:07 +0200)]
Merge pull request #175.

9 years agoplugins/bridge: add support to set hairpin mode
Minhan Xia [Tue, 5 Apr 2016 17:50:28 +0000 (10:50 -0700)]
plugins/bridge: add support to set hairpin mode

9 years ago*: appc/cni -> containernetworking/cni
Stefan Junker [Wed, 4 May 2016 14:06:05 +0000 (16:06 +0200)]
*: appc/cni -> containernetworking/cni

The project has been moved so internally we simply rename everything.
Consumers are recommended to update their vendored version of cni.

9 years ago*: appc/cni -> containernetworking/cni
Stefan Junker [Wed, 4 May 2016 14:06:05 +0000 (16:06 +0200)]
*: appc/cni -> containernetworking/cni

The project has been moved so internally we simply rename everything.
Consumers are recommended to update their vendored version of cni.

9 years agonew plugin: tuning
Alban Crequy [Mon, 8 Feb 2016 22:28:15 +0000 (23:28 +0100)]
new plugin: tuning

Allow users to tune net network parameters such as somaxconn.

With this patch, users can add a new network configuration:

> {
>   "name": "mytuning",
>   "type": "tuning",
>   "sysctl": {
>           "net.core.somaxconn": "500"
>   }
> }

The value /proc/sys/net/core/somaxconn will be set to 500 in the network
namespace but will remain unchanged on the host.

Only sysctl parameters that belong to the network subsystem can be
modified.

Related to: https://github.com/coreos/rkt/pull/2140

9 years agodocs/ptp: update example and DNS description
Stefan Junker [Wed, 27 Jan 2016 11:10:53 +0000 (12:10 +0100)]
docs/ptp: update example and DNS description

9 years ago*: add "dns" field to the configuration
Alban Crequy [Tue, 26 Jan 2016 17:54:56 +0000 (18:54 +0100)]
*: add "dns" field to the configuration

appc/cni#76 added a "dns" field in the result JSON. But before this
patch, the plugins had no way of knowing which name server to return.

There could be two ways of knowing which name server to return:
1. add it as an extra argument ("CNI_ARGS")
2. add it in the network configuration as a convenience (received via
   stdin)

I chose the second way because it is easier. In the case of rkt, it
means the user could just add the DNS name servers in
/etc/rkt/net.d/mynetwork.conf.

10 years agoflannel: doc fix and check for missing subnet.env fields
Eugene Yakubovich [Wed, 7 Oct 2015 22:11:54 +0000 (15:11 -0700)]
flannel: doc fix and check for missing subnet.env fields

- Document that flannel outputs FLANNEL_NETWORK b/c we use it
- Check and error out if expecited fields are missing in subnetEnv file

Fixes #72

10 years agoupdate ptp docs to reflect changes in plugin
Stefan Junker [Wed, 23 Sep 2015 20:11:25 +0000 (22:11 +0200)]
update ptp docs to reflect changes in plugin

10 years agohost-local: allow ip request via CNI_ARGS
Stefan Junker [Sun, 16 Aug 2015 00:30:04 +0000 (02:30 +0200)]
host-local: allow ip request via CNI_ARGS

A specific IP can now be requested via the environment variable CNI_ARGS, e.g.
`CNI_ARGS=ip=1.2.3.4`.
The plugin will try to reserve the specified IP.
If this is not successful the execution will fail.

10 years agoFix a few spelling mistakes in the docs
Alex Chan [Thu, 20 Aug 2015 15:41:25 +0000 (16:41 +0100)]
Fix a few spelling mistakes in the docs

10 years agoMerge pull request #34 from eyakubovich/document-plugins
Eugene Yakubovich [Wed, 22 Jul 2015 16:02:39 +0000 (09:02 -0700)]
Merge pull request #34 from eyakubovich/document-plugins

Document the plugins

10 years agoRename veth plugin to ptp and add docs.
Eugene Yakubovich [Fri, 10 Jul 2015 19:18:25 +0000 (12:18 -0700)]
Rename veth plugin to ptp and add docs.

ptp (point-to-point) better describes the nature of the plugin
as veth pairs are also used by the bridge plugin.

10 years agoDocument the plugins
Eugene Yakubovich [Fri, 10 Jul 2015 19:48:36 +0000 (12:48 -0700)]
Document the plugins

Adds a .md file to the Documentation/ folder for each plugin.

Fixes #16

10 years agoadd 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.