cni

Container Network Interface - networking for Linux containers

APACHE-2.0 License

Stars
5.5K
Committers
170

Bot releases are hidden (Show)

cni - v0.4.0

Published by tomdee almost 8 years ago

This release rolls up a large number of PRs, with a focus on testing, bug fixing and a few spec changes (a new VERSION command and an optional args field)

This release corresponds to version 0.2.0 of the CNI Spec.

The following PRs have been merged since v0.3.0

Testing

#345 travis: roll forward the versions of Go that we test
#314 plugins/noop: return a helpful message for test authors
#328 noop plugin: support multiple CNI_ARGS
#270 Add integration tests of libcni
#269 Refactor skel with dependency injection
#263 plugins/main/ptp: add functional tests
#264 Add Vagrantfile, document how to run test suite in a vagrant VM
#307 testing: test invocation of newer plugins with an older libcni
#308 skel tests: correct name of CNI_CONTAINERID in tests of env vars
#301 A test verifies that libcni is backwards compatible with legacy plugins
#296 Plugins validate cniVersion of NetConf
#298 host-local: fix allocation of last address in a /30
#293 Backfill tests for plugin execution

Docs

#340 Fix README.md host-local IPAM range start/end typo
#312 Add slack badge and link
#311 Update ipvlan.md
#305 Add link to Infoblox IPAM plugin
#304 docs/ptp: fix markdown formatting
#302 3rd party plugins belong in their own repos
#299 List cilium as 3rd party plugin
#295 readme: update link to CloudFoundry usage of CNI
#272 README: distinguish between runtimes and plugins

Spec changes

#247 SPEC: introduce "args" field and new error code
#267 Adds VERSION command
#287 Plugins report a list of supported versions

host local

#115 ipam/host-local: Move allocator and config to backend
#341 host-local: trim whitespace from container IDs and disk file contents
#327 host-local: add DataDir IPAM conf option and use it for testcases
#277 ipam/host-local/allocator tests: cover requested IP
#294 Fix handling of host-local IP address ranges
#334 ipam/host-local: add ResolvConf argument for DNS configuration

Other

#344 all: assert internal objects implement interfaces
#335 libcni conf: support .json file extension
#322 Allow flannel CNI plugin stateDir to be configurable
#330 Expand description of goroutine+netns problems
#324 ipvlan: Support L3-Symmetric mode
#290 Fixed the check for network namespace path.
#241 Add arm64 and ppc64le as new platforms
#273 Reconfigure bridge IP address
#274 Update of netlink version
#291 pkg/ip: Ensure that SetupVeth returns correct hostVeth
#280 pkg/ip: Return correct error if container name provided exists, and test cases
#254 pkg/ipam: IP based macaddr
#240 pkg/types: unmarshal string tests
#238 pkg/types: Add UnmarshallableString type

For detailed list of all changes, see here https://github.com/containernetworking/cni/compare/v0.3.0...v0.4.0

The binaries are signed using the same key for the verified tag that this release was created from (gpg --keyserver pgp.mit.edu --recv-keys 0C8CBCA03F1ABFB4) and can be verified using find -name '*.sig' -exec gpg --verify {} \;

cni - v0.3.0

Published by tomdee over 8 years ago

PRs added since 0.2.3

Code

Namespace handling

#176 ns: fix reading net namespace in multi-threaded processes
#231 pkg/ns: introduce error types indicate NS verification
#227 pkg/ns: consider PROCFS during NS verification
#222 pkg/ns: verify netns when initialized with GetNS
#223 pkg/ns: don't allow operations after Close()

Plugins

#50 bridge: add isDefaultGateway field
#199 bridge: leave TX queue length as kernel default, not 0
#175 add support to set hairpin mode for bridge plugin
#205 plugins/{ptp,bridge}: teardown first
#177 Macvlan arp proxy
#230 plugins: don't require CNI_NETNS for DEL command

Tests

#182 Document use of goroutine and LockOSThread in test helpers
#211 Fix namespace switch issues and add ipvlan, macvlan, and bridge e2e testing
#181 Extract and improve test helpers

Tooling

#217 build: don't be verbose / test: fix bash variable escaping in sudo command
#178 travis: don't go get vet

Documentaion

Technical

#218 Add ROADMAP document
#219 docs: details on PR acceptance policy
#189 Remove reference to policy on accepting PRs
#212 docs: Mention license headers and doc contributions

Meta

#239 MAINTAINERS: remove @zachgersh, add @dcbw
#201 MAINTAINERS: add Tom Denham and Gabe Rosenhouse
#228 Added Mesos to CNI users.
#200 Simplify README preamble
#180 README: add some more introductory material
#197 Add Contiv to CNI supported networking
#186 README: clarify what CNI is

Misc

#173 *: add missing license headers + check
#198 *: appc/cni -> containernetworking/cni

For detailed list of all changes, see here https://github.com/containernetworking/cni/compare/v0.2.3...v0.3.0

cni - v0.2.2

Published by jonboulle over 8 years ago

cni - v0.2.0

Published by jonboulle over 8 years ago