Skip to content

qbox/cni-plugin

 
 

Repository files navigation

Build Status Slack Status IRC Channel

Calico Networking for CNI

Note that the documentation in this repo is targeted at Calico contributors.

Documentation for Calico users is here:
http://docs.projectcalico.org

This repository contains the Project Calico network plugin for CNI. This plugin allows you to use Calico networking for any orchestrator which makes use of the [CNI networking specification][cni].

This repository includes a top-level CNI networking plugin, as well as a CNI IPAM plugin which makes use of Calico IPAM.

To learn more about CNI, visit the [appc/cni][cni] repo.

Building the plugins and running tests

To build the Calico Networking Plugin for CNI locally, clone this repository and run make. This will build both CNI plugin binaries and run the tests. This requires a recent version of Docker.

  • To just build the binaries, with no tests, run make binary. This will produce dist/calico and dist/calico-ipam.
  • To only run the tests, simply run make test.
  • To run a non-containerized build (i.e. not inside a docker container) you need to have Go 1.7+ and glide installed. [cni]: https://github.com/appc/cni

Analytics

Packages

No packages published

Languages

  • Go 84.7%
  • Makefile 9.7%
  • Shell 3.5%
  • Python 2.1%